This is an automated email from the ASF dual-hosted git repository. gmurthy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push: new 79c779f DISPATCH-1562: Changed the names of prometheus metrics to be in line with prometheus recommendation. This closes #683 79c779f is described below commit 79c779f5087c06eb6d22d86ca3c1abce5e9e2075 Author: Ganesh Murthy <gmur...@apache.org> AuthorDate: Thu Feb 13 14:08:41 2020 -0500 DISPATCH-1562: Changed the names of prometheus metrics to be in line with prometheus recommendation. This closes #683 --- src/http-libwebsockets.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/http-libwebsockets.c b/src/http-libwebsockets.c index 56aaa53..f47b556 100644 --- a/src/http-libwebsockets.c +++ b/src/http-libwebsockets.c @@ -480,28 +480,28 @@ static int stats_get_links_blocked(qdr_global_stats_t *stats) { return stats->li static int stats_get_deliveries_redirected_to_fallback(qdr_global_stats_t *stats) { return stats->deliveries_redirected_to_fallback; } static struct metric_definition metrics[] = { - {"connections", "gauge", stats_get_connections}, - {"links", "gauge", stats_get_links}, - {"addresses", "gauge", stats_get_addrs}, - {"routers", "gauge", stats_get_routers}, - {"link_routes", "gauge", stats_get_link_routes}, - {"auto_links", "gauge", stats_get_auto_links}, - {"presettled_deliveries", "counter", stats_get_presettled_deliveries}, - {"dropped_presettled_deliveries", "counter", stats_get_dropped_presettled_deliveries}, - {"accepted_deliveries", "counter", stats_get_accepted_deliveries}, - {"released_deliveries", "counter", stats_get_released_deliveries}, - {"rejected_deliveries", "counter", stats_get_rejected_deliveries}, - {"modified_deliveries", "counter", stats_get_modified_deliveries}, - {"deliveries_ingress", "counter", stats_get_deliveries_ingress}, - {"deliveries_egress", "counter", stats_get_deliveries_egress}, - {"deliveries_transit", "counter", stats_get_deliveries_transit}, - {"deliveries_ingress_route_container", "counter", stats_get_deliveries_ingress_route_container}, - {"deliveries_egress_route_container", "counter", stats_get_deliveries_egress_route_container}, - {"deliveries_delayed_1sec", "counter", stats_get_deliveries_delayed_1sec}, - {"deliveries_delayed_10sec", "counter", stats_get_deliveries_delayed_10sec}, - {"deliveries_stuck", "gauge", stats_get_deliveries_stuck}, - {"links_blocked", "gauge", stats_get_links_blocked}, - {"deliveries_redirected_to_fallback", "counter", stats_get_deliveries_redirected_to_fallback} + {"qdr_connections_total", "gauge", stats_get_connections}, + {"qdr_links_total", "gauge", stats_get_links}, + {"qdr_addresses_total", "gauge", stats_get_addrs}, + {"qdr_routers_total", "gauge", stats_get_routers}, + {"qdr_link_routes_total", "gauge", stats_get_link_routes}, + {"qdr_auto_links_total", "gauge", stats_get_auto_links}, + {"qdr_presettled_deliveries_total", "counter", stats_get_presettled_deliveries}, + {"qdr_dropped_presettled_deliveries_total", "counter", stats_get_dropped_presettled_deliveries}, + {"qdr_accepted_deliveries_total", "counter", stats_get_accepted_deliveries}, + {"qdr_released_deliveries_total", "counter", stats_get_released_deliveries}, + {"qdr_rejected_deliveries_total", "counter", stats_get_rejected_deliveries}, + {"qdr_modified_deliveries_total", "counter", stats_get_modified_deliveries}, + {"qdr_deliveries_ingress_total", "counter", stats_get_deliveries_ingress}, + {"qdr_deliveries_egress_total", "counter", stats_get_deliveries_egress}, + {"qdr_deliveries_transit_total", "counter", stats_get_deliveries_transit}, + {"qdr_deliveries_ingress_route_container_total", "counter", stats_get_deliveries_ingress_route_container}, + {"qdr_deliveries_egress_route_container_total", "counter", stats_get_deliveries_egress_route_container}, + {"qdr_deliveries_delayed_1sec_total", "counter", stats_get_deliveries_delayed_1sec}, + {"qdr_deliveries_delayed_10sec_total", "counter", stats_get_deliveries_delayed_10sec}, + {"qdr_deliveries_stuck_total", "gauge", stats_get_deliveries_stuck}, + {"qdr_links_blocked_total", "gauge", stats_get_links_blocked}, + {"qdr_deliveries_redirected_to_fallback_total", "counter", stats_get_deliveries_redirected_to_fallback} }; static size_t metrics_length = sizeof(metrics)/sizeof(metrics[0]); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org