signoz icon indicating copy to clipboard operation
signoz copied to clipboard

Show SigNoz system status within the dashboards/UI

Open pranay01 opened this issue 2 years ago • 8 comments

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.

pranay01 avatar Mar 05 '22 18:03 pranay01

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

pranay01 avatar Mar 07 '22 04:03 pranay01

Possible design

Screenshot 2022-03-07 at 10 38 43 AM

pranay01 avatar Mar 07 '22 05:03 pranay01

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.

prashant-shahi avatar Mar 07 '22 09:03 prashant-shahi

We can create a section with system status and guide to upgrade. Design iterations

base selected

pranay01 avatar Mar 07 '22 15:03 pranay01

Build only for showing version info first

pranay01 avatar Mar 08 '22 06:03 pranay01

@pranay01 would need error and loading state in the sidebar

palashgdev avatar Mar 08 '22 06:03 palashgdev

As client can directly use

curl -s https://api.github.com/repos/signoz/signoz/releases/latest | jq .tag_name

"v0.7.1"

palashgdev avatar Mar 08 '22 09:03 palashgdev

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

Figma File

Screenshot 2022-06-22 at 2 20 44 PM

pranay01 avatar Jun 22 '22 08:06 pranay01