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
CloudWatch: Add missing AWS/Prometheus metrics #54990
Conversation
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.
Hi @jangaraj ! Thanks for the pr. I have questions about where a couple of the metrics came from, but otherwise it looks good!
@@ -368,6 +368,7 @@ var metricsMap = map[string][]string{ | |||
"AWS/Polly": {"2XXCount", "4XXCount", "5XXCount", "RequestCharacters", "ResponseLatency"}, | |||
"AWS/PrivateLinkEndpoints": {"ActiveConnections", "BytesProcessed", "NewConnections", "PacketsDropped", "RstPacketsReceived"}, | |||
"AWS/PrivateLinkServices": {"ActiveConnections", "BytesProcessed", "EndpointsCount", "NewConnections", "RstPacketsReceived"}, | |||
"AWS/Prometheus": {"AlertManagerAlertsReceived", "AlertManagerNotificationsFailed", "AlertManagerNotificationsThrottled", "DiscardedSamples", "RuleEvaluations", "RuleEvaluationFailures", "RuleGroupIterationsMissed"}, |
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.
Where did AlertManagerNotificationsFailed
come from? I didn't see it in the linked docs.
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.
@@ -484,6 +485,7 @@ var dimensionsMap = map[string][]string{ | |||
"AWS/Polly": {"Operation"}, | |||
"AWS/PrivateLinkEndpoints": {"Endpoint Type", "Service Name", "Subnet Id", "VPC Endpoint Id", "VPC Id"}, | |||
"AWS/PrivateLinkServices": {"Az", "Load Balancer Arn", "Service Id", "VPC Endpoint Id"}, | |||
"AWS/Prometheus": {"Reason", "RuleGroup", "Workspace"}, |
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.
Also did not see these in the linked docs.
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.
Thanks for the screenshots! Nice work.
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.
the ci here is failing, but I believe this is due to an issue where external contributors do not have access to the tokens necessary to run our ci checks, and not due to the code itself.
Thanks for the contribution! 🎉
(cherry picked from commit b1b4110)
* main: (496 commits) Alerting: Add alert preview to cloud rules editor (#54950) Chore: Add methods from sqlstore to org service interface (#55635) Frontend: Update frontend styleguide emotion example (#55608) Update grabpl version to v3.0.9 (#55621) Update dependency @kusto/monaco-kusto to v5.2.0 (#54134) CloudWatch: Add missing AWS/Prometheus metrics (#54990) Search: create a separate HTTP endpoint (#55634) NavTree: Refactor out the navtree building from api/index.go and into it's own service (#55552) Update CODEOWNERS with specific docs responsibilities (#55522) Docs: Clarify "supported data sources" (#54337) Docs: Fix relrefs in access control API docs (#51940) Docs: Note issue #13399 in database install docs (#55596) Tempo: Wrap the autocomplete value for a tag in double quotes (#55610) Canvas: Add metric value element type (#55205) GrafanaUI: Add icon to links on Plugin configuration page (#55581) Chore: Move team store implementation to a separate package (#55514) Chore: Copy methods from sqlstore to org store (#55615) Plugins: Display "renderer" and "secretsmanager" plugin types under plugin catalog "Application" filter (#55597) ci: Update CODEOWNERS for as-code team (#55334) Navigation: use pageNav and subTitle in Dashboards > Settings > Links (#55510) ...
Reference: https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-CW-usage-metrics.html