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

Disable sidecar metrics server when metrics are disabled. #476

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

hime
Copy link
Collaborator

@hime hime commented Feb 14, 2025

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind api-change

/kind bug

/kind cleanup
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
When we disable metrics, we still enable the gke gcsfuse sidecar metrics collector server endpoint to collect metrics. The intended behavior is to disable all metrics serviced.

Which issue(s) this PR fixes:

Fixes #

Bug found while going through the code.

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Disable sidecar metrics server when metrics are disabled.

/cc @kislaykishore

Change-Id: I1837db06f6f9118ae7c942db7c6d2ea24d2f866b
@hime hime requested review from kislaykishore and removed request for kislaykishore February 14, 2025 17:44
@hime hime merged commit 997fa22 into GoogleCloudPlatform:main Feb 14, 2025
8 checks passed
@hime hime added bug Something isn't working go Pull requests that update Go code labels Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant