Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix2308: Add query parameter to Search API to configure spans-per-span-set in response #2474

Merged
merged 5 commits into from
May 15, 2023

Conversation

mghildiy
Copy link
Contributor

Summary of changes:

  • Add query parameter spss to API /api/search in http.go
  • set number of spans during filtering
  • Update http_test.go for new query parameter
  • Update engine_test.go
  • Update instance_search_test.go

Adds a query parameter to Search API to make spans-per-span-set in response configurable::

Which issue(s) this PR fixes:
Fixes #2308

Checklist

  • [http_test.go, engine_test.go,instance_search_test.go ] Tests updated
  • [docs/sources/tempo/api_docs/_index.md] Documentation added
  • [CHANGELOG.md] updated

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice addition! Thanks for the help.

@joe-elliott joe-elliott merged commit ae0251f into grafana:main May 15, 2023
14 checks passed
@mghildiy mghildiy deleted the fix2308CLAIssue branch May 15, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add query parameter to Search API to configure the spans per span set
2 participants