You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cilium/README.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ Starting with version 1.10.0, this OpenMetrics-based integration has a latest mo
23
23
`global.prometheus.enabled=true` and `global.operatorPrometheus.enabled=true`
24
24
* Cilium >= 1.9.x:
25
25
`prometheus.enabled=true` and `operator.prometheus.enabled=true`
26
-
26
+
27
27
Or, separately enable Prometheus metrics in the Kubernetes manifests:
28
28
<divclass="alert alert-warning">For <ahref="https://docs.cilium.io/en/v1.12/operations/upgrade/#id2">Cilium <= v1.11</a>, use <code>--prometheus-serve-addr=:9090</code>.</a></div>
29
29
@@ -47,6 +47,8 @@ Or, separately enable Prometheus metrics in the Kubernetes manifests:
47
47
- --enable-metrics
48
48
```
49
49
50
+
<div class="alert alert-info"><strong>Note for GKE users:</strong> On Google Kubernetes Engine (GKE), Cilium exposes metrics on port <code>9990</code> by default, and this port cannot be changed. Make sure to configure the Datadog Agent to scrape port <code>9990</code> instead of the common defaults (<code>9090</code> or <code>9962</code>). Using an incorrect port can result in a high volume of connection errors in your Agent logs.</div>
51
+
50
52
### Configuration
51
53
52
54
<!-- xxx tabs xxx -->
@@ -60,6 +62,12 @@ To configure this check for an Agent running on a host:
60
62
- To collect `cilium-agent` metrics, enable the `agent_endpoint` option.
61
63
- To collect `cilium-operator` metrics, enable the `operator_endpoint` option.
62
64
65
+
**Note**: The default `agent_endpoint` port varies by environment and Cilium configuration:
66
+
- Cilium <= v1.11 typically uses port `9090`
67
+
- Self-managed Cilium >= v1.12 commonly uses port `9962`
68
+
- GKE-managed Cilium uses port `9990` (fixed and not configurable)
69
+
70
+
63
71
```yaml
64
72
instances:
65
73
@@ -127,6 +135,11 @@ Collecting logs is disabled by default in the Datadog Agent. To enable it, see [
0 commit comments