Skip to content
New issue

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

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

Already on GitHub? # to your account

Tempo-query: improve performance of FindTraces #4159

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

pavolloffay
Copy link
Contributor

@pavolloffay pavolloffay commented Oct 4, 2024

What this PR does:

Improves performance for tempo query for searching traces. There is a new configuration option to submit multiple gettracebyid requests from a search.

Uses can scale up queriers and get faster queries. A single querier can process 20 queries https://grafana.com/docs/tempo/latest/operations/backend_search/#querier-and-query-frontend-configuration

Tested with TempoStack on OCP. Image pavolloffay/tempo-query:concurrency-main-15

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pavolloffay pavolloffay force-pushed the tempo-query-find-traces-jobs branch from ef236c1 to 1d25a2c Compare October 4, 2024 11:59
@pavolloffay pavolloffay changed the title Tempo query find traces jobs Tempo-query: improve performance of FindTraces Oct 4, 2024
@pavolloffay pavolloffay force-pushed the tempo-query-find-traces-jobs branch from c99ac19 to 1d25a2c Compare October 4, 2024 14:46
Copy link
Contributor

@mdisibio mdisibio left a comment

Choose a reason for hiding this comment

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

lgtm. Let's add a changelog entry and then merge.

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
@pavolloffay pavolloffay force-pushed the tempo-query-find-traces-jobs branch from f1396e8 to 68b5f7c Compare October 9, 2024 09:48
@mdisibio mdisibio merged commit 1de25ca into grafana:main Oct 9, 2024
16 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants