Code Monkey home page Code Monkey logo

Comments (9)

JohnStrunk avatar JohnStrunk commented on June 13, 2024

ping: @sidharthanup @cloudbehl

from gcs.

umangachapagain avatar umangachapagain commented on June 13, 2024

AFAIK this happens because of multiple port forwarding and stuff that happens from pod to inside cluster to outside cluster, all they way up to the host. Which is why maybe Grafana is not able to resolve it initially. @sidharthanup Correct me if I'm wrong.
However, If you create a new Datasource with exact same config from inside the Grafana UI, it works instantly. (This could be documented as a manual fix maybe??)
@cloudbehl Any thoughts on this?

from gcs.

cloudbehl avatar cloudbehl commented on June 13, 2024

@umangachapagain no clues why it is not working now? @sidharthanup any updates from your side?

from gcs.

sidharthanup avatar sidharthanup commented on June 13, 2024

@aravindavk @aruniiird @shtripat Problem seems to be in the gluster-prometheus side..Once GCS is deployed, gluster-prometheus is not exposing any of the gluster metrics, not even the ps ones. One of the latest refactoring PRs must have prevented this. Looking into it.

from gcs.

sidharthanup avatar sidharthanup commented on June 13, 2024

Disregard the previous comment. The metrics are available and exported properly...GCS was deployed incorrectly and hence the above issue. Now I did some debugging and as @JohnStrunk reports the grafana dashboard does not show any metrics:
grafana-default

This is the volume capacity utilization metrics:

grafana-capacitynograph

It seems like volume='$Volume' is where the issue lies. Removing it displays the correct metrics:

grafana-capacityyesgraph

Also specifying volume=<name of gluster volume> yields the correct metrics( as it should):

grafana-with-volname-literal

So it seems like the Volume variable is not being set by gluster mixin. Not just for this metric but the same issue for others as well. @cloudbehl @umangachapagain Could you guys check it out in the gluster mixins side?

from gcs.

umangachapagain avatar umangachapagain commented on June 13, 2024

@anmolsachan Can you verify this? As far as I remember, this wasn't the case when we tested against 0.5.

from gcs.

anmolsachan avatar anmolsachan commented on June 13, 2024

@umangachapagain @sidharthanup Ack, Will verify what's the issue here.

from gcs.

anmolsachan avatar anmolsachan commented on June 13, 2024

@sidharthanup i deployed the GCS setup, I cannot see any gluster_volume* metrics in in prometheus. The grafana dashboards need those metrics for displaying the info.

It seems like volume='$Volume' is where the issue lies. Removing it displays the correct metrics:

$Volume is intended and needs to be there to select different volumes.

Also specifying volume=<name of gluster volume> yields the correct metrics( as it should):

Thats translates to volume='$Volume where $Volume is the selector.

from gcs.

JohnStrunk avatar JohnStrunk commented on June 13, 2024

Are there any updates or associated issues/PRs?

from gcs.

Related Issues (20)

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.