summaryrefslogtreecommitdiffstats
path: root/src/plugins/prom/prom.h
AgeCommit message (Collapse)AuthorFilesLines
2022-02-03prom: add option to set stat name prefixFlorin Coras1-1/+9
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I8b40d4e935c9280ff89a3d0f8b30bd7beac1e08a
2022-02-02prom: basic builtin prometheus stats exporterFlorin Coras1-0/+58
This is a vpp builtin alternative, not a replacement, for the existing vpp_prometheus_exporter. The plugin works by registering with http_static as a url handler for stats.prom and handles requests by scraping the stats segment in the main thread. It will therefore consume vpp process cpu cycles. By default the plugin is disabled. To enable, first start the http static server an then use "prom enable" cli. Type: feature Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If6888e965d1b2361f6a5546586068213d37079d1