This repository was archived by the owner on Aug 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
This repository was archived by the owner on Aug 22, 2024. It is now read-only.
Number of labels and collected label values does not match, want 0, got 1 #44
Copy link
Copy link
Open
Description
Starting pgscv:0.7.5 container in docker with this settings:
ports:
- 9890:9890
environment:
- PGSCV_LISTEN_ADDRESS=0.0.0.0:9890
- PGSCV_DISABLE_COLLECTORS=system,postgres/settings
- POSTGRES_DSN_TST01=postgresql://postgres:pass4word%23@10.10.10.10:5432/postgres
On the same host we have docker container with Postgres:14.0 version.
After start pgscv exporter, errors appear in the logs:
{"level":"info","service":"pgscv","time":"2022-11-16T06:45:11Z","message":"read configuration from environment"}
{"level":"info","service":"pgscv","time":"2022-11-16T06:45:11Z","message":"no-track disabled, for details check the documentation about 'no_track_mode' option."}
{"level":"info","service":"pgscv","time":"2022-11-16T06:45:11Z","message":"registered new service [system:0]"}
{"level":"info","service":"pgscv","time":"2022-11-16T06:45:11Z","message":"registered new service [TST01]"}
{"level":"info","service":"pgscv","time":"2022-11-16T06:45:11Z","message":"listen on http://0.0.0.0:9890"}
{"level":"error","service":"pgscv","time":"2022-11-16T06:45:20Z","message":"number of labels and collected label values does not match, want 0, got 1"}
{"level":"error","service":"pgscv","time":"2022-11-16T06:45:35Z","message":"number of labels and collected label values does not match, want 0, got 1"}
{"level":"error","service":"pgscv","time":"2022-11-16T06:45:50Z","message":"number of labels and collected label values does not match, want 0, got 1"}
{"level":"error","service":"pgscv","time":"2022-11-16T06:46:05Z","message":"number of labels and collected label values does not match, want 0, got 1"}
{"level":"error","service":"pgscv","time":"2022-11-16T06:46:20Z","message":"number of labels and collected label values does not match, want 0, got 1"}
We use Prometheus:v2.24.1 for scraping metrics. In the Prometheus we see that the metrics from the exporter are coming. But errors in the exporter are confusing.
Could you please explain the origin of these errors?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels