0xERR0R / dex

Prometheus Docker EXporter
52 stars 8 forks source link

dex_block_io errors while serving metrics #22

Closed viandika closed 2 years ago

viandika commented 2 years ago

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.

0xERR0R commented 2 years ago

It looks like docker returns multiple read and write values for BlockIO stats. Which OS and Docker version do you have?

viandika commented 2 years ago

I'm using: OS: Ubuntu 20.04.3 LTS x86-64 Docker: 20.10.12, build e91ed57 and latest dex image version from docker

0xERR0R commented 2 years ago

I couldn't reproduce the error on my systems. Can you try the latest image please?