tzssangglass commented on code in PR #8434: URL: https://github.com/apache/apisix/pull/8434#discussion_r1039092618
########## docs/en/latest/plugins/prometheus.md: ########## @@ -102,6 +102,15 @@ plugin_attr: You can then expose it by using the [public-api](public-api.md) Plugin. +:::info IMPORTANT + +If the Prometheus plugin collects too many metrics, it will take CPU resources to calculate the metric data when getting the metrics via URI, which may affect APISIX to process normal requests. To solve this problem, APISIX exposes the URI and calculates the metrics in the privileged agent. Review Comment: done -- 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]
