Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActiveSupport notifications: allowlist event names #2610

Closed
wants to merge 6 commits into from
Closed

Conversation

fallwith
Copy link
Contributor

Added a new :'instrumentation.active_support_notifications.active_support_events' configuration parameter to permit a user defined allowlist of Active Support notifications event names for the agent to subscribe to that are related to the Active Support library itself.

Event names that are not included on the list will be ignored by the agent

Added a new :'instrumentation.active_support_notifications.active_support_events'
configuration parameter to permit a user defined allowlist of Active
Support notifications event names for the agent to subscribe to that are
related to the Active Support library itself.

Event names that are not included on the list will be ignored by the
agent.
don't attempt to subscribe to notifications based on an empty list
Now that the constant based hash is needed by default_source.rb, make
sure its class can successfully require the notifications class
put in a temporary Ruby version <= 2.4 path for older Rubies that don't
support `String#delete_prefix` and silence the RuboCop warning within
the Ruby <= 2.4 specific path.
reference the Active Support specific event names lists for caching and
messages in the documentation for the relevant configuration parameter
Reference the edge content with the fixed anchors

Co-authored-by: Kayla Reopelle (she/her) <87386821+kaylareopelle@users.noreply.github.com>
Copy link

github-actions bot commented May 2, 2024

SimpleCov Report

Coverage Threshold
Line 93.78% 93%
Branch 71.47% 71%

@fallwith
Copy link
Contributor Author

fallwith commented Jun 3, 2024

Closing for now. Please leave the branch alone. Tracking future developments with #2685.

@fallwith fallwith closed this Jun 3, 2024
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.

None yet

3 participants