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
I want to select user-level stats from a database and naturally I added user as a label for my metrics. Unfortunately, sql_exporter crashed immediately, because it adds a lot of own labels:
I see two options here: Either you don't use conflicting rows names in your queries, or we rename these fields in the SQL exporter. As they are very generic it may make sense to do so.
I'm not quite sure what the best naming would be. Maybe something like sql_connection_user?
Of course this could conflict as well, if someone wants to return an row named sql_connection_user.
I want to select user-level stats from a database and naturally I added
user
as a label for my metrics. Unfortunately,sql_exporter
crashed immediately, because it adds a lot of own labels:Relabeling later in Prometheus seems cumbersome. Not sure what's the cleanest way forward here.
The text was updated successfully, but these errors were encountered: