• /
  • EnglishEspañol日本語한국어Português
  • Inicia sesiónComenzar ahora

Metric data delays in AWS integrations

Problem

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

Solution

Depending on the AWS integration, the infrastructure agent 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 infrastructure or directly in AWS.

Cause

Depending on the AWS integration, the infrastructure agent 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 Amazon integrations:

  • ALB: 5 minutes

  • ELB: 5 minutes

  • CloudFront: 3 minute

  • RDS: 5 minutes

  • SNS: 10 minutes

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 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
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.