-
Notifications
You must be signed in to change notification settings - Fork 600
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
Increase custom_insights_events.max_samples_stored #1541
Conversation
b2de8bc
to
cb34d08
Compare
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.
🎉
The previous default value was 1000. The new default is 3000. This new number is based on OATS results from multiple language agents
cbc5b38
cb34d08
to
cbc5b38
Compare
SimpleCov Report
|
@@ -2004,7 +2004,7 @@ def self.enforce_fallback(allowed_values: nil, fallback: nil) | |||
:description => 'If `true`, the agent captures [custom events](/docs/insights/new-relic-insights/adding-querying-data/inserting-custom-events-new-relic-apm-agents).' | |||
}, | |||
:'custom_insights_events.max_samples_stored' => { | |||
:default => 1000, | |||
:default => 3000, |
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.
Is there any impact to increasing this number? I'm wondering how we can up with 1000 in the first place, and why 3000 is the new number.
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.
Hi Hannah! Please see this slack thread (internal)
1000 is actually lower than what all the other agents have at this time. The spec default is 10K per limit, so we're getting closer to the spec with a smaller performance impact by changing the value to 3K.
Overview
The previous default value for
custom_insights_events.max_samples_stored
was 1000. The new default is 3000.This new number is based on OATS results from multiple language agents in an effort to reduce the number of dropped custom insights events.
Closes #1540