Skip to content

Commit 8cd38f8

Browse files
authored
[chore] Add stability level for metrics (open-telemetry#43870)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Follow-up from open-telemetry#42809 to fix failing tests of open-telemetry/opentelemetry-collector#14070. Signed-off-by: ChrsMark <[email protected]>
1 parent 5523e29 commit 8cd38f8

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

receiver/ciscoosreceiver/internal/scraper/systemscraper/documentation.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ metrics:
1616
1717
Device availability (1 = up, 0 = down)
1818
19-
| Unit | Metric Type | Value Type |
20-
| ---- | ----------- | ---------- |
21-
| 1 | Gauge | Int |
19+
| Unit | Metric Type | Value Type | Stability |
20+
| ---- | ----------- | ---------- | --------- |
21+
| 1 | Gauge | Int | development |
2222
2323
### system.cpu.utilization
2424
2525
Percentage of CPU time in use.
2626
27-
| Unit | Metric Type | Value Type |
28-
| ---- | ----------- | ---------- |
29-
| 1 | Gauge | Double |
27+
| Unit | Metric Type | Value Type | Stability |
28+
| ---- | ----------- | ---------- | --------- |
29+
| 1 | Gauge | Double | development |
3030
3131
### system.memory.utilization
3232
3333
Percentage of memory bytes in use.
3434
35-
| Unit | Metric Type | Value Type |
36-
| ---- | ----------- | ---------- |
37-
| 1 | Gauge | Double |
35+
| Unit | Metric Type | Value Type | Stability |
36+
| ---- | ----------- | ---------- | --------- |
37+
| 1 | Gauge | Double | development |
3838
3939
## Resource Attributes
4040

receiver/ciscoosreceiver/internal/scraper/systemscraper/metadata.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,26 @@ metrics:
1818
cisco.device.up:
1919
enabled: true
2020
description: Device availability (1 = up, 0 = down)
21+
stability:
22+
level: development
2123
unit: "1"
2224
gauge:
2325
value_type: int
2426

2527
system.cpu.utilization:
2628
enabled: true
2729
description: Percentage of CPU time in use.
30+
stability:
31+
level: development
2832
unit: "1"
2933
gauge:
3034
value_type: double
3135

3236
system.memory.utilization:
3337
enabled: true
3438
description: Percentage of memory bytes in use.
39+
stability:
40+
level: development
3541
unit: "1"
3642
gauge:
3743
value_type: double

0 commit comments

Comments
 (0)