-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
feat(metrics): add more kubectl metrics #21720
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Michael Crenshaw <[email protected]>
🔴 Preview Environment stopped on BunnyshellSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
util/metrics/kubectl_metrics.go
Outdated
Name: "argocd_kubectl_transport_create_calls_total", | ||
Help: "Number of kubectl transport create calls", | ||
}, | ||
[]string{"initiator", "result"}, |
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.
What is the value the "result" label will have?
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
Signed-off-by: Michael Crenshaw <[email protected]>
…d it'll probably be fine anyway Signed-off-by: Michael Crenshaw <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21720 +/- ##
==========================================
+ Coverage 55.59% 55.73% +0.14%
==========================================
Files 339 341 +2
Lines 57346 56922 -424
==========================================
- Hits 31881 31727 -154
+ Misses 22784 22546 -238
+ Partials 2681 2649 -32 ☔ View full report in Codecov by Sentry. |
Very much a PoC. I noticed client-go provides some metrics we're not yet surfacing. I'm not a metrics wonk, so I'm not sure how the cost of these metrics compares to the value. I tried to keep cardinality low where possible. Please let me know your thoughts!