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/02 03:42:36 UTC

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

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


##########
docs/en/latest/plugins/prometheus.md:
##########
@@ -102,6 +102,9 @@ plugin_attr:
 
 You can then expose it by using the [public-api](public-api.md) Plugin.
 
+Note:  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:
   More note: This feature requires users to use `apisix-base` instead of the official version of openresty.



-- 
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