docs: document Tempo HTTP API and Grafana Traces Drilldown#195
Open
vshulakov-sh wants to merge 1 commit into
Open
docs: document Tempo HTTP API and Grafana Traces Drilldown#195vshulakov-sh wants to merge 1 commit into
vshulakov-sh wants to merge 1 commit into
Conversation
Closes VictoriaMetrics#191. Add a "Tempo HTTP API" section to the querying docs covering the supported endpoints, the versions they were introduced in, and how each works (search, tag/value auto-completion, trace-by-id, TraceQL metrics). Expand the Grafana Tempo datasource doc with cluster URL guidance and a Traces Drilldown setup section linking to the relevant endpoints.
Contributor
There was a problem hiding this comment.
1 issue found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/victoriatraces/querying/README.md">
<violation number="1" location="docs/victoriatraces/querying/README.md:260">
P2: The example claims to query traces 'over the last hour' but omits `start` and `end` parameters. Per the documented defaults, omitting these parameters searches only the last 10 minutes, creating a mismatch between the example description and actual behavior.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
| - `start`, `end`: the time range boundaries as Unix timestamps. When omitted, the last 10 minutes are used. | ||
| - `limit`: the maximum number of traces to return, clamped to the `[0, 1000]` range. Default `100`. | ||
|
|
||
| For example, to find traces of the `frontend` service with status `error` over the last hour: |
Contributor
There was a problem hiding this comment.
P2: The example claims to query traces 'over the last hour' but omits start and end parameters. Per the documented defaults, omitting these parameters searches only the last 10 minutes, creating a mismatch between the example description and actual behavior.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At docs/victoriatraces/querying/README.md, line 260:
<comment>The example claims to query traces 'over the last hour' but omits `start` and `end` parameters. Per the documented defaults, omitting these parameters searches only the last 10 minutes, creating a mismatch between the example description and actual behavior.</comment>
<file context>
@@ -221,6 +221,101 @@ Some valid filter examples:
+- `start`, `end`: the time range boundaries as Unix timestamps. When omitted, the last 10 minutes are used.
+- `limit`: the maximum number of traces to return, clamped to the `[0, 1000]` range. Default `100`.
+
+For example, to find traces of the `frontend` service with status `error` over the last hour:
+
+```sh
</file context>
Suggested change
| For example, to find traces of the `frontend` service with status `error` over the last hour: | |
| +For example, to find traces of the `frontend` service with status `error` over the last 10 minutes: |
jiekun
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe Your Changes
Closes #191.
Since v0.9.0 VictoriaTraces extended its Tempo API / TraceQL support, enabling the Grafana Tempo datasource and the Grafana Traces Drilldown feature, but this was not yet documented. This PR documents it:
/select/tempo/*endpoints, the version each was introduced in, and how they work — trace search (TraceQL), tag/value auto-completion, trace-by-id (v1 & v2), and TraceQL metrics — withcurlexamples and the TraceQL → LogsQL attribute mapping.Docs only — no code or behavior changes.
Checklist
The following checks are mandatory: