Code Monkey home page Code Monkey logo

docker_state_exporter's Issues

grafana dashboard

Hello,

Do you have any grafana dashboard for this metrics ?

Thanks :)

Exporter exits when it cannot inspect a container

Hello and thanks for this useful exporter!

We are using it to monitor...the state :) of our containers and have noticed that when it is deployed on a host with ephemeral containers (in our case it is a gitlab-runner), once in a while the exporter exits with message:

{"message":"Error: No such container: 23hg1k34k...

Reading the code, we think that it fails when trying to inspect a container that was just removed (by gitlab-runner).

Though you might get around this by adding a restart policy, it will probably cause alerts to be fired (such as "too-may-restarts" and "prometheus-target-missing").

We could open a PR if you wish though we are not proficient with Go.

Once again thanks for this nice exporter!

Best regards,
Panos

unsupported API ?

#docker version
Client:
Version: 19.03.6-ce
API version: 1.40
Go version: go1.13.4
Git commit: 369ce74
Built: Fri May 29 04:01:26 2020
OS/Arch: linux/amd64
Experimental: false

Server:
Engine:
Version: 19.03.6-ce
API version: 1.40 (minimum version 1.12)
Go version: go1.13.4
Git commit: 369ce74
Built: Fri May 29 04:01:57 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.3.2
GitCommit: ff48f57fc83a8c44cf4ad5d672424a98ba37ded6
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683

error log:
{"address":":8812","message":"Server listening...","severity":"info","timestamp":"2022-01-14T02:42:52.470521503Z"}
{"message":"Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.40","severity":"error","timestamp":"2022-01-14T02:42:52.911369808Z"}

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.