Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting metrics for cloudfront #279

Open
Prasoon6667 opened this issue Nov 16, 2020 · 3 comments
Open

Not getting metrics for cloudfront #279

Prasoon6667 opened this issue Nov 16, 2020 · 3 comments

Comments

@Prasoon6667
Copy link

Prasoon6667 commented Nov 16, 2020

I have deployed yace with the below config

discovery:
  jobs:
  - regions:
    - us-west-2
    type: cf
    customTags:
      - Key: app
        Value: yace
    awsDimensions:
      - DistributionId
      - Region
    metrics:
      - name: Requests
        statistics:
        - Minimum
        - Maximum
        - Average
        - Sum
        period: 600
        length: 600
      - name: BytesDownloaded
        statistics:
        - Minimum
        - Maximum
        - Average
        - Sum
        period: 600
        length: 600
      - name: BytesUploaded
        statistics:
        - Minimum
        - Maximum
        - Average
        - Sum
        period: 600
        length: 600
      - name: TotalErrorRate
        statistics:
        - Minimum
        - Maximum
        - Average
        - Sum
        period: 600
        length: 600
      - name: 4xxErrorRate
        statistics:
        - Minimum
        - Maximum
        - Average
        - Sum
        period: 600
        length: 600
      - name: 5xxErrorRate
        statistics:
        - Minimum
        - Maximum
        - Average
        - Sum
        period: 600
        length: 600

The metrics showing is, no cloudfront related metrics is exported, I have cloudfront resources running.
HELP yace_cloudwatch_apigatewayapi_requests_total
TYPE yace_cloudwatch_apigatewayapi_requests_total counter
yace_cloudwatch_apigatewayapi_requests_total 0
HELP yace_cloudwatch_autoscalingapi_requests_total Help is not implemented yet.
TYPE yace_cloudwatch_autoscalingapi_requests_total counter
yace_cloudwatch_autoscalingapi_requests_total 0
HELP yace_cloudwatch_getmetricdata_requests_total Help is not implemented yet.
TYPE yace_cloudwatch_getmetricdata_requests_total counter
yace_cloudwatch_getmetricdata_requests_total 0
HELP yace_cloudwatch_getmetricstatistics_requests_total Help is not implemented yet.
TYPE yace_cloudwatch_getmetricstatistics_requests_total counter
yace_cloudwatch_getmetricstatistics_requests_total 0
HELP yace_cloudwatch_requests_total Help is not implemented yet.
TYPE yace_cloudwatch_requests_total counter
yace_cloudwatch_requests_total 6
HELP yace_cloudwatch_resourcegrouptaggingapi_requests_total Help is not implemented yet.
TYPE yace_cloudwatch_resourcegrouptaggingapi_requests_total counter
yace_cloudwatch_resourcegrouptaggingapi_requests_total 1

@thomaspeitz
Copy link
Contributor

Sorry for the delay. Is this still a problem?

@Bingwenlin
Copy link

Version 27 still does not get CloudFront related metrics

@Jeinhaus
Copy link

Jeinhaus commented Aug 26, 2021

Same thing in Version 28 I think

I think my mistake was not using region: us-east-1 (where all cloudfront distributions end up). I'm still only getting one of my distributions. But that might be a problem on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants