-
Notifications
You must be signed in to change notification settings - Fork 755
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
server
label is not added consistently to metrics
#1030
Comments
issue is originated from #888 |
I think we were working to eliminate the server label now that we have multi-target exporter setup. This is because there's no need for a |
I think there's a decision to be made on whether or not the exporter is going to support multiple DSNs long term. If it does support multiple DSNs, we would need some label to distinguish both. The other option is to deprecate all of those previous collectors in favor of the newer collectors/ package collectors and remove support for multiple DSNs outside of the multi-target support. This should totally eliminate the need for the server label unless I'm missing some other complication. I think there may be some logic for auto discovering databases that needs to be looked into as well. I think the intent is that some collectors or metrics are database specific. |
There's a small amount of terminology mixup in some of the flags. There's multiple DSNs to connect to multiple servers. As well as there's the "Discover databases" which is actually used to filter metrics tables about the databases on a single server. IMO we should eliminate the "multiple DSNs/servers", not the database metrics include/exclude filters for a single server. |
Hi
At 0.15 running for of RDS instance (in kubernetes) we observing following behaviour. on default settings +
queries.yaml
These collectors provides
server
label, other not:queries.yaml
pg_settings
pg_stat_activity
pg_stat_archiver
pg_stat_database
(only forconflicts_confl
section)pg_static
expected that labeling will be consistent (all on or all off) or at least configurable per collector
Environment
AWS EKS
The text was updated successfully, but these errors were encountered: