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/02/15 09:39:10 UTC

[GitHub] [apisix] tokers commented on a change in pull request #6327: fix(prometheus): wrong fields in the metrics

tokers commented on a change in pull request #6327:
URL: https://github.com/apache/apisix/pull/6327#discussion_r806633524



##########
File path: apisix/plugins/prometheus/exporter.lua
##########
@@ -87,6 +87,9 @@ function _M.init()
             "Number of HTTP connections",
             {"state"})
 
+    metrics.requests = prometheus:gauge("http_requests_total",
+            "The total number of client requests")

Review comment:
       ```suggestion
               "The total number of client requests since APISIX started")
   ```




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