Skip to content

Commit 1f41503

Browse files
authored
[chore] Add missing metrics stability levels (#43922)
to unblock collector core dependency upgrade
1 parent e338640 commit 1f41503

File tree

2 files changed

+25
-15
lines changed

2 files changed

+25
-15
lines changed

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ metrics:
1616
1717
The number of errors encountered
1818
19-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
20-
| ---- | ----------- | ---------- | ----------------------- | --------- |
21-
| {errors} | Sum | Int | Cumulative | true |
19+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
20+
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
21+
| {errors} | Sum | Int | Cumulative | true | development |
2222
2323
#### Attributes
2424
@@ -34,9 +34,9 @@ The number of errors encountered
3434
3535
Interface operational status (1 = up, 0 = down)
3636
37-
| Unit | Metric Type | Value Type |
38-
| ---- | ----------- | ---------- |
39-
| 1 | Gauge | Int |
37+
| Unit | Metric Type | Value Type | Stability |
38+
| ---- | ----------- | ---------- | --------- |
39+
| 1 | Gauge | Int | development |
4040
4141
#### Attributes
4242
@@ -51,9 +51,9 @@ Interface operational status (1 = up, 0 = down)
5151
5252
The number of bytes transmitted and received
5353
54-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
55-
| ---- | ----------- | ---------- | ----------------------- | --------- |
56-
| By | Sum | Int | Cumulative | true |
54+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
55+
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
56+
| By | Sum | Int | Cumulative | true | development |
5757
5858
#### Attributes
5959
@@ -69,9 +69,9 @@ The number of bytes transmitted and received
6969
7070
The number of packets transmitted or received, categorized by type
7171
72-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
73-
| ---- | ----------- | ---------- | ----------------------- | --------- |
74-
| {packets} | Sum | Int | Cumulative | true |
72+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
73+
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
74+
| {packets} | Sum | Int | Cumulative | true | development |
7575
7676
#### Attributes
7777
@@ -87,9 +87,9 @@ The number of packets transmitted or received, categorized by type
8787
8888
The number of packets dropped
8989
90-
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic |
91-
| ---- | ----------- | ---------- | ----------------------- | --------- |
92-
| {packets} | Sum | Int | Cumulative | true |
90+
| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability |
91+
| ---- | ----------- | ---------- | ----------------------- | --------- | --------- |
92+
| {packets} | Sum | Int | Cumulative | true | development |
9393
9494
#### Attributes
9595

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ attributes:
4747
metrics:
4848
system.network.errors:
4949
enabled: true
50+
stability:
51+
level: development
5052
description: The number of errors encountered
5153
unit: "{errors}"
5254
sum:
@@ -57,6 +59,8 @@ metrics:
5759

5860
system.network.interface.status:
5961
enabled: true
62+
stability:
63+
level: development
6064
description: Interface operational status (1 = up, 0 = down)
6165
unit: "1"
6266
gauge:
@@ -65,6 +69,8 @@ metrics:
6569

6670
system.network.io:
6771
enabled: true
72+
stability:
73+
level: development
6874
description: The number of bytes transmitted and received
6975
unit: By
7076
sum:
@@ -75,6 +81,8 @@ metrics:
7581

7682
system.network.packet.count:
7783
enabled: true
84+
stability:
85+
level: development
7886
description: The number of packets transmitted or received, categorized by type
7987
unit: "{packets}"
8088
sum:
@@ -85,6 +93,8 @@ metrics:
8593

8694
system.network.packet.dropped:
8795
enabled: true
96+
stability:
97+
level: development
8898
description: The number of packets dropped
8999
unit: "{packets}"
90100
sum:

0 commit comments

Comments
 (0)