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
Dashboard: Data source picker doesn't show tracing data sources #41976
Comments
@ivanahuckova maybe tempo data source is missing metrics: true property in plugin.json (this signals to Grafana that it implements the query function and is not just an annotation data source). This is a bit of a legacy distinction now that annotation queries can also be implemented using main query method |
@torkelo I'll implement |
@ivanahuckova there is no plan, as we still have data sources that does not implement metrics query function, but maybe it should default to true? |
I am not sure, but it seems non-intuitive to add |
@torkelo What's your thoughts on how to continue with this? I agree with how Alternatively, should we add Otherwise, I think we just do nothing and continue with |
Yeah I guess here are my thoughts on this: #41974 (comment) Basically thinking about these matadata on data source as "what capabilities does a data source have". So metric=true for me means it can query something that returns time series data. This may be important for things like linking trace data source to logging data source, where we want to offer only trace data sources. There is no specific contract or API that needs to be supported but this gives at least some hint for these kinds of usecases. |
What happened:
Data source picker doesn't show tracing data sources in main selection:
To use tracing data source, you have to choose
mixed
data sources and then pick tracing one.We should show all available data sources, not just the metrics ones. We also have now different visualisations for non-metrics data - node graph, logs panel,...
Here - the datasource picker has
metrics
check: https://github.com/grafana/grafana/blob/main/public/app/features/query/components/QueryGroup.tsx#L184-L190The text was updated successfully, but these errors were encountered: