Open KulykDmytro opened 6 months ago
issue is originated from #888 but not relevant to multiserver scrape
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 server
label on proxy scrapes.
:eyeglasses: @sysadmind
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 providesserver
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
postgres_exporter version:
postgres_exporter flags/variables: