Giter Site home page Giter Site logo

Comments (4)

HON95 avatar HON95 commented on August 14, 2024 2

pushgateway is an alternative way of handling this scenario, to avoid feature-creeping pull-based collection semantics into a push-based solution.

(Stumbled upon this while procrastinating.)

EDIT: Remote write is another solution which might be more appropriate if implemented properly.

from skogul.

KristianLyng avatar KristianLyng commented on August 14, 2024

I have been meaning to write a http sender that's poll-based, which keeps the latest metrics of some sort and exposes them on demand, to support hooking in to Prometheus.

This would be a more general solution, and I don't think it's that difficult to write. Give me a few weeks and I'll see if I can't throw something together.

from skogul.

holene avatar holene commented on August 14, 2024

Meteorologisk institutt calling, just checking the status on the Prometheus endpoint. That would solve a lot of problems for us 😊

from skogul.

HON95 avatar HON95 commented on August 14, 2024

Just commenting to withdraw my suggestion from 1.5 years ago.

While using push-based toward Prometheus is an option that could be cleaner for the Skogul side, it's a suboptimal hack seen from the Prometheus side (as probably mentioned in the both those links). A configurable metrics endpoint as an implicit feature flag and using the Go client lib would be much more "standard". Or just generating the Prometheus timeseries manually using the plaintext exposition format to avoid the dependency, but then you wouldn't get e.g. automatic Go process metrics or the more efficient protobuf exposition format for free.

from skogul.

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.