-
Notifications
You must be signed in to change notification settings - Fork 611
Description
Is your feature request related to a problem? Please describe.
isFeatureAvailable is used in the Tempo front end to check if features should be made available in the UI based on which version of Tempo is running.
The function above (in the link) returns something like “r154-0b3d297” but for semver to work it needs to be something like “2.5.1”
This means that the function above always returns true so it is possible this would enable streaming in an environment where an old version of Tempo is being used.
Describe the solution you'd like
To return a semver string from the api/status/buildinfo
endpoint.
Having this semver string would also allow us to check if other features are available and cleans up the code/makes it more resilient on the frontend.
Describe alternatives you've considered
Removing the function above and simply running a streaming query for example and if it fails then falling back to a non-streaming query.