aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates')
-rw-r--r--resources/templates/telemetry/vpp_clear_stats.yaml35
-rw-r--r--resources/templates/telemetry/vpp_show_stats.yaml35
-rw-r--r--resources/templates/telemetry/vpp_test_teardown.yaml35
3 files changed, 105 insertions, 0 deletions
diff --git a/resources/templates/telemetry/vpp_clear_stats.yaml b/resources/templates/telemetry/vpp_clear_stats.yaml
index 9391502654..bc80c590d0 100644
--- a/resources/templates/telemetry/vpp_clear_stats.yaml
+++ b/resources/templates/telemetry/vpp_clear_stats.yaml
@@ -142,6 +142,41 @@ programs:
- name: bundle_vpp
metrics:
gauge:
+ - name: rx_frames
+ documentation: Number of RX frames for interface
+ labelnames:
+ - name
+ - index
+ - name: rx_bytes
+ documentation: Number of RX bytes for interface
+ labelnames:
+ - name
+ - index
+ - name: tx_frames
+ documentation: Number of TX frames for interface
+ labelnames:
+ - name
+ - index
+ - name: tx_bytes
+ documentation: Number of TX bytes for interface
+ labelnames:
+ - name
+ - index
+ - name: rx_missed
+ documentation: Number of missed RX packets on interface
+ labelnames:
+ - name
+ - index
+ - name: tx_missed
+ documentation: Number of missed TX packets on interface
+ labelnames:
+ - name
+ - index
+ code: |
+ clear hardware
+ - name: bundle_vpp
+ metrics:
+ gauge:
- name: node_counter
documentation: Node counter
labelnames:
diff --git a/resources/templates/telemetry/vpp_show_stats.yaml b/resources/templates/telemetry/vpp_show_stats.yaml
index 16c895447c..81176c668d 100644
--- a/resources/templates/telemetry/vpp_show_stats.yaml
+++ b/resources/templates/telemetry/vpp_show_stats.yaml
@@ -141,6 +141,41 @@ programs:
show interface
- name: bundle_vpp
metrics:
+ gauge:
+ - name: rx_frames
+ documentation: Number of RX frames for interface
+ labelnames:
+ - name
+ - index
+ - name: rx_bytes
+ documentation: Number of RX bytes for interface
+ labelnames:
+ - name
+ - index
+ - name: tx_frames
+ documentation: Number of TX frames for interface
+ labelnames:
+ - name
+ - index
+ - name: tx_bytes
+ documentation: Number of TX bytes for interface
+ labelnames:
+ - name
+ - index
+ - name: rx_missed
+ documentation: Number of missed RX packets on interface
+ labelnames:
+ - name
+ - index
+ - name: tx_missed
+ documentation: Number of missed TX packets on interface
+ labelnames:
+ - name
+ - index
+ code: |
+ show hardware verbose
+ - name: bundle_vpp
+ metrics:
counter:
- name: node_counter
documentation: Node counter
diff --git a/resources/templates/telemetry/vpp_test_teardown.yaml b/resources/templates/telemetry/vpp_test_teardown.yaml
index a1372da19a..f3357ba2c8 100644
--- a/resources/templates/telemetry/vpp_test_teardown.yaml
+++ b/resources/templates/telemetry/vpp_test_teardown.yaml
@@ -141,6 +141,41 @@ programs:
show interface
- name: bundle_vpp
metrics:
+ gauge:
+ - name: rx_frames
+ documentation: Number of RX frames for interface
+ labelnames:
+ - name
+ - index
+ - name: rx_bytes
+ documentation: Number of RX bytes for interface
+ labelnames:
+ - name
+ - index
+ - name: tx_frames
+ documentation: Number of TX frames for interface
+ labelnames:
+ - name
+ - index
+ - name: tx_bytes
+ documentation: Number of TX bytes for interface
+ labelnames:
+ - name
+ - index
+ - name: rx_missed
+ documentation: Number of missed RX packets on interface
+ labelnames:
+ - name
+ - index
+ - name: tx_missed
+ documentation: Number of missed TX packets on interface
+ labelnames:
+ - name
+ - index
+ code: |
+ show hardware verbose
+ - name: bundle_vpp
+ metrics:
counter:
- name: node_counter
documentation: Node counter