Repository navigation
Conversation
✅ Deploy Preview for calico-docs-preview-next ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview succeeded!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
🟡 Changes recommended
Two active documentation issues remain: the possible component values omit the valid secrets value, and the Prometheus manifest leaves an unreplaced namespace placeholder that would fail validation.
2 open issues
What changed in this PR
Completes the Calico Enterprise 3.24 operator metrics documentation, including release and upgrade guidance, metric references, alerting examples, and BYO Prometheus configuration.
Changes:
- Adds operator metrics release notes and
METRICS_SCHEMEupgrade guidance. - Documents component values, license metric labels, certificate alert timing, and a custom alert rule.
- Adds mTLS and network policy guidance for scraping operator metrics with BYO Prometheus.
| File | Summary | Review notes |
|---|---|---|
calico-enterprise/release-notes/index.mdx |
Adds operator metrics release and upgrade notes. | No findings. |
calico-enterprise/operations/monitor/prometheus/byo-prometheus.mdx |
Adds operator mTLS requirements and an example egress policy for BYO Prometheus. | The example should instruct readers to replace the namespace placeholder as well as the pod selector. |
calico-enterprise/operations/monitor/metrics/operator-metrics.mdx |
Expands the metrics reference with component values, license labels, alert details, and a custom alert example. | Clarify that the component values are examples or include secrets; correct the certificate-management guidance to reflect the operator’s behavior with CSR-based certificate management. |
Review effort: Lite
| - Logs: `log-collector`, `log-collector-otel`, `log-storage`, `log-storage-access`, `log-storage-dashboards`, `log-storage-elastic`, `log-storage-esmetrics`, `log-storage-kubecontrollers`, `log-storage-secrets`, `log-storage-users` | ||
| - Threat defense and policy: `intrusion-detection`, `policy-recommendation`, `packet-capture` | ||
| - Traffic features: `applicationlayer`, `egressgateway`, `gatewayapi`, `istio` | ||
| - Hosts and clusters: `non-cluster-hosts`, `management-cluster-connection` |
There was a problem hiding this comment.
Fixed in 02a8592. Added secrets under a new "Multi-tenancy" item, with a note that it appears only in multi-tenant management clusters.
| The following example allows this traffic. | ||
| Replace the selector with one that matches your Prometheus pods. |
There was a problem hiding this comment.
Fixed in 02a8592. The text before the manifest now says to replace <my-prometheus-namespace> with the namespace where Prometheus runs. A separate PR renames the placeholder across the page.
8b943ea to
02a8592
Compare
02a8592 to
e4706d3
Compare
| - `METRICS_ENABLED=true` | ||
| - `METRICS_SCHEME=https` (required) | ||
|
|
||
| `METRICS_SCHEME` must be `https`. |
There was a problem hiding this comment.
It does say 2 lines above (required). It was done that way so this paragraph would not be necessary. You think differently?
There was a problem hiding this comment.
Agreed, removed. The upgrade note in the release notes still covers the Degraded status for anyone upgrading from an earlier early preview.
| kubectl get tigerastatus | ||
| ``` | ||
|
|
||
| The `component` label can take these values: |
There was a problem hiding this comment.
There is some value in this section, but at the same time, don't you think that introducing this extra section, merely increases the surface of docs that can go out-of-date?
There was a problem hiding this comment.
Agreed. I removed the list and kept a pointer to kubectl get tigerastatus.
| This also happens when the scrape itself fails. | ||
| Use this example as a starting point for your own rules. | ||
|
|
||
| 1. Save the following to a file, say `operator-calico-not-reported-alert.yaml`. |
There was a problem hiding this comment.
Is this something you came up with? Does it work?
We don't recommend anyone deploying their own resources in calico-managed namespaces. Although this may provide real value to users, they probably want to apply it elsewhere.
There was a problem hiding this comment.
I wrote it, and it wasn't tested on a cluster. Given the namespace concern, I removed the section.
e4706d3 to
36d97f5
Compare


Completes the operator metrics docs for Calico Enterprise 3.24: release note, upgrade note for METRICS_SCHEME, the package label on the license metrics, component values, an example alert rule, and mTLS and network policy guidance for bring-your-own Prometheus.
Jira: https://tigera.atlassian.net/browse/DOCS-3160
Preview
To do
Flags