Problem
An NrIntegrationError
event is generated that has the following message:
Configuration mismatch: Agent configured harvest limit for EVENT TYPE
exceeds maximum limit; limit adjusted to LIMIT
Solution
This is caused by a configuration mismatch with the agent. See the relevant agent solution to resolve your configuration mismatch:
In your newrelic.yml
:
- For transaction events, adjust the value of
transaction_events.max_samples_stored
. - For custom events, adjust the value of
custom_events.max_samples_stored
.
In your newrelic.config
:
- For transaction events, adjust the value of the
maximumSamplesStored
attribute under the transactionEvents
element. - For custom events, adjust the value of the
maximumSamplesStored
attribute under the customEvents
element.
- For transaction events, in the
transaction_events: {
section of your app's newrelic.js
, adjust the value of max_samples_per_minute
. - For custom events, in the
custom_insights_events: {
section of your app's newrelic.js
, adjust the value of max_samples_stored
.
In your newrelic.ini
:
- For transaction events, adjust the value of
event_harvest_config. harvest_limits.analytic_event_data
. - For custom events, adjust the value of
event_harvest_config.harvest_limits.custom_event_data
. - For error events, adjust the value of
event_harvest_config.harvest_limits.error_event_data
. - For span events, adjust the value of
event_harvest_config.harvest_limits.span_event_data
.
In your newrelic.yml
:
- For transaction events, adjust the value of
analytics_events.max_samples_stored
. - For custom events, adjust the value of
custom_events.max_samples_stored
. - For error events, adjust the value of
error_collector.max_event_samples_stored
.
Tip
This error doesn't apply to the PHP agents.