signoz
signoz copied to clipboard
Show SigNoz system status within the dashboards/UI
Currently, SigNoz version number only appears in the Sign Up page. It is not shown within the UI anywhere after that.
It would be good to understand for users which version they are on, so that they can upgrade when new version is released or even use this to raise Github issues etc.
We should also suggest users that a new version is available if they are on older versions, so that they can access the lastest features
Possible design
suggest users that a new version is available
We can make the API call equivalent to the following command from the UI/Backend and compare the same with current version.
$ curl -s https://api.github.com/repos/signoz/signoz/releases/latest | jq .tag_name
"v0.7.1"
Also, note that the API may fail in case of a firewall blocking public internet network calls.
We can create a section with system status and guide to upgrade. Design iterations
Build only for showing version info first
@pranay01 would need error and loading state in the sidebar
As client can directly use
curl -s https://api.github.com/repos/signoz/signoz/releases/latest | jq .tag_name
"v0.7.1"
With #924 We added the status page with indication on whether the current version is outdated. We should also add the system status panel in the page - so that users can know if any of the containers are failing and take appropriate actions
