Bigger Graph and remove old OSDs
trexman
60 Posts
September 16, 2019, 10:48 amQuote from trexman on September 16, 2019, 10:48 amHello,
I tried to get some information out of the graph on the dashboard. Because of this I was facing two issues:
- I still see empty information about old OSD which got removed a while ago (red box). Can they be removed without loosing the other chart values?
- The "value info screen" is to small and I can't see all values (red arrows). Is there a way to make the graph bigger? (there is a lot of space on the website left)
Thanks
Hello,
I tried to get some information out of the graph on the dashboard. Because of this I was facing two issues:
- I still see empty information about old OSD which got removed a while ago (red box). Can they be removed without loosing the other chart values?
- The "value info screen" is to small and I can't see all values (red arrows). Is there a way to make the graph bigger? (there is a lot of space on the website left)
Thanks
Last edited on October 21, 2019, 11:26 am by trexman · #1
admin
2,930 Posts
September 16, 2019, 1:35 pmQuote from admin on September 16, 2019, 1:35 pmany metric that had old values will show on chart. Each metric has a 1 file within /opt/petasan/config/shared/graphite directory tree, you can delete yourself. First identify the node currently running as the stats server:
systemctl status carbon-cache
it will be running on current active stats server, on this node:
/opt/petasan/scripts/stats-stop.sh
delete un-needed metrics files
/opt/petasan/scripts/stats-start.sh
To display values in popup windows: one way is to select a couple of metrics by clicking ( ctrl + click ) on the metric name / legend on the far right, this will limit the number of graphs and popup values to the ones you select at a time
any metric that had old values will show on chart. Each metric has a 1 file within /opt/petasan/config/shared/graphite directory tree, you can delete yourself. First identify the node currently running as the stats server:
systemctl status carbon-cache
it will be running on current active stats server, on this node:
/opt/petasan/scripts/stats-stop.sh
delete un-needed metrics files
/opt/petasan/scripts/stats-start.sh
To display values in popup windows: one way is to select a couple of metrics by clicking ( ctrl + click ) on the metric name / legend on the far right, this will limit the number of graphs and popup values to the ones you select at a time
Last edited on September 16, 2019, 1:37 pm by admin · #2
trexman
60 Posts
September 17, 2019, 9:59 amQuote from trexman on September 17, 2019, 9:59 amHi.
thank you for the hints. The cleanup worked perfectly.
Would a "chart cleanup job" not a good idea for the next version? I my case I could find the files easy because of an old timestamp.
Another question:
Is there a way to export the values of a chart to CSV?
Thanks
Hi.
thank you for the hints. The cleanup worked perfectly.
Would a "chart cleanup job" not a good idea for the next version? I my case I could find the files easy because of an old timestamp.
Another question:
Is there a way to export the values of a chart to CSV?
Thanks
admin
2,930 Posts
September 17, 2019, 4:31 pmQuote from admin on September 17, 2019, 4:31 pmThanks for the hint.
you can export csv by logging in to grafana at url: stats_server_ip:3000
use the default username/password : admin / admin
On a chart go More -> Export CSV
if you want to do this grammatically you can access the graphite server to get json data, look for examples online
Thanks for the hint.
you can export csv by logging in to grafana at url: stats_server_ip:3000
use the default username/password : admin / admin
On a chart go More -> Export CSV
if you want to do this grammatically you can access the graphite server to get json data, look for examples online
Bigger Graph and remove old OSDs
trexman
60 Posts
Quote from trexman on September 16, 2019, 10:48 amHello,
I tried to get some information out of the graph on the dashboard. Because of this I was facing two issues:
- I still see empty information about old OSD which got removed a while ago (red box). Can they be removed without loosing the other chart values?
- The "value info screen" is to small and I can't see all values (red arrows). Is there a way to make the graph bigger? (there is a lot of space on the website left)
Thanks
Hello,
I tried to get some information out of the graph on the dashboard. Because of this I was facing two issues:
- I still see empty information about old OSD which got removed a while ago (red box). Can they be removed without loosing the other chart values?
- The "value info screen" is to small and I can't see all values (red arrows). Is there a way to make the graph bigger? (there is a lot of space on the website left)
Thanks
admin
2,930 Posts
Quote from admin on September 16, 2019, 1:35 pmany metric that had old values will show on chart. Each metric has a 1 file within /opt/petasan/config/shared/graphite directory tree, you can delete yourself. First identify the node currently running as the stats server:
systemctl status carbon-cache
it will be running on current active stats server, on this node:
/opt/petasan/scripts/stats-stop.sh
delete un-needed metrics files
/opt/petasan/scripts/stats-start.sh
To display values in popup windows: one way is to select a couple of metrics by clicking ( ctrl + click ) on the metric name / legend on the far right, this will limit the number of graphs and popup values to the ones you select at a time
any metric that had old values will show on chart. Each metric has a 1 file within /opt/petasan/config/shared/graphite directory tree, you can delete yourself. First identify the node currently running as the stats server:
systemctl status carbon-cache
it will be running on current active stats server, on this node:
/opt/petasan/scripts/stats-stop.sh
delete un-needed metrics files
/opt/petasan/scripts/stats-start.sh
To display values in popup windows: one way is to select a couple of metrics by clicking ( ctrl + click ) on the metric name / legend on the far right, this will limit the number of graphs and popup values to the ones you select at a time
trexman
60 Posts
Quote from trexman on September 17, 2019, 9:59 amHi.
thank you for the hints. The cleanup worked perfectly.
Would a "chart cleanup job" not a good idea for the next version? I my case I could find the files easy because of an old timestamp.Another question:
Is there a way to export the values of a chart to CSV?Thanks
Hi.
thank you for the hints. The cleanup worked perfectly.
Would a "chart cleanup job" not a good idea for the next version? I my case I could find the files easy because of an old timestamp.
Another question:
Is there a way to export the values of a chart to CSV?
Thanks
admin
2,930 Posts
Quote from admin on September 17, 2019, 4:31 pmThanks for the hint.
you can export csv by logging in to grafana at url: stats_server_ip:3000
use the default username/password : admin / admin
On a chart go More -> Export CSV
if you want to do this grammatically you can access the graphite server to get json data, look for examples online
Thanks for the hint.
you can export csv by logging in to grafana at url: stats_server_ip:3000
use the default username/password : admin / admin
On a chart go More -> Export CSV
if you want to do this grammatically you can access the graphite server to get json data, look for examples online