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
Is your feature request related to a problem? Please describe.
The number of maximum database active connections can be configured and is already tracked through the postgresql_connection_max metrics, yet there is no metrics to track the active number of connections. However this is an essential thing to monitor.
Describe the solution you'd like
Add a metrics named postgresql_connection_active with the following additional entries:
application_name - Name of the client application that started the session.
backend_start - Timestamp when the backend process was initiated.
Describe alternatives you've considered
Parse Loki logs to track connections vs disconnections, but this is a very rough approximation of the actual number of active connections...
Component(s)
receiver/postgresql
Is your feature request related to a problem? Please describe.
The number of maximum database active connections can be configured and is already tracked through the
postgresql_connection_max
metrics, yet there is no metrics to track the active number of connections. However this is an essential thing to monitor.Describe the solution you'd like
Add a metrics named
postgresql_connection_active
with the following additional entries:Describe alternatives you've considered
Parse Loki logs to track connections vs disconnections, but this is a very rough approximation of the actual number of active connections...
Additional context
References:
Why active connections over max connections should be monitored
Query to get active connections per client
The text was updated successfully, but these errors were encountered: