Links

Grafana Integration

Grafana is an open source platform for data visualization, monitoring and analysis. You may integrate this software with the Monitoring as a Service for more convenient use.
  1. 1.
    Go to the API reference
  2. 2.
    Install grafana
  3. 3.
    Generate the first token
  4. 4.
    curl -uusername:password https://api.ionos.com/auth/v1/tokens/generate or -n if you use netrc
  5. 5.
    It is also possible to query the metrics using curl:

Add data source to Grafana

  • Login to Grafana
  • Configuration (on the left side)
  • Data source

Data source

Custom HTTP Headers
Header: Authorization Value: Bearer eyJ0eXAiOiJK....
HTTP Method: POST
Save & Test
  • Go to Explore (on the left side)
  • Choose the new Data source
  • In the Metrics Browser, write instance
  • Choose one of the metrics
  • Run query
You can query on these metrics now:
series whitelist:
- instance_cpu_utilization_average
- instance_network_in_packets
- instance_network_out_bytes
- instance_network_in_bytes
- instance_network_out_packets
- instance_volumes_read_bytes
- instance_volumes_write_bytes
- instance_volumes_read_ops
- instance_volumes_write_ops