-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Metrics for AWS API calls #4179
Conversation
Provide metrics for AWS API calls; helps identifying slowness, throttling causes, and errors surges.
@gjtempleton may I request your input on that one? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this, this looks really useful!
One small query for you.
Namespace: caNamespace, | ||
Name: "aws_request_duration_seconds", | ||
Help: "Time taken by AWS requests, by method and status code, in seconds", | ||
Buckets: []float64{0.05, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 2.0, 5.0, 10.0, 20.0, 30.0, 60.0}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm very slightly worried about the number of histogram buckets here, though the low number of endpoint
label values is making me less concerned.
Do we have any idea of the potential cardinality of the status
label?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks for that.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bpineau, gjtempleton The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Metrics for AWS API calls
Metrics for AWS API calls
Metrics for AWS API calls
Provide metrics for AWS API calls; helps identifying slowness, throttling causes, and errors bursts.
That's similar to what GCE provider does.