Skip to content
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

Fix SNO dashboard API strucure change. #29

Merged
merged 2 commits into from
Jul 23, 2020
Merged

Conversation

JeromeGillard
Copy link
Contributor

This should address #28
Some one please test as I got a divergent local copy of my Grafana dashboard.

Not retrocopatible change, for both bandwidth and disk space metrics. A quickfix is to add new queries to both graphs with old fields (i.e. data_bandwidth_used).

Also, bandwidth_available can be disabled as it has been deprecated.

Comment on lines +250 to +251
"curl -s 127.0.0.1:14002/api/sno", # Open SNO API by mapping ports when running your SNO docker instance
"curl -s 127.0.0.1:14003/api/sno" # If multiple nodes, map ports accordingly

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

URL should end with a / or curl needs the -L to follow redirects.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can confirm this

@gsxryan gsxryan merged commit 4780a35 into gsxryan:master Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants