Monitoring

Telegraf

Service: telegraf.service

The telegraf service collects the monitoring metrics from the gateway and the test machines (when they run the registry.freedesktop.org/gfx-ci/ci-tron/telegraf:latest container), and send them to one or more Influxdb instance.

Configuration

The base Telegraf configuration is located at /config/telegraf.d/00-base.conf. It is created automatically at first boot, and can be modified as needed. It is however recommended to extend it with additional inputs, outputs, or other Telegraf configuration, by placing new .conf files in /config/telegraf.d/.

Example: Adding an external output

# cat /config/telegraf.d/my-influxdb.conf
[[outputs.influxdb_v2]]
  urls = ["https://influxdb.example.com:443"]
  token = "your-token-here"
  organization = "your-org"
  bucket = "your-bucket"

Then restart the telegraf service for the changes to take effect: systemctl restart telegraf

Influxdb

Service: influxdb.service

By default, the Telegraf service outputs all the monitoring metrics to this local InfluxDB instance.

By default, it can be accessed at the URL https://10.42.0.1:8087, with the credentials admin:influxdb.

To access the dashboard remotely, you will need to configure WireGuard VPN.