tempo icon indicating copy to clipboard operation
tempo copied to clipboard

Search service names and tags from persistent storage

Open pavolloffay opened this issue 2 years ago • 15 comments

Is your feature request related to a problem? Please describe.

Service and tag names disappear from the drop-down after 15 minutes if they are not reported.

This is configured by complete_block_timeout which defaults to 15 minutes see https://grafana.com/docs/tempo/latest/configuration/#ingester.

Describe the solution you'd like

The service name and tags in the drop-down should be listed even if the service recently didn't report any data. The service and tags should be listed if there are present for a chosen time range.

Describe alternatives you've considered

Additional context The issue was document in https://github.com/grafana/tempo/pull/1651/

pavolloffay avatar Aug 31 '22 10:08 pavolloffay

Agree this is the goal. Without additional data structures, however, this is simply not possible with the v2 format. I'm thinking 2.1 would be a good target for this functionality.

joe-elliott avatar Aug 31 '22 15:08 joe-elliott

This issue has been automatically marked as stale because it has not had any activity in the past 60 days. The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed after 15 days if there is no new activity. Please apply keepalive label to exempt this Issue.

github-actions[bot] avatar Nov 11 '22 00:11 github-actions[bot]

Hi @joe-elliott , just wondering if this enhancement is being released with tempo v2.2.0 as I was looking in the release notes for 2.2.0 but could not find a mention of this issue.

deathsaber avatar Aug 04 '23 15:08 deathsaber

This is not included in 2.2. The code to search the backend is easy in a sense, but it will not perform at scale. We are currently investigating options.

joe-elliott avatar Aug 07 '23 12:08 joe-elliott

This issue has been automatically marked as stale because it has not had any activity in the past 60 days. The next time this stale check runs, the stale label will be removed if there is new activity. The issue will be closed after 15 days if there is no new activity. Please apply keepalive label to exempt this Issue.

github-actions[bot] avatar Oct 13 '23 00:10 github-actions[bot]

We encountered this issue recently while trying to migrate from Jaeger backend to Tempo. It's definitely a big downside of Tempo right now for us. Just curious if there is a rough ETA for this or options are still being investigated. Thanks so much, we're really excited for all Tempo has to offer!

sam-mcbr avatar Oct 20 '23 13:10 sam-mcbr

So @mapno is currently focused on making attribute search filter by other conditions. This will make the following query correctly filter span.http.path values by resource.service.name="foo". After this we were going to start looking at pulling tag values from the backend.

{ resource.service.name = "foo" && span.http.path =

There was a community attempt to pull from the backend but it's been abandoned.

joe-elliott avatar Oct 23 '23 13:10 joe-elliott

Got it, thanks for the update!

sam-mcbr avatar Oct 24 '23 15:10 sam-mcbr

I would also like to record the need for listing all service names regardless where traces are stored. We have applications that can potentially have hundreds of service names and once the trace leave the ingesters, the service names disappears from the list making searches more complicated.

We are also trying to move from Jaeger to Tempo so that we can normalize the environment with other products such as Loki and improve efficiencies. So this functionality will be needed in order to migrate.

bentqc avatar Nov 03 '23 20:11 bentqc

+1

I'd also like to point out that it would be nice if after selecting a resource name, the spans only related to that resource name, rather than all the ones in the system.

serrrios avatar Nov 27 '23 14:11 serrrios