Coder Social home page Coder Social logo

Comments (6)

zhengxiaochuan-3 avatar zhengxiaochuan-3 commented on July 18, 2024 4

Looking forward to this https://github.com/MohamedBassem/logdevice-prometheus
@MohamedBassem

from logdevice.

sh00s avatar sh00s commented on July 18, 2024 2

#37 is figured out far enough (StatsPublisherFactory is now a separate plugin) that this should be viable now. The plugin implementation should derive from StatsPublisherFactory:

https://github.com/facebookincubator/LogDevice/blob/5e4cf130b8e90c6fc78b79e4a2cfbf25c7a62cfd/logdevice/common/plugin/StatsPublisherFactory.h#L24

The StatsPublisherFactory instance should create a derivative of StatsPublisher, which should then implement the publish() method that would publish the stats to an external system:

https://github.com/facebookincubator/LogDevice/blob/5e4cf130b8e90c6fc78b79e4a2cfbf25c7a62cfd/logdevice/common/StatsPublisher.h#L31

from logdevice.

MohamedBassem avatar MohamedBassem commented on July 18, 2024 2

Over the weekend, I added some documentation to https://github.com/MohamedBassem/logdevice-prometheus and added a CI there as well. So it's now in a usable form I hope.

from logdevice.

zhaohaidao avatar zhaohaidao commented on July 18, 2024 1

Is there someone working on it?

I want to try to export the stats to prometheus.

from logdevice.

Zepheus avatar Zepheus commented on July 18, 2024

I think we need to figure out issue #37 first before we can properly implement this

from logdevice.

motohedgehog avatar motohedgehog commented on July 18, 2024

@zhaohaidao, I don't think we've someone on it, so feel free to go ahead, we'd appreciate a PR :)

from logdevice.

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.