Skip to content

Use delay to obtain accurate CloudFront requests metrics #1549

@latelan

Description

@latelan

Is there an existing issue for this?

  • I have searched the existing issues

YACE version

0.61.2

Config file

apiVersion: v1alpha1
discovery:
  jobs:
    - type: AWS/CloudFront
      regions:
        - us-east-1
      roles:
        - roleArn: xxx
      searchTags:
        - key: Project
          value: cdn
      dimensionNameRequirements:
        - DistributionId
        - Region
      period: 60
      length: 60
      metrics:
        - name: Requests
          statistics: [Sum]

Current Behavior

There is an inconsistency between the data seen in YACE logs and the CloudFront console for the same point in time.
At 2024-10-27 12:24:00 UTC, YACE shows 11
image
while CloudFront console shows 16.
image

Expected Behavior

The data for both is consistent.

Steps To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions