xuminwlt opened a new issue, #7325:
URL: https://github.com/apache/apisix/issues/7325

   ### Description
   
   When the  route's number great than 1000+, the `/prometheus` endpiont and 
prometheus plugin got many error and not work well.
   
   Need some config for metrics view, can do something like `opentelemetry 
metrics view` with view attribute's config.
   ```
   code | upstream 服务返回的 HTTP 状态码。
   -- | --
   route | 请求匹配的 route 的 route_id,未匹配,则默认为空字符串。
   matched_uri | 请求匹配的 route 的 uri,未匹配,则默认为空字符串。
   matched_host | 请求匹配的 route 的 host,未匹配,则默认为空字符串。
   service | 与请求匹配的 route 的 service_id。当路由缺少 service_id 时,则默认为 $host。
   consumer | 与请求匹配的 consumer 的 consumer_name。未匹配,则默认为空字符串。
   node | 命中的 upstream 节点 ip。
   ```
   
   BTW, is there any config i can set, enable the prometheus's plugins, and 
make the route's level metrics not collector?


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

Reply via email to