dgff07 opened a new issue #6569:
URL: https://github.com/apache/apisix/issues/6569
### Issue description
We activated the Prometheus plugin and when we saw the metrics about the
Nginx connections, the total connections shows a strange value:
```
# HELP apisix_nginx_http_current_connections Number of HTTP connections
# TYPE apisix_nginx_http_current_connections gauge
apisix_nginx_http_current_connections{state="accepted"} 16997
apisix_nginx_http_current_connections{state="active"} 3
apisix_nginx_http_current_connections{state="handled"} 16997
apisix_nginx_http_current_connections{state="reading"} 0
apisix_nginx_http_current_connections{state="total"} 5108 «««««««««««« is
this value correct?
apisix_nginx_http_current_connections{state="waiting"} 2
apisix_nginx_http_current_connections{state="writing"} 1
```
**Is the value of `apisix_nginx_http_current_connections{state="total"}`
correct? This because it has a lower value than the others**
I tried to check the documentation, but I didn't find so much information
about the metrics exposed.
Thank you for checking this
### Environment
- apisix version (cmd: `apisix version`): 2.12.0
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
openresty/1.19.9.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]