Changes between Version 5 and Version 6 of GrafanaMonitoring


Ignore:
Timestamp:
Jan 23, 2020, 12:36:55 PM (3 years ago)
Author:
Ben
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GrafanaMonitoring

    v5 v6  
    1111
    1212----
    13 == Feeding Data to Grafana ==
     13== Giving Data to Graphite ==
    1414First, start Grafana and Carbon:
    1515
     
    42422. Using pickle via python:
    4343On Siqi's machine I wrote a python script /home/bkilian/work/grafanaPlotting/apollo_read.py which effectively does the same thing, writing a value to a whisper file every 60 seconds, incrementing the value each time.
     44
     45== Connecting Data to Grafana ==
     46Once the Grafana dashboard is set up, go to Grafana at port 3000 on the machine. Select Data Sources -> Add Data Source -> Graphite and name your data source. For URL, enter http://localhost:80. For Access, select Server mode. Now, you should be ready to Save & Test.
     47
     48Go to the dashboard and add a query (or edit the existing ones).
     49
     50For the data source on the query, click the edit button (the little pencil) and add the path of your .wsp file within the "whisper" folder. In our example above, /var/lib/carbon/whisper/data/test.wsp, we would enter data.test in this field. This should render the data from that whisper file onto the graph.