Metric data delays in Amazon AWS integrations

Problem

You notice delays between the time your AWS integration makes an API request and New Relic Infrastructure returns the metric data.

Solution

Depending on the Amazon AWS integration, New Relic Infrastructure may experience explicit delays or implicit delays in the timing between the API request and the metric data returned. For more on this cause, see Cause.

Normally, the delays do not sum up. With an explicit delay, New Relic expects the metric data to be at the delay point in time. For example, if New Relic uses an explicit delay of five minutes, at 9:00 the freshest data point should be the one for 8:55.

However, delays may vary by customer and account. If you experience unusual delays in your metric data:

  1. Check whether your Infrastructure integration has explicit delays or implicit delays with API requests for metric data.
  2. CloudWatch users: Take a screenshot of the metric data in your CloudWatch console, and attach it when you request support at support.newrelic.com.

Using your CloudWatch console's screenshot, New Relic Support will troubleshoot if the delay occurs in New Relic Infrastructure or directly in AWS.

Cause

Depending on the Amazon AWS integration, New Relic Infrastructure may experience explicit delays or implicit delays in the timing between the API request and the metric data returned.

Metric data delays Comments

Explicit delays

(specifically set)

Explicit delays are the ones that New Relic sets in the code to get more reliable data. In some cases, the API request to AWS may return one value, but a request for the same metric a minute later returns a different value. To reduce the possibility of this occurring, New Relic sets explicit delays. For example:

  • If New Relic uses an explicit delay of five minutes, an API call at 9:00 requests metrics from 8:50 to 8:55.
  • If New Relic does not use an explicit delay of five minutes, an API call at 9:00 requests metrics from 8:55 to 9:00.

Explicit delays may come from these Infrastructure Amazon integrations:

Implicit delays

(expected but not specifically set)

Implicit delays are patterns that New Relic has experienced with integrations. They are not always present, and they are not exact.

In general, implicit delays tend to come from requests for AWS CloudWatch metrics, including these Infrastructure Amazon integrations:

  • DynamoDB: Approximately 1 minute
  • EBS: Approximately 15 minutes
  • EC2: Approximately 5 minutes
  • ElastiCache: Approximately 5 minutes
  • Lambda: Approximately 1 minute
  • SQS: Approximately 5 minutes

For more help

Recommendations for learning more: