Latency in trace search #3615
-
When I use trace search to return the latest queries, they are always n minutes behind. I'd like to understand why that is. If I specify no service name, the latency is ~5 minutes (even though I only want to review results within the last 5 minutes). The screenshot was taken at 16:29 If I specify a specific service, the start time lag decreases. If I decrease the limit e.g. use the default of 20, the number of minutes we are behind increases. Helm chart info: Chart: tempo-distributed-1.8.2 Edit: Okay, if we increase these settings plus have a very high limit the latency decreases:
So could someone please explain what they're doing? As it's not clear to me. What I'd expect to happen is if I set a limit of 20 traces, it always returns the last 20 traces within the last N minutes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, I think this is an effect of how Tempo searches in a non-deterministic way. When searching it fans out horizontally and returns the first N results. Deterministic search is on our radar (see a few issues), and there is ongoing work (see this PR ) but there's no defined timeline. |
Beta Was this translation helpful? Give feedback.
Hi, I think this is an effect of how Tempo searches in a non-deterministic way. When searching it fans out horizontally and returns the first N results. Deterministic search is on our radar (see a few issues), and there is ongoing work (see this PR ) but there's no defined timeline.