Closed sosedoff closed 1 year ago
AR Instrumentation exposes the hostname in https://github.com/discourse/prometheus_exporter/blob/main/lib/prometheus_exporter/instrumentation/active_record.rb#L57 but its not picked up in the collector: https://github.com/discourse/prometheus_exporter/blob/main/lib/prometheus_exporter/server/active_record_collector.rb#L28-L39
hostname
Is this behavior intentional?
Interesting, no I do not think this is intentional.
I've discovered this issue while working on #268 refactor. I'll send a PR with a fix.
AR Instrumentation exposes the
hostname
in https://github.com/discourse/prometheus_exporter/blob/main/lib/prometheus_exporter/instrumentation/active_record.rb#L57 but its not picked up in the collector: https://github.com/discourse/prometheus_exporter/blob/main/lib/prometheus_exporter/server/active_record_collector.rb#L28-L39Is this behavior intentional?