summaryrefslogtreecommitdiffstats
path: root/src/vpp.am
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2018-08-23 13:00:53 +0200
committerDamjan Marion <dmarion@me.com>2018-08-29 09:39:38 +0000
commit2fee16787ed0d622631223567635a77e14c8c076 (patch)
treeaab9492cc925b7cfa769d996fd6fbbf1d0506971 /src/vpp.am
parentfcf9497d3bcd34b8b5090ee053575296cf56c5e6 (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/vpp.am')
-rw-r--r--src/vpp.am27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/vpp.am b/src/vpp.am
index e8c01557656..60be623627b 100644
--- a/src/vpp.am
+++ b/src/vpp.am
@@ -131,18 +131,29 @@ bin_summary_stats_client_LDADD = \
libvppinfra.la \
-lpthread -lm -lrt
-noinst_PROGRAMS += bin/stat_client
+bin_PROGRAMS += bin/vpp_get_stats
-bin_stat_client_SOURCES = \
- vpp/app/stat_client.c \
- vpp/app/stat_client.h
+bin_vpp_get_stats_SOURCES = \
+ vpp/app/vpp_get_stats.c
-bin_stat_client_LDADD = \
- libvlibmemoryclient.la \
- libsvm.la \
- libvppinfra.la \
+bin_vpp_get_stats_LDADD = \
+ libvppapiclient.la \
+ libvlibmemoryclient.la \
+ libsvm.la \
+ libvppinfra.la \
-lpthread -lm -lrt
+bin_PROGRAMS += bin/vpp_prometheus_export
+
+bin_vpp_prometheus_export_SOURCES = \
+ vpp/app/vpp_prometheus_export.c
+
+bin_vpp_prometheus_export_LDADD = \
+ libvppapiclient.la \
+ libvlibmemoryclient.la \
+ libsvm.la \
+ libvppinfra.la \
+ -lpthread -lm -lrt
bin_PROGRAMS += bin/vpp_get_metrics