diff options
author | Ole Troan <ot@cisco.com> | 2018-08-23 13:00:53 +0200 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-08-29 09:39:38 +0000 |
commit | 2fee16787ed0d622631223567635a77e14c8c076 (patch) | |
tree | aab9492cc925b7cfa769d996fd6fbbf1d0506971 /src/vlib/error.c | |
parent | fcf9497d3bcd34b8b5090ee053575296cf56c5e6 (diff) |
STATS: stat_client updates.
New stat segment client library: vpp-api/client/stat_client.h
New stat segment query app: vpp_get_stats [ls | dump | poll ] <pattern ...>
Prometheus integration through: vpp_prometheus_export <pattern>
Change-Id: I6f370cf599e9fcf066f22965a62d3a8acd529994
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src/vlib/error.c')
-rw-r--r-- | src/vlib/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/error.c b/src/vlib/error.c index 3ea62e586ba..aa53324fa8f 100644 --- a/src/vlib/error.c +++ b/src/vlib/error.c @@ -208,7 +208,7 @@ vlib_register_errors (vlib_main_t * vm, for (i = 0; i < n_errors; i++) { - error_name = format (0, "/err/%s/%s%c", n->name, error_strings[i], 0); + error_name = format (0, "/err/%v/%s%c", n->name, error_strings[i], 0); /* Note: error_name consumed by the following call */ vlib_stats_register_error_index (error_name, n->error_heap_index + i); } |