-
Notifications
You must be signed in to change notification settings - Fork 557
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
Allow querying traces by span instrumentation "Library Name" #3500
Comments
We have defined this in the language: but have yet to implement it. Currently all of our internal efforts are focused on delivering adhoc metrics from traces, but we do intend to add this eventually. We would also accept an external contribution for this, but it might be difficult. We have had external TraceQL additions before but they require quite a deep dive. Here's an example: |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
Based on my reading of https://github.com/grafana/tempo/blob/7961fb746daeea8f274db3e8ebbcac78b74f05b8/docs/design-proposals/2023-11%20TraceQL%20Extensions.md#instrumentation-scope, #3967 implements this. |
the PR #3967 that implements this feature is now merged 👍 |
Is your feature request related to a problem? Please describe.
I'm trying to find traces with spans created by specific library name.
Describe the solution you'd like
TraceQL query should support finding traces that have spans with specific library name. For example, smth like following pseudocode:
to match traces similar to the example screenshot from Grafana:

When exporting the example trace to JSON (from Grafana), then it looks like following:
Additional context
If it would be possible to find traces based on instrumentation library name, i could figure out the traces that are used for specific service (without looking at its code) to understand what instrumentation libraries could be disabled (to speed up application startup time that is super-slow when using auto-instrumentation for nodejs applications)
The text was updated successfully, but these errors were encountered: