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

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

Open
maxpain opened this issue Jan 22, 2021 · 3 comments

Comments

@maxpain
Copy link

maxpain commented Jan 22, 2021

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
@SuperQ
Copy link
Contributor

SuperQ commented Jan 23, 2021

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

@maxpain
Copy link
Author

maxpain commented Jan 23, 2021

@SuperQ
image

@SuperQ
Copy link
Contributor

SuperQ commented Jan 23, 2021

That looks like a duplicate data bug in Odyssey.

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

No branches or pull requests

2 participants