Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus Timestamps Error reported #683

Open
DEEJCUK opened this issue Jul 12, 2024 · 1 comment
Open

Prometheus Timestamps Error reported #683

DEEJCUK opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DEEJCUK
Copy link

DEEJCUK commented Jul 12, 2024

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
@DEEJCUK DEEJCUK added the bug Something isn't working label Jul 12, 2024
@simono41
Copy link

simono41 commented Aug 6, 2024

I have the same problem, I'll see if Prometheus can somehow ignore it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants