Git Product home page Git Product logo

pushgateway-ttl's Introduction

Prometheus Pushgateway(with Time To Live)

The Prometheus Pushgateway exists to allow ephemeral and batch jobs to expose their metrics to Prometheus. Since these kinds of jobs may not exist long enough to be scraped, they can instead push their metrics to a Pushgateway. The Pushgateway then exposes these metrics to Prometheus.

Additionally to promethues pushgateway it address the issue prometheus/pushgateway#117

Using Docker

You can deploy the Pushgateway using the dmathai/prom-pushgateway-ttl Docker image.

For example:

docker pull dmathai/prom-pushgateway-ttl:latest

docker run -d -p 9091:9091 dmathai/prom-pushgateway-ttl:latest --metric.timetolive=60s

Use it

Time To Live

If we pass a argument metric.timetolive at the time of start up(Example : --metric.timetolive=60s), the metrics will be removed from pushgateway after the 'metric.timetolive' from the time of pushing the metric. The clean up jobs runs every 60 sec. So anything below 60 sec will not work.

pushgateway-ttl's People

Contributors

beorn7 avatar prombot avatar weastel avatar juliusv avatar brian-brazil avatar snebel29 avatar sdurrheimer avatar superq avatar simonpasquier avatar roidelapluie avatar discordianfish avatar bernerdschaefer avatar dgl avatar maurorappa avatar kfdm avatar dinumathai avatar jamtur01 avatar grobie avatar like-inspur avatar conr avatar simon04 avatar mrueg avatar glenn-m avatar fabxc avatar hairyhenderson avatar arugal avatar ozhiwei avatar tariq1890 avatar slene avatar sdorin avatar

Watchers

James Cloos avatar  avatar

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.