diff options
author | Ole Troan <ot@cisco.com> | 2018-06-14 09:28:27 +0200 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2018-06-15 12:07:40 +0000 |
commit | 1ec0ea85c3f57f4638e32a00396057f80d958ec9 (patch) | |
tree | fba386994bf101d4fda3a87af7d5e1a783cdf4c1 /src/plugins/nat/nat.c | |
parent | c22f87b8763c844e09177e30bbb92830cd928812 (diff) |
STATS: Add more hierarchy to counters.
Put error counters under node_index.
/err/<node-name>/<error-name>
E.g:
/err/ip4-lookup/Hash table collisions
/err/ip6-rewrite/Buffer allocation error
Error names are not globally unique, and this allows
for walking all errors for a particular node.
Put interface counters under the directory /if.
E.g. /if/rx
Put system counters under the directory /sys.
E.g. /sys/vector_rate
Change-Id: I5b794d16698f61bcb2063a8cd77a7c4ae36419b8
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat.c')
0 files changed, 0 insertions, 0 deletions