Scripted Dashboards for Graphite

感情迁移 提交于 2019-12-24 04:23:15

问题


I am trying to generate dashboards for some metrics using graphite. Ideally, if i would like to display metrics such as CPU usage, Memory, and log statistics stored in graphite whisper DB. Is there any tool (and documentation) such as kibana3 which supports scripted dash-boards. Thanks


回答1:


Try Grafana (http://grafana.org) it is based on Kibana.




回答2:


Generated graphs can be configured and saved in the following ways-

1. Dashboard

The dashboard can be accessed at- http://graphite-url/dashboard. Once you display the graph(s), you can configure the size, lineMode, etc. Once done, save the dashboard by going to dashboard -> save as.

2. Composer 

While installing graphite webapp, the django user auth details can be used to log into the webapp. Once logged in, every graph will have a save icon on the top-left of the composer window. Saved graphs will be saved under user-graphs, under the metric-tree.

3. Render endpoint

If by 'scripting' you meant content, than rendering, use the render URL endpoint. Generate the required url by script and do something like- http://graphite-host/composer/&target=a.b.c&target=d.*.e.f




回答3:


Not sure if this is what you mean but for example using the graph-explorer graphite dashboard you can go to "/dashboard/server-basics/insert_hostname_here" and it will server graphs (cpu, memory, diskspace) for the given hostname. you can change the dashboards or add more to do the same things for other metrics.

edit: this does assume that the plugins that it uses were able to parse your metrics.



来源:https://stackoverflow.com/questions/20234817/scripted-dashboards-for-graphite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!