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: keps/sig-node/2129-remove-cadvisor-json-metrics/README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,11 @@ For machine metrics: Use the prometheus node exporter.
89
89
* Pros: Community-supported and widely used machine-level monitoring tool. Easy-to-use configuration to enable/disable metrics.
90
90
* Cons: Metrics are in a different format, and may not have the same set of information
91
91
92
+
For most metrics, run a prometheus server, and collect metrics from the /metrics/cadvisor endpoint.
93
+
If you want to be able to access metrics in JSON format, you can use the [Prometheus server's HTTP API](https://prometheus.io/docs/prometheus/latest/querying/api/).
94
+
* Pros: Similar metrics in JSON format
95
+
* Cons: The JSON structure of metrics is different, and it requires running a prometheus server.
96
+
92
97
## Design Details
93
98
94
99
Remove the `--enable-cadvisor-json-endpoints` flag and the kubelet stops serving on the paths listed in the Goals section.
0 commit comments