-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana Cloud Tempo: Default Start Time view for traces in Tempo does not order by most recent #3109
Comments
Hi @liamoddell. Tempo search is non-deterministic, which means that Tempo will return the first results that it finds, without a preference to more recent traces. Related issue: #2476 |
I'd like to move towards deterministic search. We did not at first because search was slow. Parquet search is much faster now. That plus the streaming endpoint makes me think we can go to deterministic. Also, for future questions I'd consider using support. This is kind of a generic question so it's easy to answer, but if your question was specific to your instance it would be easier to answer through that channel. |
I think this is not very intuitive behavior and borders on being a bug. With logs, you see the most recent logs first and the expectation is that its the same with Tempo. But with the current behaviour makes it seem like the trace ingestion stopped because we are seeing quite old traces. This is even worse with explore view because it opens with a default |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
I can give it a try. |
@mghildiy I am currently in the middle of a frontend rewrite/refactor. Now is not a great time to make changes there. One of the goals of the refactor is to make adding functionality such as this easier. |
Was this ever resolved? |
It has not been, but I intend to tackle it as part of the refactor I'm working on now: |
Hey @joe-elliott, is there any further updates on this issue at all? |
Unfortunately, I was unable to address this while working on the refactor. Perhaps as TraceQL metrics wind down I will find time to revisit. |
We are considering moving over to tempo from jaeger and we ran into this unexpected behaviour as well. Like others have mentioned it makes it quite confusing, is it something planned to be done in the upcoming days, weeks, quaters? |
I am working on this now. I have a refactor PR up that is step 1: |
Describe the bug
Using the Tempo data sources view within Explore on Grafana Cloud, the Start Time of shown traces does not sort as most recent when changing timeframe. For example, if I choose the last 6 hours worth of data in Tempo and the current time is 12:47pm, the first traces we see would be from 6am or 3am that same day and not from the X number of shown traces up to the current time period.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If I sort by the last 1/2/6/12 hours, the first traces that show should be the most recent without having to manually sort by StartTime.
Environment:
Additional Context
The text was updated successfully, but these errors were encountered: