pgbouncer_exporter icon indicating copy to clipboard operation
pgbouncer_exporter copied to clipboard

collected metric XXX was collected before with the same name and label values

Open maxpain opened this issue 4 years ago • 3 comments

I am trying to set up monitoring for Yandex Odyssey and getting these errors:

An error has occurred while serving metrics:

5 error(s) occurred:
* collected metric "pgbouncer_databases_pool_size" { label:<name:"database" value:"fastcup" > label:<name:"force_user" value:"" > label:<name:"host" value:"127.0.0.1" > label:<name:"name" value:"fastcup" > label:<name:"pool_mode" value:"transaction" > label:<name:"port" value:"5432" > gauge:<value:100 > } was collected before with the same name and label values
* collected metric "pgbouncer_databases_max_connections" { label:<name:"database" value:"fastcup" > label:<name:"force_user" value:"" > label:<name:"host" value:"127.0.0.1" > label:<name:"name" value:"fastcup" > label:<name:"pool_mode" value:"transaction" > label:<name:"port" value:"5432" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "pgbouncer_databases_current_connections" { label:<name:"database" value:"fastcup" > label:<name:"force_user" value:"" > label:<name:"host" value:"127.0.0.1" > label:<name:"name" value:"fastcup" > label:<name:"pool_mode" value:"transaction" > label:<name:"port" value:"5432" > gauge:<value:3 > } was collected before with the same name and label values
* collected metric "pgbouncer_databases_paused" { label:<name:"database" value:"fastcup" > label:<name:"force_user" value:"" > label:<name:"host" value:"127.0.0.1" > label:<name:"name" value:"fastcup" > label:<name:"pool_mode" value:"transaction" > label:<name:"port" value:"5432" > gauge:<value:0 > } was collected before with the same name and label values
* collected metric "pgbouncer_databases_disabled" { label:<name:"database" value:"fastcup" > label:<name:"force_user" value:"" > label:<name:"host" value:"127.0.0.1" > label:<name:"name" value:"fastcup" > label:<name:"pool_mode" value:"transaction" > label:<name:"port" value:"5432" > gauge:<value:0 > } was collected before with the same name and label values

maxpain avatar Jan 22 '21 20:01 maxpain

Interesting, can you post the output of SHOW databases; when connected to your Odyssey instance?

SuperQ avatar Jan 23 '21 14:01 SuperQ

@SuperQ image

maxpain avatar Jan 23 '21 15:01 maxpain

That looks like a duplicate data bug in Odyssey.

SuperQ avatar Jan 23 '21 16:01 SuperQ