Skip to content

Conversation

@magec
Copy link
Contributor

@magec magec commented Aug 28, 2024

Currently, yabeda-rails plugin do not have into account :rails group default_labels when populating metrics. This change allows defining tags for :rails group, so if you are using other yabeda plugins they don't get populated with them.

The main problem here is that we are using yabeda-rails and yabeda-puma in the same application. If we set default_tags, both rails and puma metrics will have that tag populated. If we use the :group option setting it to rails (so the tag is only added to rails metrics), the plugin ignores it. This change makes rails plugin aware of :rails groups metrics.

@magec
Copy link
Contributor Author

magec commented Sep 10, 2024

Is there any chance this could get merged @Envek ? asking for a friend

@Envek Envek merged commit 7dd1a29 into yabeda-rb:master Sep 9, 2025
@Envek
Copy link
Member

Envek commented Sep 9, 2025

Thank you and sorry for the wait. Released in 0.10.0

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants