Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active connections on virtual server #224

Open
marintrooper23 opened this issue Feb 16, 2022 · 1 comment
Open

Active connections on virtual server #224

marintrooper23 opened this issue Feb 16, 2022 · 1 comment

Comments

@marintrooper23
Copy link

Good afternoon. Now the module gives information about active connections in the context of the entire server. Is it possible to make settings in such a way that connections would be given to only one virtual server?
curl http://nginx-host:8060/metrics/format/json | jq
{
"hostName": "nginx-host",
"moduleVersion": "0.1.19.dev.91bdb14",
"nginxVersion": "1.20.1",
"loadMsec": 1644713167997,
"nowMsec": 1644987101340,
"connections": {
"active": 2,
"reading": 0,
"writing": 1,
"waiting": 1,
"accepted": 185038,
"handled": 185038,
"requests": 221028
}
At the moment, the module gives information about connections only in the context of the entire server

@vozlt
Copy link
Owner

vozlt commented Sep 5, 2022

The feature is directly taken from the ngx_http_stub_status_module function of nginx.
For that reason, it seems difficult to implement that feature at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants