GithubHelp home page GithubHelp logo

No data in the Grafana about dex HOT 18 CLOSED

0xerr0r avatar 0xerr0r commented on June 30, 2024
No data in the Grafana

from dex.

Comments (18)

0xERR0R avatar 0xERR0R commented on June 30, 2024

Grafana loads data from prometheus. If you see the data in the Prometheus UI, it could be the communication problem between Prometheus and Grafana. Is 10.2.14.252 reachable from Grafana?

from dex.

panks21 avatar panks21 commented on June 30, 2024

It is reachable. Grafana is pulling data from same prometheus for other apps like blocky / node-exporter
Here are the versions if it helps
Grafana - 8.4.2
Prometheus - 2.33.4

from dex.

panks21 avatar panks21 commented on June 30, 2024

There is some issue with the query. If I run the same query in Prometheus UI, I get error as well.
count(dex_container_running{container_name=~"$container"})

In above query, it doesn't like the variable $container

There is data in Prometheus

dex_container_running{container_name="blocky", instance="10.2.14.252:8386", job="dex-Dietpi314"}

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

Did you create your dashboard by importing of this file: https://github.com/0xERR0R/dex/blob/master/docs/grafana8.json ?

from dex.

panks21 avatar panks21 commented on June 30, 2024

Yes that one as well as the new grafana8 dashboard... I have both but "No Data" in both of them

https://github.com/0xERR0R/dex/blob/master/docs/grafana8_2.json

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

Do you have "dex_block_io_read_bytes" metric values in prometheus?

from dex.

panks21 avatar panks21 commented on June 30, 2024

No Following is what I have

Screenshot 2022-03-07 at 4 49 53 PM

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

Please try to change the variable container (Dashboard settings -> variables -> conainer): set "dex_memory_usage_bytes" as query:

image

from dex.

panks21 avatar panks21 commented on June 30, 2024

Perfect..
This works.. thanks for the tip.

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

dex doesn't export the "dex_block_io_read_bytes" metric. Do you see some block I/O values if you execute "docker stats" on the machine?

from dex.

panks21 avatar panks21 commented on June 30, 2024

Yes I do
Screenshot 2022-03-07 at 10 00 07 PM

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

That looks good. Do you have any errors in the log output? Maybe the same reason as described in #22?

from dex.

panks21 avatar panks21 commented on June 30, 2024

No errors reported in the logs. Thats all I have in the docker logs

time="2022-03-10T15:05:29Z" level=info msg="Server is ready to handle requests at :8080"

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

can you try the latest version please? This should report "dex_block_io_read_bytes"

from dex.

panks21 avatar panks21 commented on June 30, 2024

Indeed. It is reporting "dex_block_io_read_bytes"

Screenshot 2022-03-11 at 10 07 27 PM

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

Ok, that means, the original version of the dashboard should work now on your system

from dex.

panks21 avatar panks21 commented on June 30, 2024

Yup!
I reverted back to the original settings.. it is working

from dex.

0xERR0R avatar 0xERR0R commented on June 30, 2024

fixed via #22

from dex.

Related Issues (7)

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.