spacewander commented on a change in pull request #6579:
URL: https://github.com/apache/apisix/pull/6579#discussion_r825447390
##########
File path: apisix/plugins/prometheus/exporter.lua
##########
@@ -171,6 +171,8 @@ function _M.log(conf, ctx)
metrics.bandwidth:inc(vars.bytes_sent,
gen_arr("egress", route_id, service_id, consumer_name, balancer_ip))
+
+ core.log.info("prometheus run report")
Review comment:
A hit will increase the metric:
https://github.com/apache/apisix/blob/1ac7166e80fdd502cc6a8a60ef58f415d3c0e56c/apisix/plugins/prometheus/exporter.lua#L153
There is no need to add another way.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]