Comments (3)
Hey @hanzvanaardt, the dashboard can let you filter the logs for a dapr sidecar to only display errors. would you like something more proactive than that?
from dashboard.
This can be an interesting issue, although it would be hard for dashboard to identify a component causing daprd not to start up if daprd is not running. In K8s, it might be easier if we inspect the daprd logs.
To fix this, I propose the following:
- Change daprd to start up instead of crashing when a required component does not start but don't serve any of the APIs.
- The metadata API should still be accessible and surface a number of different health statuses and metrics, including components that failed to load.
- Daprd reports unhealthy when required components don't load, so K8s can restart container as designed.
- Change dashboard to probe each running sidecar metadata API to consolidate the health signals.
from dashboard.
This can be an interesting issue, although it would be hard for dashboard to identify a component causing daprd not to start up if daprd is not running. In K8s, it might be easier if we inspect the daprd logs.
To fix this, I propose the following:
- Change daprd to start up instead of crashing when a required component does not start but don't serve any of the APIs.
- The metadata API should still be accessible and surface a number of different health statuses and metrics, including components that failed to load.
- Daprd reports unhealthy when required components don't load, so K8s can restart container as designed.
- Change dashboard to probe each running sidecar metadata API to consolidate the health signals.
In the past we let daprd
ignore failing components by default and continue to init, and got a lot of feedback that the sidecar should crash.
For that purpose, we enabled the ignoreErrors
field on a Component so that users can explicitly let the sidecar continue if a component fails to init.
from dashboard.
Related Issues (20)
- Ability to view resiliency policies and subscriptions
- Wrong Dapr runtime version on About menu HOT 1
- Feat/dashboard supports random port
- dotnet api running with https urls won't show in Dashboard; is it normal ?
- Support querying of logs across all replica instances
- Show hosted actor types and count across replicas
- Same application view details page HOT 2
- Vulnerabilities exist for unauthorized access to sensitive information and application closure
- SERVER_BASE_HREF not working HOT 1
- Registered actors are not visible on the dashboard application page
- Authentication and authorization in DAPR dashboard
- StatefulSet applications not showing on Dapr Dashboard HOT 2
- Use logger instead of fmt.Println() HOT 1
- Project name must not be empty when running in docker compose HOT 1
- Surface Error Messages
- Show subscribed pubsub topics in application view of Dapr Dashboard
- Http port and grpc port are not correct under docker-compose mode
- Is ha.enabled supported in dashboard helm chart?
- [Helm Chart] Allow Annotations To Be Set on Ingress
- Add Parsing for docker-compose.override.yml file
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 dashboard.