Giter Club home page Giter Club logo

Comments (4)

jberstler avatar jberstler commented on May 31, 2024

Other statistical information is also valuable (e.g. average time to process incoming messages, size of messages processed, etc.) but these might be better handled by statistical analysis of the log messages, rather than actively computing these inside the feed service provider itself.

from openwhisk-package-kafka.

jberstler avatar jberstler commented on May 31, 2024

I suspect this will need to be implemented as a separate thread that wakes up every now and then, computes and records the required information.

from openwhisk-package-kafka.

dubee avatar dubee commented on May 31, 2024

@bjustin-ibm, how do you feel about having a separate thread running that periodically outputs the health information to the logs?

from openwhisk-package-kafka.

jberstler avatar jberstler commented on May 31, 2024

@dubeejw I suspect that will be necessary in order to provide "average" stats. However, it is possible that the /health endpoint could simply return the current values, and some other monitoring system will handle computing averages by periodically polling the /health endpoint and recording the results.

For now, let's just make it return the instantaneous values. Later, if we have a need, we can compute/record values using a separate thread.

from openwhisk-package-kafka.

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.