diff options
author | Ole Troan <ot@cisco.com> | 2023-02-17 14:23:48 +0100 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2023-03-02 08:00:50 +0000 |
commit | 04853c67e4f06b8b33005b7c2ccaca5a2d015760 (patch) | |
tree | 2db4dc0d4ddef110bf5882a37a28f9fa97cf59df /src/plugins/wireguard/wireguard_index_table.h | |
parent | d346f393fd26aa08882e6f84e2b9a4b888430a30 (diff) |
stats: expose symlink to stats client
For e.g. prometheus export it makes more sense to use the same metric name,
and expose the various symlinks as labels.
The VPP symlink metric:
/interfaces/local0/rx_unicast
that points to
/if/rx_unicast
Becomes in Prometheus:
interfaces_rx_unicast_bytes{index="0",label="local0"} 0
Type: improvement
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: Ide0ab4fda4b3eb7ba7ddfc44680121c53f5267f6
Diffstat (limited to 'src/plugins/wireguard/wireguard_index_table.h')
0 files changed, 0 insertions, 0 deletions