[BUG] YACE does not correctly retrieve sparse metrics like KMS CreateKey CallCount #1677
Open
1 task done
Labels
bug
Something isn't working
Is there an existing issue for this?
YACE version
v0.61.2
Config file
No response
Current Behavior
We are experiencing an issue where YACE fails to accurately retrieve the CallCount metric for the KMS CreateKey operation. While the metric values are visible in CloudWatch, YACE consistently returns 0 even when the CallCount is non-zero within a given period. The creation of the KMS key is infrequent and sporadic.
Expected Behavior
When querying the CallCount metric over a specified length, we expect YACE to return a positive, non-zero aggregate value (for Maximum, Average, and Sum) if a KMS key was indeed during that length of time.
Steps To Reproduce
Anything else?
Root Cause (Suspected):
Based on the code in pkg/clients/cloudwatch/v2/client.go here:
yet-another-cloudwatch-exporter/pkg/clients/cloudwatch/v2/client.go
Lines 145 to 156 in f5ddcf4
This has been noticed by other users as well: #865 (comment)
The text was updated successfully, but these errors were encountered: