Skip to content

Commit 211faf9

Browse files
committed
address review comments
Signed-off-by: ChrsMark <[email protected]>
1 parent f5e2f30 commit 211faf9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

receiver/kubeletstatsreceiver/README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -288,22 +288,17 @@ rules:
288288

289289
### Warning about metrics' deprecation
290290

291-
The following metrics will be removed in a future version:
292-
- `k8s.node.cpu.utilization` (replaced by `k8s.node.cpu.usage`)
293-
- `k8s.pod.cpu.utilization` (replaced by `k8s.pod.cpu.usage`)
294-
- `container.cpu.utilization` (replaced by `container.cpu.usage`)
295-
296-
Users can use the following metrics instead:
297-
- `k8s.node.cpu.usage`
298-
- `k8s.pod.cpu.usage`
299-
- `container.cpu.usage`
291+
The following metrics will be renamed in a future version:
292+
- `k8s.node.cpu.utilization` (renamed to `k8s.node.cpu.usage`)
293+
- `k8s.pod.cpu.utilization` (renamed to `k8s.pod.cpu.usage`)
294+
- `container.cpu.utilization` (renamed to `container.cpu.usage`)
300295

301296
The above metrics show usage counted in CPUs and it's not a percentage of used resources.
302297
These metrics were previously incorrectly named using the utilization term.
303298

304299
#### `receiver.kubeletstats.enableCPUUsageMetrics` feature gate
305300

306-
- alpha: when enabled it makes the `.cpu.usage` metrics enabled by default
301+
- alpha: when enabled it makes the `.cpu.usage` metrics enabled by default, disabling the `.cpu.utilization` metrics
307302
- beta: `.cpu.usage` metrics are enabled by default and any configuration enabling the deprecated `.cpu.utilization` metrics will be failing. Explicitly disabling the feature gate provides the old (deprecated) behavior.
308303
- stable: `.cpu.usage` metrics are enabled by default and the deprecated metrics are completely removed.
309304
- removed three releases after stable.

0 commit comments

Comments
 (0)