From a694f32388d08de76d551e7ab02c2c6d572d2129 Mon Sep 17 00:00:00 2001 From: ChrsMark Date: Thu, 25 Sep 2025 19:23:00 +0300 Subject: [PATCH] [chore][nsxtreceiver] Add stability level per metric Signed-off-by: ChrsMark --- receiver/nsxtreceiver/documentation.md | 42 +++++++++++++------------- receiver/nsxtreceiver/metadata.yaml | 14 +++++++++ 2 files changed, 35 insertions(+), 21 deletions(-) diff --git a/receiver/nsxtreceiver/documentation.md b/receiver/nsxtreceiver/documentation.md index a6d71f4312d5a..d4e91acff6576 100644 --- a/receiver/nsxtreceiver/documentation.md +++ b/receiver/nsxtreceiver/documentation.md @@ -16,9 +16,9 @@ metrics: The average amount of CPU being used by the node. -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| % | Gauge | Double | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| % | Gauge | Double | development | #### Attributes @@ -30,9 +30,9 @@ The average amount of CPU being used by the node. The amount of storage space used by the node. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | false | development | #### Attributes @@ -44,33 +44,33 @@ The amount of storage space used by the node. The percentage of storage space utilized. -| Unit | Metric Type | Value Type | -| ---- | ----------- | ---------- | -| % | Gauge | Double | +| Unit | Metric Type | Value Type | Stability | +| ---- | ----------- | ---------- | --------- | +| % | Gauge | Double | development | ### nsxt.node.memory.cache.usage The size of the node's memory cache. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| KBy | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| KBy | Sum | Int | Cumulative | false | development | ### nsxt.node.memory.usage The memory usage of the node. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| KBy | Sum | Int | Cumulative | false | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| KBy | Sum | Int | Cumulative | false | development | ### nsxt.node.network.io The number of bytes which have flowed through the network interface. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| By | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| By | Sum | Int | Cumulative | true | development | #### Attributes @@ -82,9 +82,9 @@ The number of bytes which have flowed through the network interface. The number of packets which have flowed through the network interface on the node. -| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | -| ---- | ----------- | ---------- | ----------------------- | --------- | -| {packets} | Sum | Int | Cumulative | true | +| Unit | Metric Type | Value Type | Aggregation Temporality | Monotonic | Stability | +| ---- | ----------- | ---------- | ----------------------- | --------- | --------- | +| {packets} | Sum | Int | Cumulative | true | development | #### Attributes diff --git a/receiver/nsxtreceiver/metadata.yaml b/receiver/nsxtreceiver/metadata.yaml index c11ca13f3acce..c76057b962fe8 100644 --- a/receiver/nsxtreceiver/metadata.yaml +++ b/receiver/nsxtreceiver/metadata.yaml @@ -58,6 +58,8 @@ attributes: metrics: nsxt.node.network.io: description: The number of bytes which have flowed through the network interface. + stability: + level: development unit: "By" sum: monotonic: true @@ -67,6 +69,8 @@ metrics: attributes: [direction] nsxt.node.network.packet.count: description: The number of packets which have flowed through the network interface on the node. + stability: + level: development unit: "{packets}" sum: monotonic: true @@ -76,6 +80,8 @@ metrics: attributes: [direction, packet.type] nsxt.node.cpu.utilization: description: The average amount of CPU being used by the node. + stability: + level: development unit: "%" gauge: value_type: double @@ -83,12 +89,16 @@ metrics: attributes: [class] nsxt.node.filesystem.utilization: description: The percentage of storage space utilized. + stability: + level: development unit: "%" gauge: value_type: double enabled: true nsxt.node.filesystem.usage: description: The amount of storage space used by the node. + stability: + level: development unit: By sum: monotonic: false @@ -98,6 +108,8 @@ metrics: attributes: [disk_state] nsxt.node.memory.usage: description: The memory usage of the node. + stability: + level: development unit: KBy sum: monotonic: false @@ -106,6 +118,8 @@ metrics: enabled: true nsxt.node.memory.cache.usage: description: The size of the node's memory cache. + stability: + level: development unit: KBy sum: monotonic: false