-
Notifications
You must be signed in to change notification settings - Fork 522
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
[DOC] Add doc for filter_server_spans and update TraceQL metrics config doc #4139
Comments
Original context from the community Tempo Slack channel: TraceQL metrics queries feature (introduced in 2.4) working even with the simplest possible query like {} | rate() as mentioned by
There was no reference to additional configuration needed for this feature neither in 2.4 release notes nor upgrade instructions, but i found Configure TraceQL metrics page, and i activated loacl-blocks processor based on this documentation and configured the processor exactly like documented here, but I still see the same error (as seen in the screenshot). First part of the error (error finding generators in Querier.queryRangeRecent:) comes from these lines, and empty ring part of the error from these lines. Server logs don't contain any additional information that could help me in this case (found 2 lines from querier and 2 lines from query-frontend). |
Update the local-blocks processor config Update this page - https://grafana.com/docs/tempo/latest/operations/traceql-metrics/#activate-and-configure-the-local-blocks-processor That doc uses deprecated override configuration format (that would fail Tempo startup if rest of the conf is using new format), but i changed it according to 2.6 release notes (Operational change for TraceQL metrics). You can check the endpoint in any of your tempo services - /status/config and then check the overrides section to see if the config has been applied. Should see something like this:
can also check (Marty) Tempo metrics-generator server-side can have most of the functionality turned off. All you need for traceql metrics queriers |
Also from Ats: thanks for that link. I had seen it and I had previously applied everything except "For historical data" conf part, that i missed somehow, as i followed quite similar instructions on Configure TraceQL metrics page, that has additional conf block:
but that page didn't mention
from the page you linked to. I added it now as well, but i have to say that it seems to me that |
thanks @knylander-grafana for converting this into an issue! Perhaps you can update this comment to avoid confusion, based on following points:
should be between the two code blocks, but it was combined into one when pasting from Slack to GH issue |
This is how it works for us:
|
Updated the comment. Does that look better? |
Ats Uiboupin reported an issue getting TraceQL metrics to work correctly. We should up the docs to clarify TraceQL metrics configuration.
Ats installed using tempo-distributed Helm chart.
To fix:
flush_to_storage
(notfilter_server_spans
) documentation to configuration/#metrics-generatorThe text was updated successfully, but these errors were encountered: