Skip to content

Add metricdescs subcommand for ListMetricDescriptors API#1815

Merged
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
bitoku:list-metric-descriptors
Apr 22, 2025
Merged

Add metricdescs subcommand for ListMetricDescriptors API#1815
k8s-ci-robot merged 1 commit into
kubernetes-sigs:masterfrom
bitoku:list-metric-descriptors

Conversation

@bitoku

@bitoku bitoku commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind feature

What this PR does / why we need it:

There's no subcommand for ListMetricDescriptors https://github.com/kubernetes/cri-api/blob/c9a9c280d8500241d4e0ca04c28fa19974147108/pkg/apis/runtime/v1/api.proto#L130 .

When CRI can return metrics, this feature would be useful to know what kind of metrics can be retrieved via CRI.
I'm open to changing the subcommand name.

Server implementations:

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Add metricdescs subcommand for ListMetricDescriptors API

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Apr 4, 2025
@k8s-ci-robot
k8s-ci-robot requested review from feiskyer and klueska April 4, 2025 17:54
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 4, 2025

@saschagrunert saschagrunert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

CI will fail because of #1821

Comment thread cmd/crictl/metric_descs.go Outdated
Comment thread test/e2e/metricdescs_test.go Outdated
@bitoku
bitoku force-pushed the list-metric-descriptors branch from 8e80437 to e19bfe6 Compare April 14, 2025 10:02
@saschagrunert
saschagrunert force-pushed the list-metric-descriptors branch from e19bfe6 to b00094d Compare April 22, 2025 07:27
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 22, 2025
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bitoku, saschagrunert

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 22, 2025
@k8s-ci-robot
k8s-ci-robot merged commit c677146 into kubernetes-sigs:master Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants