Giter Club home page Giter Club logo

Comments (3)

yaron2 avatar yaron2 commented on August 16, 2024

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.

artursouza avatar artursouza commented on August 16, 2024

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:

  1. Change daprd to start up instead of crashing when a required component does not start but don't serve any of the APIs.
  2. The metadata API should still be accessible and surface a number of different health statuses and metrics, including components that failed to load.
  3. Daprd reports unhealthy when required components don't load, so K8s can restart container as designed.
  4. Change dashboard to probe each running sidecar metadata API to consolidate the health signals.

from dashboard.

yaron2 avatar yaron2 commented on August 16, 2024

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:

  1. Change daprd to start up instead of crashing when a required component does not start but don't serve any of the APIs.
  2. The metadata API should still be accessible and surface a number of different health statuses and metrics, including components that failed to load.
  3. Daprd reports unhealthy when required components don't load, so K8s can restart container as designed.
  4. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.