Git Product home page Git Product logo

Comments (4)

alram avatar alram commented on May 24, 2024 1

I double checked and I see both (ceph_osd_weight is actually ceph_osd_reweight) in the code on Jewel and Luminous.
On Luminous:

# curl -s localhost:9128/metrics | egrep 'ceph_osd_reweight|ceph_osd_crush_weight' | grep -w osd.90
ceph_osd_crush_weight{cluster="object01",osd="osd.90"} 7.276978
ceph_osd_reweight{cluster="object01",osd="osd.90"} 1

I cannot test Jewel but I do see both values in the code as well. Can you check the logs for any errors?

from ceph_exporter.

meons avatar meons commented on May 24, 2024 1

I just checked on my side and you are right, those metrics are well returned by ceph_exporter on both versions.
My issue should be on prometheus scraping or grafana side. Sorry for the wrong positive, I will close this issue.

from ceph_exporter.

alram avatar alram commented on May 24, 2024

@meons This is the expected behavior

  • ceph_osd_crush_weight returns the CRUSH weight (i.e. WEIGHT is ceph osd df, adjusted with ceph osd crush reweight XX)
  • ceph_osd_weight return the OSD weight (REWEIGHT in ceph osd df, adjusted with ceph osd reweight XX)

Let me know if I'm missing something from your content but I don't see an issue there

from ceph_exporter.

meons avatar meons commented on May 24, 2024

@alram I agree but the problem here is that on ceph 0.94.9 I only have the metric ceph_osd_crush_weight and on ceph 12.2.12 only ceph_osd_weight.

I should have both metrics on both versions or at least one identical metric on both versions...
Is it more clear?

from ceph_exporter.

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.