Comments (11)
Are you check the samples? UI is working well, we have a issue with exception serialization, and working on it!
from aspnetcore.diagnostics.healthchecks.
v2.2.2 / latest version of Chrome
variable A
A.filter
from aspnetcore.diagnostics.healthchecks.
Related issue: #16
from aspnetcore.diagnostics.healthchecks.
Hi @espenrl
Can you try 2.2.2 version of the UI.Client and UI and check if the issue is solved?
from aspnetcore.diagnostics.healthchecks.
The same happens in latest version of Edge.
from aspnetcore.diagnostics.healthchecks.
The sample project for UI works for you? Can you create a repro?
Other guys are using the UI without issues
from aspnetcore.diagnostics.healthchecks.
My bad. I had this setting pointing directly at the health endpoint. The confusing part was that it almost worked and I thought it was a polyfill issue (the json for the UI api endpoint and the health endpoint are almost the same). Thanks for the help!
from aspnetcore.diagnostics.healthchecks.
@espenrl thank you for the explanation. Exactly, the error .Filter of undefined is because the answer from the UI middleware returns a list and if you call directly to the health endpoint is an object. The UI should always call to the UI endpoint in order to work properly.
Thanks for the explanation. I Close the issue :)
from aspnetcore.diagnostics.healthchecks.
@CarlosLanderas I have everything right but still getting this TypeError: A.filter is not a function error.
Here are my config:
app.UseHealthChecks("/health", new HealthCheckOptions()
{
Predicate = _ => true,
ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse
})
.UseHealthChecksUI(setup =>
{
setup.ApiPath = "/health";
setup.UIPath = "/health-ui";
});
"HealthChecksUI": { "HealthChecks": [ { "Name": "HTTP Basic", "Uri": "http://localhost:5000/health" } ], "Webhooks": [], "EvaluationTimeOnSeconds": 10, "MinimumSecondsBetweenFailureNotifications": 60 }
and the response coming from server is:
{"status":"Healthy","totalDuration":"00:00:00.0005566","entries":{"Database":{"data":{},"duration":"00:00:00.0005068","status":"Healthy"}}}
In the browser I am looking in http://localhost:5000/health-ui
from aspnetcore.diagnostics.healthchecks.
@panna-ahmed same here... the server is returning a json the UI don't understand.
And taking a look at the source code AspNetCore.Diagnostics.HealthChecks\src\HealthChecks.UI\client\components\LivenessPage.tsx
the input is really wrong. The ResponseWriter = UIResponseWriter.WriteHealthCheckUIResponse
is not sending the correct json to the UI.
from aspnetcore.diagnostics.healthchecks.
@panna-ahmed please check the documentation, you are setting the UI API to the same path of the healthchecks endpoint. That's why the UI is not retrieving the correct data.
Change the UI API path do they don't collide.
from aspnetcore.diagnostics.healthchecks.
Related Issues (20)
- Provide a Hyper-V health package
- 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
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.