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 2021/02/22 11:08:43 UTC

[GitHub] [apisix] tokers commented on a change in pull request #3494: docs: update the docs of the prometheus plugin

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



##########
File path: doc/plugins/prometheus.md
##########
@@ -122,12 +122,56 @@ Or you can goto [Grafana official](https://grafana.com/grafana/dashboards/11719)
 
 ### Available metrics
 
-* `Status codes`: HTTP status codes returned by upstream services. These are available per service and across all services.
+* `Status`: HTTP status codes returned by upstream services. These are available per service and across all services.
+
+    Attributes:
+
+    | Name         | Description         |
+    | -------------| --------------------|
+    | code         | The HTTP status code returned by the upstream service. |
+    | route        | The `route_id` of the matched route is requested. If it does not match, the default value is an empty string. |
+    | matched_uri  | The `uri` of the route matching the request, if it does not match, the default value is an empty string. |
+    | matched_host | The `hsot` of the route that matches the request. If it does not match, the default value is an empty string. |

Review comment:
       Typo: `hsot` => `host`.




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

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