InfluxDB
Bleemeo monitors InfluxDB through automatic service detection with HTTP health checks, and for version 2.x, through its native Prometheus metrics endpoint.
Auto-Detection
Section titled “Auto-Detection”Glouton automatically detects InfluxDB instances running on the system.
If auto-detected parameters are incorrect, you can override them manually.
sudo tee /etc/glouton/conf.d/99-influxdb.conf > /dev/null << 'EOF'service: - type: "influxdb" address: "127.0.0.1" port: 8086EOFCreate or edit the file C:\ProgramData\glouton\conf.d\99-influxdb.conf:
service: - type: "influxdb" address: "127.0.0.1" port: 8086Glouton automatically detects configuration changes.
Health Check
Section titled “Health Check”Glouton performs an HTTP health check when InfluxDB listens on port 8086.
| Metric | Description |
|---|---|
service_status | Status of InfluxDB |
Prometheus Metrics
Section titled “Prometheus Metrics”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.
Glouton Configuration
Section titled “Glouton Configuration”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"EOFCreate or edit the file C:\ProgramData\glouton\conf.d\99-influxdb.conf:
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"Glouton automatically detects configuration changes.
| Metric | Description |
|---|---|
http_api_requests_total | Total number of HTTP API requests by endpoint and status |
http_api_request_duration_seconds | Duration of HTTP API requests in seconds |
boltdb_reads_total | Total number of BoltDB read operations |
go_memstats_alloc_bytes | Number of bytes allocated and still in use by the Go runtime |
influxdb_organizations_total | Total number of organizations in the InfluxDB instance |
task_scheduler_total_runs_active | Number of currently active task scheduler runs |