Skip to content
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

Added description to list of metrics reported by cni-metrics-helper #2786

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

zachdorame
Copy link
Contributor

What type of PR is this?

documentation

Which issue does this PR fix:
#2421

What does this PR do / Why do we need it:
This PR provides a description of each metric reported by cni-metrics-helper. It consolidates both the metric name and metric description into a table.

If an issue # is not available please add repro steps and logs from IPAMD/CNI showing the issue:

Testing done on this change:

N/A

Will this PR introduce any new dependencies?:

No

Will this break upgrades or downgrades? Has updating a running cluster been tested?:
No, No

Does this change require updates to the CNI daemonset config files to work?:

No

Does this PR introduce any user-facing change?:

No


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zachdorame zachdorame requested a review from a team as a code owner February 6, 2024 19:06
@zachdorame
Copy link
Contributor Author

In #2421 (comment) there was an ask of providing a description of "how to use [the metrics] to monitor the health of the cluster." I think the description of each metric also satisfies this, but please let me know if it doesn't

Copy link
Contributor

@jdn5126 jdn5126 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great start, thanks @zachdorame! I believe the full list of metrics we support can be found at https://github.com/aws/amazon-vpc-cni-k8s/blob/master/cmd/cni-metrics-helper/metrics/cni_metrics.go#L30

Copy link
Contributor

@jdn5126 jdn5126 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is getting there, now we can just focus on the wording of the individual metrics. Let's try to use consistent phrasing for each. I know the phrasing in my suggestions is a bit off.

cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
cmd/cni-metrics-helper/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@jdn5126 jdn5126 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for doing this!

@jdn5126 jdn5126 merged commit 502605c into aws:master Feb 13, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants