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

Add new API method for recordCustomEvent() #2162

Open
elucus opened this issue Dec 6, 2024 · 1 comment
Open

Add new API method for recordCustomEvent() #2162

elucus opened this issue Dec 6, 2024 · 1 comment

Comments

@elucus
Copy link

elucus commented Dec 6, 2024

When I want to record a metric or an error, I just do NewRelic.recordMetric() or NewRelic.noticeError(). But if I want to report a custom event, I have to do NewRelic.getAgent().getInsights().recordCustomEvent(). The Insights product has been deprecated for years and events have been considered a key telemetry type for longer than that. It seems like it's probably time to make it just as easy to record events with the agent as it is to record metrics or errors.

When we add this we should mark the old method as obsolete.

@workato-integration
Copy link

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

No branches or pull requests

1 participant