Skip to content

Commit 8021921

Browse files
committed
receiver/kubeletstats: keep requirement_level recommended per review
1 parent f89a7ab commit 8021921

6 files changed

Lines changed: 19 additions & 31 deletions

File tree

receiver/kubeletstatsreceiver/documentation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Node network errors
201201
| Name | Description | Values | Requirement Level |
202202
| ---- | ----------- | ------ | -------- |
203203
| interface | Name of the network interface. | Any Str | Recommended |
204-
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Required |
204+
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Recommended |
205205
206206
### k8s.node.network.io
207207
@@ -216,7 +216,7 @@ Node network IO
216216
| Name | Description | Values | Requirement Level |
217217
| ---- | ----------- | ------ | -------- |
218218
| interface | Name of the network interface. | Any Str | Recommended |
219-
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Required |
219+
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Recommended |
220220
221221
### k8s.pod.cpu.time
222222
@@ -319,7 +319,7 @@ Pod network errors
319319
| Name | Description | Values | Requirement Level |
320320
| ---- | ----------- | ------ | -------- |
321321
| interface | Name of the network interface. | Any Str | Recommended |
322-
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Required |
322+
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Recommended |
323323
324324
### k8s.pod.network.io
325325
@@ -334,7 +334,7 @@ Pod network IO
334334
| Name | Description | Values | Requirement Level |
335335
| ---- | ----------- | ------ | -------- |
336336
| interface | Name of the network interface. | Any Str | Recommended |
337-
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Required |
337+
| direction | Direction of flow of bytes/operations (receive or transmit). | Str: ``receive``, ``transmit`` | Recommended |
338338
339339
### k8s.volume.available
340340

receiver/kubeletstatsreceiver/internal/metadata/generated_config.go

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/kubeletstatsreceiver/internal/metadata/generated_config_test.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/kubeletstatsreceiver/internal/metadata/generated_metrics_test.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/kubeletstatsreceiver/internal/metadata/testdata/config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ reaggregate_set:
214214
enabled: true
215215
k8s.node.network.errors:
216216
enabled: true
217-
attributes: ["direction"]
217+
attributes: []
218218
k8s.node.network.io:
219219
enabled: true
220-
attributes: ["direction"]
220+
attributes: []
221221
k8s.node.uptime:
222222
enabled: true
223223
k8s.pod.cpu.node.utilization:
@@ -256,10 +256,10 @@ reaggregate_set:
256256
enabled: true
257257
k8s.pod.network.errors:
258258
enabled: true
259-
attributes: ["direction"]
259+
attributes: []
260260
k8s.pod.network.io:
261261
enabled: true
262-
attributes: ["direction"]
262+
attributes: []
263263
k8s.pod.uptime:
264264
enabled: true
265265
k8s.pod.volume.usage:

receiver/kubeletstatsreceiver/metadata.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ resource_attributes:
9696
partition:
9797
description: "[DEPRECATED] The partition in the Volume"
9898
enabled: true
99-
requirement_level: opt_in
99+
requirement_level: recommended
100100
type: string
101101
warnings:
102102
if_enabled: "This resource_attribute is deprecated and will be removed soon"
@@ -105,7 +105,7 @@ attributes:
105105
description: Direction of flow of bytes/operations (receive or transmit).
106106
type: string
107107
enum: [receive, transmit]
108-
requirement_level: required
108+
requirement_level: recommended
109109
interface:
110110
description: Name of the network interface.
111111
type: string

0 commit comments

Comments
 (0)