GithubHelp home page GithubHelp logo

dex's Introduction

github stats

dex's People

Contributors

0xerr0r avatar dependabot-preview[bot] avatar dependabot[bot] avatar gitschorsch avatar roemer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dex's Issues

dex_block_io errors while serving metrics

I ran the container with docker-compose as the readme file, but when I run curl on the port, I get the following:

An error has occurred while serving metrics:

38 error(s) occurred:
* collected metric "dex_block_io_read_bytes" { label:<name:"container_name" value:"node-exporter" > counter:<value:1.292288e+07 > } was collected before with the same name and label values
* collected metric "dex_block_io_write_bytes" { label:<name:"container_name" value:"node-exporter" > counter:<value:0 > } was collected before with the same name and label values
* collected metric "dex_block_io_read_bytes" { label:<name:"container_name" value:"prometheus" > counter:<value:4096 > } was collected before with the same name and label values
* collected metric "dex_block_io_write_bytes" { label:<name:"container_name" value:"prometheus" > counter:<value:4096 > } was collected before with the same name and label values
.......

And it continues having the same errors for those 2 metrics on the rest of my containers.

Emitting metrics for cpu usage seconds

For my home lab, I've got a few layers of virtualization involved (Proxmox, LXC, Docker, etc.). Measuring the CPU usage percent in my situation doesn't easily surface the overall system utilization being consumed by containers. Instead, having metrics for CPU usage seconds like what cadvisor also emits would be more usable in my situaiton.

I still see the benefit of CPU usage percent, such as detecting if a container has constrained resources. ps: dex is awesome! It's great to use it as opposed to cadvisor.

Error -- client version 1.41 is too new

Trying this on a new centos 7.9 machine. But I get following error

docker logs -f dex
time="2022-05-13T14:27:56Z" level=info msg="Server is ready to handle requests at :8080"
time="2022-05-13T14:28:10Z" level=error msg="can't list containers: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.37"
time="2022-05-13T14:28:25Z" level=error msg="can't list containers: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.37"
time="2022-05-13T14:28:40Z" level=error msg="can't list containers: Error response from daemon: client version 1.41 is too new. Maximum supported API version is 1.37"

I even tried to export 1.37 as the API version but still no luck
export DOCKER_API_VERSION=1.37

docker --version
Docker version 18.03.1-ce, build 9ee9f40

Anything we can do to fix this??

IO write and read always zero

Hi, does anyone know if I need to change something to be able to read this data?

example of metrics output:

