Description
Is there an existing issue for this?
- I have searched the existing issues
Feature description
Feature request:
Metric to count the number of requests made to cloudwatch API (irrespective of response) and count request errors if no valid data is returned.
OR
Include such a metric as part of yace_cloudwatch_requests_total
and yace_cloudwatch_request_errors
.
Reason:
No way to detect case where the IAM authentication fails or Cloudformation stack is misconfigured. A request is made, but there is no response. There seems to be no counter for this.
How this became an issue:
While testing for correctness of YACE Cloudwatch API requests using yace_cloudwatch_requests_total
and yace_cloudwatch_request_errors
:
- Intentionally removed IAM from service account for YACE pod
- service was denied, but
yace_cloudwatch_requests_total
doesn't increment - seems like it counts the number of "successful responses to requests" and not "number of requests irrespective of responses received".
Having metrics to count total requests submitted and response errors will help detect such edge cases.
What might the configuration look like?
No response
Anything else?
^ similar counter, but should be incremented before a request is made to the API. and counter to check for request errors