Skip to content
BleemeoBleemeo

InfluxDB

Auto-Detection
Health Check
Prometheus Metrics

Bleemeo monitors InfluxDB through automatic service detection with HTTP health checks, and for version 2.x, through its native Prometheus metrics endpoint.

Glouton automatically detects InfluxDB instances running on the system.

If auto-detected parameters are incorrect, you can override them manually.

Terminal window
sudo tee /etc/glouton/conf.d/99-influxdb.conf > /dev/null << 'EOF'
service:
- type: "influxdb"
address: "127.0.0.1"
port: 8086
EOF

Glouton automatically detects configuration changes.

Glouton performs an HTTP health check when InfluxDB listens on port 8086.

MetricDescription
service_statusStatus of InfluxDB

InfluxDB 2.x exposes a native Prometheus metrics endpoint by default on its main HTTP port. No additional InfluxDB configuration is required.

You can verify the endpoint is working by visiting http://localhost:8086/metrics. For more details, see the InfluxDB metrics documentation.

Terminal window
sudo tee /etc/glouton/conf.d/99-influxdb.conf > /dev/null << 'EOF'
metric:
prometheus:
targets:
- url: "http://localhost:8086/metrics"
name: "influxdb"
allow_metrics:
- "http_api_requests_total"
- "http_api_request_duration_seconds"
- "boltdb_reads_total"
- "go_memstats_alloc_bytes"
- "influxdb_organizations_total"
- "task_scheduler_total_runs_active"
EOF

Glouton automatically detects configuration changes.

MetricDescription
http_api_requests_totalTotal number of HTTP API requests by endpoint and status
http_api_request_duration_secondsDuration of HTTP API requests in seconds
boltdb_reads_totalTotal number of BoltDB read operations
go_memstats_alloc_bytesNumber of bytes allocated and still in use by the Go runtime
influxdb_organizations_totalTotal number of organizations in the InfluxDB instance
task_scheduler_total_runs_activeNumber of currently active task scheduler runs