# HELP dex_block_io_read_bytes Block I/O read bytes
# TYPE dex_block_io_read_bytes counter
dex_block_io_read_bytes{container_name="adminer"} 0
dex_block_io_read_bytes{container_name="authelia"} 0
dex_block_io_read_bytes{container_name="blocky"} 0
dex_block_io_read_bytes{container_name="changedetection"} 0
dex_block_io_read_bytes{container_name="checkmk"} 0
dex_block_io_read_bytes{container_name="dex"} 0
dex_block_io_read_bytes{container_name="dozzle"} 0
dex_block_io_read_bytes{container_name="duplicacy"} 0
dex_block_io_read_bytes{container_name="esphome"} 0
dex_block_io_read_bytes{container_name="frigate"} 0
dex_block_io_read_bytes{container_name="go-whats"} 0
dex_block_io_read_bytes{container_name="gogs"} 0
dex_block_io_read_bytes{container_name="grafana"} 0
dex_block_io_read_bytes{container_name="homeassistant"} 0
dex_block_io_read_bytes{container_name="homer"} 0
dex_block_io_read_bytes{container_name="kuma"} 0
dex_block_io_read_bytes{container_name="mariadb"} 0
dex_block_io_read_bytes{container_name="mongo"} 0
dex_block_io_read_bytes{container_name="mongo-backup"} 0
dex_block_io_read_bytes{container_name="mosquitto"} 0
dex_block_io_read_bytes{container_name="nightscout"} 0
dex_block_io_read_bytes{container_name="node-exporter"} 0
dex_block_io_read_bytes{container_name="nodered"} 0
dex_block_io_read_bytes{container_name="pgbackups"} 0
dex_block_io_read_bytes{container_name="portainer"} 0
dex_block_io_read_bytes{container_name="postgres"} 0
dex_block_io_read_bytes{container_name="prometheus"} 0
dex_block_io_read_bytes{container_name="pwndrop"} 0
dex_block_io_read_bytes{container_name="redis"} 0
dex_block_io_read_bytes{container_name="rifa"} 0
dex_block_io_read_bytes{container_name="rifa-bot"} 0
dex_block_io_read_bytes{container_name="scrutiny"} 0
dex_block_io_read_bytes{container_name="traefik"} 0
dex_block_io_read_bytes{container_name="umi"} 0
dex_block_io_read_bytes{container_name="umipublic"} 0
dex_block_io_read_bytes{container_name="unifi-controller"} 0
dex_block_io_read_bytes{container_name="vaultwarden"} 0
dex_block_io_read_bytes{container_name="watchtower"} 0
dex_block_io_read_bytes{container_name="wg-ui"} 0
dex_block_io_read_bytes{container_name="whoogle"} 0
dex_block_io_read_bytes{container_name="wyze-bridge"} 0
dex_block_io_read_bytes{container_name="zigbee2mqtt"} 0
# HELP dex_block_io_write_bytes Block I/O write bytes
# TYPE dex_block_io_write_bytes counter
dex_block_io_write_bytes{container_name="adminer"} 0
dex_block_io_write_bytes{container_name="authelia"} 0
dex_block_io_write_bytes{container_name="blocky"} 0
dex_block_io_write_bytes{container_name="changedetection"} 0
dex_block_io_write_bytes{container_name="checkmk"} 0
dex_block_io_write_bytes{container_name="dex"} 0
dex_block_io_write_bytes{container_name="dozzle"} 0
dex_block_io_write_bytes{container_name="duplicacy"} 0
dex_block_io_write_bytes{container_name="esphome"} 0
dex_block_io_write_bytes{container_name="frigate"} 0
dex_block_io_write_bytes{container_name="go-whats"} 0
dex_block_io_write_bytes{container_name="gogs"} 0
dex_block_io_write_bytes{container_name="grafana"} 0
dex_block_io_write_bytes{container_name="homeassistant"} 0
dex_block_io_write_bytes{container_name="homer"} 0
dex_block_io_write_bytes{container_name="kuma"} 0
dex_block_io_write_bytes{container_name="mariadb"} 0
dex_block_io_write_bytes{container_name="mongo"} 0
dex_block_io_write_bytes{container_name="mongo-backup"} 0
dex_block_io_write_bytes{container_name="mosquitto"} 0
dex_block_io_write_bytes{container_name="nightscout"} 0
dex_block_io_write_bytes{container_name="node-exporter"} 0
dex_block_io_write_bytes{container_name="nodered"} 0
dex_block_io_write_bytes{container_name="pgbackups"} 0
dex_block_io_write_bytes{container_name="portainer"} 0
dex_block_io_write_bytes{container_name="postgres"} 0
dex_block_io_write_bytes{container_name="prometheus"} 0
dex_block_io_write_bytes{container_name="pwndrop"} 0
dex_block_io_write_bytes{container_name="redis"} 0
dex_block_io_write_bytes{container_name="rifa"} 0
dex_block_io_write_bytes{container_name="rifa-bot"} 0
dex_block_io_write_bytes{container_name="scrutiny"} 0
dex_block_io_write_bytes{container_name="traefik"} 0
dex_block_io_write_bytes{container_name="umi"} 0
dex_block_io_write_bytes{container_name="umipublic"} 0
dex_block_io_write_bytes{container_name="unifi-controller"} 0
dex_block_io_write_bytes{container_name="vaultwarden"} 0
dex_block_io_write_bytes{container_name="watchtower"} 0
dex_block_io_write_bytes{container_name="wg-ui"} 0
dex_block_io_write_bytes{container_name="whoogle"} 0
dex_block_io_write_bytes{container_name="wyze-bridge"} 0
dex_block_io_write_bytes{container_name="zigbee2mqtt"} 0

btw thanks for this software.

Grafana 8 Dashboard

Hi i am a somewhat new and somewhat happy dex user :)
And it so happened that I created my own Grafana dashboard based on the latest Grafana 8 panels. I would be happy to share those if you are interested?

upper part:
dex1

lower part:
dex2

Kind regards

No data in the Grafana

Queries on Prometheus work fine but when I am trying to get the Grafana dashboard working, I see no data for each and every chart. The grafana docker logs reports this as one of the errors

logger=tsdb.prometheus t=2022-03-02T05:02:15.29+0000 lvl=eror msg="Exemplar query failed" query="count(dex_container_running{container_name=~"()"}) by (container_name)" err="Get "http://10.2.14.252:9090/api/v1/query_exemplars?end=1646197200&query=count%28dex_container_running%7Bcontainer_name%3D~%22%28%29%22%7D%29+by+%28container_name%29&start=1646186400\": context canceled"

Any inputs??

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.