shuaijinchao commented on a change in pull request #6579:
URL: https://github.com/apache/apisix/pull/6579#discussion_r825440126
##########
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:
this is not just for testing purposes. Currently, there is no log output
when prometheus reports data. I think adding this log will also help developers
watch it while developing and debugging.
what do you think?
--
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]