From a93f42dff3a1a1d5073c36455cda0537eac5bb12 Mon Sep 17 00:00:00 2001 From: pmikus Date: Wed, 22 Dec 2021 09:49:25 +0100 Subject: feat(telemetry): show hardware Signed-off-by: pmikus Change-Id: I0c0bf055e5963ac794f66cce9d5d45bb628facee --- resources/templates/telemetry/vpp_clear_stats.yaml | 35 ++++++++++++++++++++++ resources/templates/telemetry/vpp_show_stats.yaml | 35 ++++++++++++++++++++++ .../templates/telemetry/vpp_test_teardown.yaml | 35 ++++++++++++++++++++++ 3 files changed, 105 insertions(+) (limited to 'resources/templates') 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 @@ -139,6 +139,41 @@ programs: - index code: | clear interfaces + - 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: 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 @@ -139,6 +139,41 @@ programs: - index code: | 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: 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 @@ -139,6 +139,41 @@ programs: - index code: | 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: -- cgit 1.2.3-korg