Metric for current number of live traces in ingester

Hi. I occasionally hit the limit of live traces per user in my ingester, but without a metric telling me its current value, and fluctuations it is difficult to know how to tune the the max_traces_per_user config value. Is this metric something that could be added?

That’s a good idea. I feel like we’ve discussed that before internally, but haven’t taken the time to add. Do you mind creating an issue on GitHub - grafana/tempo: Grafana Tempo is a high volume, minimal dependency distributed tracing backend. so we can track the request?

Oh, to reduce this issue, I’d also recommend lowering trace_idle_period and flush_check_period:

I think we do 5s each internally.

I created this issue: https://github.com/grafana/tempo/issues/1120