Agent NRIntegrationErrors appear in Insights

Problem

You receive the following NrIntegrationError event in New Relic Insights:

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:

Go

In your newrelic.Config:

The Go Agent currently does not support adjusting this value for custom events.

Java

In your newrelic.yml:

.NET

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.
Node.js
  • 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.
Python

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.
Ruby

In your newrelic.yml:

This error does not apply to the C SDK or PHP agents.

For more help

If you need more help, check out these support and learning resources: