Comments (3)
A little addition to the situation. If we put
addCloudwatchTimestamp: true
to the metric config, e.g. "- name: CPUCreditBalance" - the exporter continues to export metric on the terminated instance with negative timestamp...
aws_ec2_cpucredit_balance_average{dimension_instance_id="i-0013b...",region="eu-west-1"} 0 -62135596800000
So the prometheus can't scrap such a metric with "expected timestamp or new record, got "INVALID"" error.
from yet-another-cloudwatch-exporter.
Try setting
# Passes down the flag `--recently-active PT3H` to the CloudWatch API. This will only return metrics that have been active in the last 3 hours.
# This is useful for reducing the number of metrics returned by CloudWatch, which can be very large for some services. See AWS Cloudwatch API docs for [ListMetrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html) for more details.
[ recentlyActiveOnly: <boolean> ]
in your config which should limit this to ~3 hours. This is a really unfortunate CloudWatch behavior.
Regarding the addCloudwatchTimestamp
behavior, you should upgrade to v0.57 which contains a bugfix for this, https://github.com/nerdswords/yet-another-cloudwatch-exporter/releases/tag/v0.57.0. The bugfix is to drop this data because it is invalid.
from yet-another-cloudwatch-exporter.
Apparently, the problem was solved after the version update to 0.59
from yet-another-cloudwatch-exporter.
Related Issues (20)
- [BUG] GWLB resource filter not returning correct arn
- [FEATURE] multiple scratping-interval in one yace
- [FEATURE] Filter out resources from cloudwatch where null HOT 2
- grafana dashboard HOT 1
- [BUG] RDS BurstBalance metric does not disappear after RDS storage type change
- [BUG] Yaml config error log is not logged when debug mode is enabled
- [BUG] FSx lustre read throughput metrics not available
- [QUESTION] Clarification Needed on "global" Label in Metrics from CloudWatch Exporter HOT 2
- No tagged resources made it through filtering for AWS SQS metrics HOT 6
- What should I add in config to get metrics with tags HOT 3
- [BUG] The exporter will show a 414 error (request too long) when requesting lambda functions HOT 1
- [BUG] <title> Not able to scrape Metrics of all instances HOT 5
- [QUESTION] GMD pricing
- [FEATURE] Support AWS/EventBridge/Pipes
- [QUESTION] Can Yace be used to export logs from EKS? HOT 2
- [BUG] WAFV2 - unable to define a regex mapping
- [BUG] ValidationError for metrics
- [FEATURE] Ensure info metrics will have compatibility with prometheus OTEL implementation
- [FEATURE] Provide distroless docker image
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yet-another-cloudwatch-exporter.