Tempo show all traces

Hey there,

if there is any way to see all traces with Grafana Tempo data source?

Thanks
Tom

Hi! That is not possible with Tempo. Could you clarify what you want to achieve, maybe we can solve your problem in another way? :slight_smile:

There are two alternatives I can already think of:

Automatic logging: if you ingest traces using the Grafana Agent, you can enable automatic logging. This will create a log line for every trace that is ingested + some useful tags.
If you run this for a while Loki will contain a logstream of ingested traces that you can easily search through.
Docs: Automatic logging | Grafana Labs

Recent search: Tempo v1.2 has recent search capabilities, so you can now search traces ingested in the last ~30 minutes. By default Tempo will return the 20 most recent traces, but you can increase this limit to return more traces. For each found trace Tempo will also return the name of the root span and the duration.
Docs: Tempo in Grafana | Grafana Labs

1 Like

Hi koenraad.

Thanks for the reply. I want to see all traces like Loki. Loki shows all logs from when I select a specific label. Currently, I don’t know where I can find the trace ID in a central spot. I will read your links and answer you if it fit with my problem or not.

Hi koenraad,

I’ve used the Grafana helm chart to deploy Grafana. Where should I place the setting tempoSearch?

Greetings
Tom

1 Like

Nevermind I found the place.

1 Like

Hi koenraad,

all works fine. Thanks for your help!

1 Like

Great! Let us know if you have any other questions :slight_smile:

1 Like

Can you share where you set tempoSearch in your helm chart? I am looking for this setting as well.

OK, I figured this out… Adding details here in case others have trouble putting it all together too…

In my Helm values file for my Grafana chart, I added:

grafana.ini:
  feature_toggles:
    enable: tempoSearch tempoBackendSearch

In my Tempo chart values, I added this:

tempo:
  searchEnabled: true
1 Like

Hi,
I would like to know how to do this. I see traces in distributor when I put log_spans, but whenever I search for any traces, I see 404 not found. I would like to know if the ingester has any traces at all or not and for that this feature will be important. I have installed tempo using helm. By the way I do have those features enabled… Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.