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

Updates EtcdOverview dashboard to use the new name for a metric #929

Merged
merged 3 commits into from Jul 26, 2022

Conversation

nkinkade
Copy link
Contributor

@nkinkade nkinkade commented Jul 26, 2022

In the k8s v1.21.0 changelog I noted that one particular metric was changing names:

Rename metrics etcd_object_counts to apiserver_storage_object_counts and mark it as stable. The original etcd_object_counts metrics name is marked as "Deprecated" and will be removed in the future. (kubernetes/kubernetes#99785, @erain) [SIG API Machinery, Instrumentation and Testing]

The CS in this PR seems large, but almost all of it is nothing more than Grafana updating the JSON model a good deal since when the dashboard was first created. The meaningful change is using the metric apiserver_storage_objects instead of the now deprecated etcd_object_counts.


This change is Reviewable

kubernetes/kubernetes#99785

The PR says the new metric name will be apiserver_storage_object_counts,
but on a running v1.21.14 control plane node, the metric is actually
named apiserver_storage_ojects.
Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@nkinkade nkinkade merged commit 0be12d0 into master Jul 26, 2022
@nkinkade nkinkade deleted the sandbox-kinkade branch July 26, 2022 21:21
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.

None yet

2 participants