Skip to content

Add semver version to api/status/buildinfo endpoint #3811

@joey-grafana

Description

@joey-grafana

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.

Additional context
Screenshot 2024-06-26 at 09 27 28
Screenshot 2024-06-26 at 09 27 32

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions