Skip to content

Tempo-query: improve performance of FindTraces - #4159

Merged
mdisibio merged 5 commits into
grafana:mainfrom
pavolloffay:tempo-query-find-traces-jobs
Oct 9, 2024
Merged

Tempo-query: improve performance of FindTraces#4159
mdisibio merged 5 commits into
grafana:mainfrom
pavolloffay:tempo-query-find-traces-jobs

Conversation

@pavolloffay

@pavolloffay pavolloffay commented Oct 4, 2024

Copy link
Copy Markdown
Contributor

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 Oct 4, 2024
Comment thread cmd/tempo-query/tempo/plugin.go Outdated
Comment thread cmd/tempo-query/tempo/plugin.go Outdated
Comment thread cmd/tempo-query/tempo/plugin.go Outdated
Comment thread cmd/tempo-query/tempo/plugin.go
Comment thread cmd/tempo-query/tempo/plugin.go Outdated
@pavolloffay
pavolloffay force-pushed the tempo-query-find-traces-jobs branch from c99ac19 to 1d25a2c Compare October 4, 2024 14:46
Comment thread cmd/tempo-query/tempo/plugin.go Outdated

@mdisibio mdisibio left a comment

Copy link
Copy Markdown
Contributor

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
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Tempo-query: improve performance of FindTraces

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Changelog

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

* Fix

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>

---------

Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants