Skip to content

[release-v1.34] add generic metrics for external API (#1228)#1354

Merged
ske-prow[bot] merged 1 commit into
release-v1.34from
cherry-pick-437d81
Jul 9, 2026
Merged

[release-v1.34] add generic metrics for external API (#1228)#1354
ske-prow[bot] merged 1 commit into
release-v1.34from
cherry-pick-437d81

Conversation

@aniruddha2000

Copy link
Copy Markdown
Member

How to categorize this PR?

/kind cherry-pick

What this PR does / why we need it:

Cherry-pick of #1228

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Breaking changes:

* add genetric metrics for external API

* make fmt

* add tests for the new http error metrics

* remove loadbalancer prefix from metrics names

* add tests for HTTPRequestDurationHistogram and HTTPRequestCount

* add api label from client creation

* make mod tidy

* add metrics for csi

* call metric server from csi/main.go

* create prometheus metrics exporter

* remove api name required check and update tests

* remove error from func

* make status_code

* make add more labels in new metrics

* make lint

* fix test

* optimize code
@ske-prow ske-prow Bot added kind/cherry-pick This is a cherry-pick and should be documented as such size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 9, 2026
@ske-prow ske-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 9, 2026
@ske-prow

ske-prow Bot commented Jul 9, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nschad

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

@ske-prow ske-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 9, 2026
@ske-prow

ske-prow Bot commented Jul 9, 2026

Copy link
Copy Markdown

LGTM label has been added.

DetailsGit tree hash: 0c363e02da5881b11cb9920cc9874bcea28becc2

@ske-prow ske-prow Bot merged commit f5d1341 into release-v1.34 Jul 9, 2026
3 checks passed
@ske-prow ske-prow Bot deleted the cherry-pick-437d81 branch July 9, 2026 12:52
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. kind/cherry-pick This is a cherry-pick and should be documented as such lgtm 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.

2 participants