You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "sergey-safarov (via GitHub)" <gi...@apache.org> on 2026/01/15 15:59:26 UTC
[I] [ENHANCEMENT]: exclude health check requests from stats counting [couchdb]
sergey-safarov opened a new issue, #5850:
URL: https://github.com/apache/couchdb/issues/5850
### Provide a brief overview of what the new feature is all about
Before CouchDB shutdown I want make sure load-balancer do not send more client request.
I use script which enable `nolb` maintenance mode and waiting when load-balancer move client request to other node.
Script can be found at https://github.com/apache/couchdb-docker/issues/286
To make sure no more HTTP requests on the node used stats counter like
```sh
curl -s -u admin:pass \
http://127.0.0.1:5984/_node/_local/_stats/couchdb/httpd/requests| jq
{
"value": 20569549,
"type": "counter",
"desc": "number of HTTP requests"
}
```
When counter is not increased more then CouchDB node can be shutdown.
I found request to health endpoint `/_up` also increase statistic counter in request above.
### Tell us how the new feature should work. Be specific
Could you exclude request to health endpoint `/_up` from counting.
To keep old behavior it can be done configurable.
### Not required. Suggest how to implement the addition or change
_No response_
### Additional Context
_No response_
--
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@couchdb.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [ENHANCEMENT]: exclude health check requests from stats counting [couchdb]
Posted by "rnewson (via GitHub)" <gi...@apache.org>.
rnewson commented on issue #5850:
URL: https://github.com/apache/couchdb/issues/5850#issuecomment-3755817209
Sorry, we're not going to stop counting valid requests just because it is easier for you to detect a condition specific to you that you can (and should) detect through other means.
--
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@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [ENHANCEMENT]: exclude health check requests from stats counting [couchdb]
Posted by "rnewson (via GitHub)" <gi...@apache.org>.
rnewson closed issue #5850: [ENHANCEMENT]: exclude health check requests from stats counting
URL: https://github.com/apache/couchdb/issues/5850
--
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@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org