Skip to content

Conversation

@robbiet480
Copy link
Contributor

Needed this to fix errors like * collected metric "pg_stat_statements_blk_write_time_seconds" { label:<name:"datname" value:"postgres" > label:<name:"rolname" value:"postgres_exporter" > label:<name:"server" value:"localhost:5432" > counter:<value:0 > } was collected before with the same name and label values.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 64.7% when pulling b2f9c7b on robbiet480:patch-1 into e2df41f on wrouesnel:master.

@jkroepke
Copy link
Member

👍 Works for me.

@wrouesnel wrouesnel merged commit a753845 into prometheus-community:master Aug 28, 2020
@anarcat
Copy link

anarcat commented Dec 16, 2021

it should be noted that this doesn't work unless pg_stat_statements is loaded, which is not the case by default on Debian buster 10 (psql 11).

@jkroepke
Copy link
Member

@anarcat I'm not a maintainer here, but you can just raise a pull request like this to add the note.

ritbl pushed a commit to heniek/postgres_exporter that referenced this pull request Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants