java - Spring Cloud - Config Client slows down metric /health -


i using configserver within spring boot + spring cloud project. used monitor endpoint /health, since configclient asks configserver within every request, invocation of metric "/health" quite slow.

this due fact, every request configserver, 1 calls bitbucket –> entire request chain quite long/slow.

is there way disable check configserver being available? monitor 1 separately.

best fri

not currently. how checking health? can submit issue have property disables health check.

you work around extending configserverhealthindicator , overriding dohealthcheck.

the like:

@bean public configserverhealthindicator configserverhealthindicator(         configservicepropertysourcelocator locator) {     return new myemptyconfigserverhealthindicator(locator); } 

Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -