-
Notifications
You must be signed in to change notification settings - Fork 607
Validate record_custom_event type
#3319
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
Conversation
record_custom_event type
SimpleCov Report
|
tannalynn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably add a changelog entry for this since customers could see different behavior now if they were using it wrong previously. That way they'll know why it is acting differently for them.
kaylareopelle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm requesting changes for the changelog entry, just so that I don't keep opening up the PR wondering why I haven't approved it yet! 😅
|
@kaylareopelle changelog done! |
Co-authored-by: Kayla Reopelle <[email protected]>
Co-authored-by: Kayla Reopelle <[email protected]>
….com/newrelic/newrelic-ruby-agent into record_custom_event_raise_on_invalid
The
NewRelic::Agent#record_custom_eventAPI will now raise anArgumentErroron an invalidevent_type.A valid
event_typemust consist of only alphanumeric characters,_,:, or.closes #3126