You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO[0036] Starting scrape source="collector.go:282"
An error has occurred during metrics collection:
40 error(s) occurred:
* collected metric pgbouncer_pools_client_active_connections label:<name:"database" value:"gitlabhq_production" > gauge:<value:434 > was collected before with the same name and label values
The text was updated successfully, but these errors were encountered:
If you're using auth_query mode + autodb for pgbouncer, you wind up having
multiple users for a single DB. That output looks roughly like thus:
```
database | user | cl_active | cl_waiting | sv_active | sv_idle | sv_used | sv_tested | sv_login | maxwait | maxwait_us | pool_mode
-----------+-----------+-----------+------------+-----------+---------+---------+-----------+----------+---------+------------+-----------
paste | paste | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | session
paste | pgbouncer | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | session
```
With how the code was written, this would break cardinality. User *must* be
a label in this case. As for pool_mode, it doesn't have to be a label- it's
just useful for exporting it.
This fixes ticket #1 and larseen#7 (same issue)
I have multiple database with different users:
This results in:
The text was updated successfully, but these errors were encountered: