Comments (9)
The thing is the default timeout for the http client is 100 secs and it the service is down it can delay the heath check report. In Beatpulse we had the timeout feature integrated in the HealthChecks core but the AspNetCore healthchecks extensions will have to implement this by themselves until some kind of timeout configuration is provided by the AspNetCore library
from aspnetcore.diagnostics.healthchecks.
Hi @grey007
Not now, sorry! I try to add this feature soon, of course contributions are open on this repo.
from aspnetcore.diagnostics.healthchecks.
Have you think about how to implement it? Because, maybe i will give it a try.
Maybe do some kind of loop for x minutes with x seconds/minutes between check before marks the check as degraded/unhealthy.
from aspnetcore.diagnostics.healthchecks.
I have already implemented it. Pull request pending thought. My approach has been configuring the httpclient timeout property.
from aspnetcore.diagnostics.healthchecks.
@CarlosLanderas Then i misunderstood the request - i thought it should check the endpoint multiple times before marking the check as unhealthy.
from aspnetcore.diagnostics.healthchecks.
@CarlosLanderas any ideas when can we expect a PR?!
from aspnetcore.diagnostics.healthchecks.
On a related note, the UriHealthCheck
currently ignores the passed-in CancellationToken
when calling var response = await httpClient.SendAsync(requestMessage);
from aspnetcore.diagnostics.healthchecks.
Merged in #85. Closing issue
from aspnetcore.diagnostics.healthchecks.
Hi @grey007
A timeout feature is new on 2.2.2 package for Uri healthchecks from a @wdamron PR.
You can check functional tests in order to know how is used
from aspnetcore.diagnostics.healthchecks.
Related Issues (20)
- It should be possible to check the health of the network
- Microsoft Identity Denial of service vulnerability
- AddHealthCheckEndpoint XX000: more than one owned sequence found
- Azure.IoTHub Creates a new ServiceClient causing socket exhaustion
- CosmosDB Health Check endpoint fails to honor timeout paramerter. HOT 1
- Add Milvus client health check
- Issue with HealthCheck URI returning 404 error code HOT 1
- material.css has invalid woff2 file HOT 3
- Ability to include the "data" collection of the healthcheck in the UI columns?
- Increase in Azure Storage costs after upgrading AspNetCore.HealthChecks.AzureStorage to a newer version
- Support for MongoDBStorage HOT 1
- Better docs
- Unhealthy status used for failure rather than the configured failure status
- The messaging healthy check should be utilising the data property to store key information
- The file provider healthy check should be utilising the data property to store key information
- The configuration system healthy check should be utilising the data property to store key information
- The system healthy check should be utilising the data property to store key information
- Make MongoDB health check a retryable operation
- Unexpected timeout exception
- Configure a higher thread priority for health checks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnetcore.diagnostics.healthchecks.