Skip to content

Conversation

mbarany
Copy link

@mbarany mbarany commented Sep 12, 2025

Fixes #196

@mbarany mbarany changed the title fix: custom_labels on SidekiqStatsCollector fix: custom_labels on SidekiqStatsCollector and SidekiqProcessCollector Sep 12, 2025
@mbarany mbarany force-pushed the fix-custom-labels-on-sidekiq-stats-collector branch from 37e3e56 to 9079be1 Compare September 12, 2025 13:58
@mbarany
Copy link
Author

mbarany commented Sep 17, 2025

@SamSaffron this is ready for review. thanks

@SamSaffron
Copy link
Member

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

@mbarany
Copy link
Author

mbarany commented Sep 19, 2025

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.

@mbarany
Copy link
Author

mbarany commented Sep 26, 2025

bump ^ @SamSaffron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Custom labels for sidekiq stats metrics
2 participants