diff options
author | pmikus <pmikus@cisco.com> | 2021-12-22 09:49:25 +0100 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-12-22 11:25:11 +0000 |
commit | a93f42dff3a1a1d5073c36455cda0537eac5bb12 (patch) | |
tree | de0492ca2192258f0b1979edfaf85cab469ad21a /resources/templates/telemetry | |
parent | 98ac029416d6c46755d2844e604f463930df119c (diff) |
feat(telemetry): show hardware
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I0c0bf055e5963ac794f66cce9d5d45bb628facee
Diffstat (limited to 'resources/templates/telemetry')
-rw-r--r-- | resources/templates/telemetry/vpp_clear_stats.yaml | 35 | ||||
-rw-r--r-- | resources/templates/telemetry/vpp_show_stats.yaml | 35 | ||||
-rw-r--r-- | resources/templates/telemetry/vpp_test_teardown.yaml | 35 |
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 |