prometheus_exporter
prometheus_exporter copied to clipboard
fix: custom_labels on SidekiqStatsCollector and SidekiqProcessCollector
Fixes https://github.com/discourse/prometheus_exporter/issues/196
@SamSaffron this is ready for review. thanks
I am a bit confused, when did the shape of the data change to include the "process" key? will this break old installs?
also tests appear to be failing
I fixed the tests.
In collect we will now pass the entire hash to @sidekiq_metrics which includes the custom_labels. I think this does not change the shape and is backwards compatible.
Let me know if you prefer a different approach.
bump ^ @SamSaffron
bump again ^ @SamSaffron