-
Notifications
You must be signed in to change notification settings - Fork 482
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
Extend /status to better serve frontends #2387
Comments
I was thinking of something similar, just two thoughts: 1. Should we bundle public APIs under
|
One of the main use cases I can think of right now is for checking if the current version of Tempo supports a particular API. For example, being able to ping the status endpoint to see if the current version of Tempo supports v1 of the tags API We could then cache the result in the front end and use it to decide which version of the API to call on subsequent requests. There are other features of course that exist on the front end which are enabled contingent on which version of Tempo the user is running. |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
We have discussed internally and would like to add a new endpoint at :
This endpoint should return the same json object that Loki does:
The values returned should be retrieved from here: Adding "good first issue" and "help wanted" tags to see if there are any takers. |
I can have a look at it, since it is needed by the Traces and Profiling squad! |
All you @fabrizio-grafana. Please let me know if you have any questions. |
Is your feature request related to a problem? Please describe.
A frontend, like say Grafana, may interact with many different versions of Tempo. It would be nice to extend the
/status
endpoint so that a frontend could dynamically detect the feature set of Tempo and react accordingly.The status endpoint is "ok" at doing this. You can currently ask for the version:
And for the config to see what feature flags are enabled:
Neither of these are great, but you can technically use them to determine what feature set Tempo has. Also note that the config is only true for the component that was polled. So if a feature flag were enabled only on an ingester then requesting config from the query frontend would not show this.
Inviting @grafana/observability-traces-and-profiling to comment on what they would want from an extension to the /status endpoint to better detect the feature set of Tempo.
The text was updated successfully, but these errors were encountered: