homebridge-prometheus-exporter
homebridge-prometheus-exporter copied to clipboard
Prometheus Timestamps Error reported
Describe The Bug: Prometheus reports an error with timestamps
To Reproduce: configure prometheus to scrape, view logs
Expected behaviour: no errors in logs
Logs:
ts=2024-07-12T17:35:48.375Z caller=scrape.go:1744 level=warn component="scrape manager" scrape_pool=homebridge-exporter target=http://xxx.xxx.xxx.xxx:36123/metrics msg="Error on ingesting samples with different value but same timestamp" num_dropped=18
Plugin Config:
{
"pin": "123-12-123",
"debug": false,
"prefix": "homebridge",
"port": 36123,
"interface": "::",
"refresh_interval": 30,
"request_timeout": 10,
"discovery_timeout": 20,
"platform": "PrometheusExporter"
},
Screenshots: N/A
Environment:
- Plugin Version: 1.0.5
- Homebridge Version: Homebridge v1.8.3 (HAP v0.12.2)
- Node.js Version: v20.15.0
- NPM Version: 10.7.0
- Operating System: Ubuntu Jammy (22.04.4 LTS) Docker