Skip to content

docs: add disabling monitoring guide and benchmark report - #2244

Open
cowsking wants to merge 1 commit into
GoogleContainerTools:mainfrom
cowsking:docs/disable-monitoring-guide
Open

docs: add disabling monitoring guide and benchmark report#2244
cowsking wants to merge 1 commit into
GoogleContainerTools:mainfrom
cowsking:docs/disable-monitoring-guide

Conversation

@cowsking

Copy link
Copy Markdown
Contributor

No description provided.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from cowsking. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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

@google-oss-prow
google-oss-prow Bot requested review from Camila-B and mikebz July 29, 2026 22:50
Comment on lines +351 to +354
When `DISABLE_MONITORING=true` is injected:
- The `reconciler-manager` skips registering Otel controllers.
- Reconciler Pods will no longer include `otel-agent` sidecar containers.
- Metric recording calls fallback safely to OpenTelemetry Noop providers without panic or network connection errors.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I feel this section is too detail in technical side, can be removed.

value: "true"
```

2. Delete the monitoring namespace:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Recommend noting the users to confirm all the syncs are configured to disable monitoring before this step


```yaml
env:
- name: DISABLE_MONITORING

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It'd be convenient if provide a kubectl command for both controllers

apiVersion: configsync.gke.io/v1beta1
kind: RootSync
metadata:
name: root-sync

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Convert the root-sync to a rootsync name placeholder. Same for the namespace - some reposync might not be in this namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants