Skip to content

Conversation

jordan-simonovski
Copy link
Contributor

Added some more autoscaling configurations to Tempo components:

  • Metrics Generator
    • Added a HPA to the metrics generator
    • Added a KEDA scaled object to support custom metric scaling
  • Ingester
    • Added a KEDA scaled object to support custom metric scaling
  • Distributor
    • Added a KEDA scaled object to support custom metric scaling
  • Compactor
    • Updated the query example

Happy to discuss further. We've been running the metrics generator HPA in production without any issues.

The context behind adding KEDA support to the ingester and distributor is to allow for more flexible scaling on external metrics such as pipeline queue backlogs, spikes in ingestion volume, etc.

…mponents

Signed-off-by: Jordan Simonovski <jordan.simonovski@gmail.com>
@jon-rei
Copy link

jon-rei commented Oct 9, 2025

I'm currently optimising our Tempo setup and have just added KEDA to the Compactor. We are also searching for a solution to automatically scale the metrics generator. Therefore, the PR would be a great help.

I do have one remark, though: do you think it would make sense to allow the advanced configuration to be configured in the ScaledObject? This would also allow HPA behaviours to be set.

@jordan-simonovski
Copy link
Contributor Author

I'm currently optimising our Tempo setup and have just added KEDA to the Compactor. We are also searching for a solution to automatically scale the metrics generator. Therefore, the PR would be a great help.

I do have one remark, though: do you think it would make sense to allow the advanced configuration to be configured in the ScaledObject? This would also allow HPA behaviours to be set.

I'm definitely open to this if the maintainers are happy with it as an additional config.

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.

2 participants