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

Backends by state metric causes 500 error on exposition #360

Open
mbrancato opened this issue Aug 19, 2024 · 1 comment
Open

Backends by state metric causes 500 error on exposition #360

mbrancato opened this issue Aug 19, 2024 · 1 comment

Comments

@mbrancato
Copy link

The stackdriver_cloudsql_database_cloudsql_googleapis_com_database_postgresql_num_backends_by_state metric appears to have some collection issue when I enabled it. The exposition returns a 500 error.

An error has occurred while serving metrics:\n\n43 error(s) occurred:\n* [from Gatherer #2] collected metric \"stackdriver_cloudsql_database_cloudsql_googleapis_com_database_postgresql_num_backends_by_state\" { label:{name:\"database\" value:\"cloudsqladmin\"} label:{name:\"database_id\" value:\"my-project:mydb\"} label:{name:\"project_id\" value:\"my-project..p_ms:1724089680000} was collected before with the same name and label values\n* [from Gatherer #2] collected metric \"stackdriver_cloudsql_database_cloudsql_googleapis_com_database_uptime\" { label:{name:\"database_id\" value:\"myproject:myotherdb\"} label:{name:\"project_id\" value:\"myproject\"} label:{name:\"region\" value:\"us-central\"} label:{name:\"unit\" value:\"s\"} gauge:{value:60} timestamp_ms:1724089680000} was collected before with the same name and label values\n
@mbrancato
Copy link
Author

I'm seeing this with stackdriver_cloudsql_database_cloudsql_googleapis_com_database_uptime as well.
Otherwise called cloudsql.googleapis.com/database/uptime.

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

1 participant