You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/05 01:14:07 UTC

[GitHub] [apisix] tokers commented on a diff in pull request #8434: feat(prometheus): support collect metrics works in the priviledged agent

tokers commented on code in PR #8434:
URL: https://github.com/apache/apisix/pull/8434#discussion_r1039068950


##########
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:
   Add hyperlink for Privileged agent.



-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org