Giter Site home page Giter Site logo

neuroforgede / docker-engine-events-exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbadia/docker-events-exporter

12.0 4.0 3.0 41 KB

Expose docker API events to prometheus

License: Apache License 2.0

Python 96.64% Dockerfile 3.36%

docker-engine-events-exporter's Issues

docker image for ARM

Hi,
thanks for your code!

would it be possible a build of the docker image for ARM ?

Cleanup events after some time if they have not increased

Currently because the way we export metrics, we keep generating new timeseries labels that are never cleaned up even though they don't change. This should not be this way.

Instead we should keep track when we set up a metric and clean up the metric after some time has passed.

use docker.client.from_env() to be able to specify docker socket proxy as DOCKER_HOST

Hi, I just started using your wonderful docker swarm tools (via promswarm).

I would like to use the docker socket proxy to avoid having to bind the socket to this container (and to the other exporters, but I'm starting from this one).

from what I gathered looking at the source code, the DockerClient is from the docker python sdk, and from its documentation I learned that there's the from_env() function that reads some parameters from environment variables.

using that function would unlock the usage of the socket proxy by setting DOCKER_HOST=tcp://docker_socket_proxy:2375.

Would you accept a PR for this?

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.