Garry24 opened a new issue, #9324:
URL: https://github.com/apache/apisix/issues/9324
### Description
When making a request to apisix, if the requested URI matches a route, the
`matched_uri` can be seen in the `apisix_http_status ` metric exposed by
Prometheus. e.g.
>"apisix_http_status{code="200", container="apisix", instance="xxxxx:9091",
matched_uri="/foo/bar", namespace="apisix", node="xxxx",
pod="apisix-server-smw5t", route="foo-bar-route", service="foo-bar-service"}"
However, when the request does not match any route and results in a 404
error, the requested URI causing the error will not be recorded in the
`apisix_http_status` metric.
How can I get 404 uri from prometheus metrics?
### Environment
- APISIX version (run `apisix version`): 2.15.1
--
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]