Giter Site home page Giter Site logo

Comments (7)

posix4e avatar posix4e commented on May 4, 2024 1

I had always hoped this day would come https://github.com/posix4e/rust-metrics. The library is really fine grained. You only need Prometheus if you want them. I'm also happy to donate this code or adapt it as people wish.

from tokio.

posix4e avatar posix4e commented on May 4, 2024 1

Hello everyone @durch is happy to help do this...

from tokio.

lunemec avatar lunemec commented on May 4, 2024

I suggest implementing prometheus metrics which are used by most companies for production server monitoring.

from tokio.

yazaddaruvala avatar yazaddaruvala commented on May 4, 2024

@lunemec I can see why you brought that point up in this thread. However, I didn't intend for this thread to be about log formats. Ideally, if we get the in memory model/code interface for Metrics correct, any application should be able to format those objects to the logs in any way they need.

To be more explicit:
Off topic: Log formats, Loggers, Log Processing/Analytics

  • How do we end up getting the metrics into the log files?
  • What do the log files look like?

On topic: The model/interface/implementation of Metrics.

  • What does a struct Metrics { ... } look like?
  • How does Metrics get created/populated in an async environment?
    • Can this be done without allocations?
  • Can we collect/expose metrics for sub-tasks, in the primary-task?

from tokio.

lunemec avatar lunemec commented on May 4, 2024

Oh, sorry you are right, this is about a way to collect all these metrics (generally) ...
thank you for the clarification.

from tokio.

carllerche avatar carllerche commented on May 4, 2024

Closing this due to inactivity. I would say that this behavior can probably be implemented in a standalone crate and mature separately.

from tokio.

posix4e avatar posix4e commented on May 4, 2024

from tokio.

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.