diff options
author | Dave Barach <dave@barachs.net> | 2016-01-29 11:00:00 -0500 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-01-29 11:00:13 -0500 |
commit | fc659e711520630d7f1f1ece3d72ffb398d5cef6 (patch) | |
tree | f3a2da826c47b460980e6e51b496caaa6eb6bdc8 /gmod | |
parent | ec21e13a13281066faee24ef962fa439c22528cb (diff) |
Rationalize metric names.
Change-Id: I3144e58f635ef94224387e8729bf8db6aa77a106
Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'gmod')
-rw-r--r-- | gmod/gmod/mod_vpp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gmod/gmod/mod_vpp.c b/gmod/gmod/mod_vpp.c index 951d3528aa0..c28f1a51c59 100644 --- a/gmod/gmod/mod_vpp.c +++ b/gmod/gmod/mod_vpp.c @@ -75,7 +75,7 @@ static g_val_t vpp_metric_handler (int metric_index) switch (metric_index) { case 0: vector_ratep = svmdb_local_get_vec_variable - (svmdb_client, "vlib_vector_rate", sizeof (*vector_ratep)); + (svmdb_client, "vpp_vector_rate", sizeof (*vector_ratep)); if (vector_ratep) { val.d = *vector_ratep; vec_free (vector_ratep); @@ -100,7 +100,7 @@ static g_val_t vpp_metric_handler (int metric_index) case 2: vpp_rx_ratep = svmdb_local_get_vec_variable - (svmdb_client, "vnet_input_rate", sizeof (*vector_ratep)); + (svmdb_client, "vpp_input_rate", sizeof (*vector_ratep)); if (vpp_rx_ratep) { val.d = *vpp_rx_ratep; vec_free (vpp_rx_ratep); |