Statistics Export via InfluxDB: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 29: Line 29:
|-
|-
|System Load Statistics
|System Load Statistics
|
|system
|Save the system load, memory load and packet ingress load in percentage
|Save the system load, memory load, packet ingress load and statistics-availability.
|-
|-
|Global Counters
|Global Counters
Line 73: Line 73:
|-
|-
|Ring Buffer Usage Statistics
|Ring Buffer Usage Statistics
|system-ring-buffer
|system
|Save the Ring Buffer Usage in bytes
|Save the Ring Buffer Usage in bytes
|}
|}


==InfluxDB & Grafana setup example with docker-compose==
==InfluxDB & Grafana setup example with docker-compose==
* create the docker-compose.yml
<pre>
<pre>
version: '3.6'
version: '3.6'
Line 125: Line 123:
</pre>
</pre>


* create a empty grafana.ini file
# create the docker-compose.yml
* run docker-compose up -d
# create a empty grafana.ini file
# run docker-compose up -d
# Login to the influxDB (Load Data -> API Token).
# Create at read API token for grafana and a write API token for the Allegro Network Multimeter.
# Login the Allegro Network Multimeter
# Setup the Influx Export (Settings -> Remote access & export -> Influx Export)
# Login to grafana
# Add a new Data Source from the type InfluxDB (Settings -> Data sources)
#* Query Language: Flux
#* URl: http://influxdb:8086
#* Auth: none
#* InfluxDB Details
#** Organization: your Organization from the docker-compose file
#** Token: your grafana read token
#** Default Bucket:  your Bucket from the docker-compose file
#* Save & Test
# Create a new Dashboard (Dashboard -> new Dashboard)
# Create a new Panel and add a flux query (you can generate simple querys in the Date Explorer of the InfluxDB)

Navigation menu