Git Product home page Git Product logo

Comments (8)

cristicalin avatar cristicalin commented on May 28, 2024

Those metrics are gathered from local daemons running on each node whereas ceph_exporter is designed to work only with the monitors at the moment.

I suppose an easier way to do what you want is to make a small json parser to call from cron and just dump the output to a text file to be served by a node_exporter instead using the textfile capability.

A similar issue is extracting metrics from the rados gateway which also uses a separate API.

from ceph_exporter.

mbrt avatar mbrt commented on May 28, 2024

Yeah, that is definitely possible. I still think that having a separate executable or a different execution mode for the ceph_exporter to make it run on every osd node would be useful, because by default it provides only basic information, so it's somehow incomplete. Is it something to be considered for the future, or out of scope?

from ceph_exporter.

neurodrone avatar neurodrone commented on May 28, 2024

Different execution mode is something we can surely add. Currently in our setup, we have a different binary that extracts stats from perf dump. I am also planning to keep tabs on prometheus module of ceph-mgr as this work might be moot if the ability to extract OSD-level perf stats can be added to ceph-mgr.

from ceph_exporter.

mbrt avatar mbrt commented on May 28, 2024

@neurodrone I'm also looking at ceph-mgr, but first we have to upgrade to Luminous 😄. Alright, I'll keep this issue open then, because it seems to make some sense.

from ceph_exporter.

Sean10 avatar Sean10 commented on May 28, 2024

Is there any result?

from ceph_exporter.

alram avatar alram commented on May 28, 2024

As far as I can tell, there's still no way to access these metrics from ceph-mgr. Closing this issue since it doesn't look like it's going to be available any time soon.

from ceph_exporter.

madushan1000 avatar madushan1000 commented on May 28, 2024

You can get these metrics on ceph masters by running ceph tell osd.\* perf dump, but not sure if that's a good solution.

from ceph_exporter.

baergj avatar baergj commented on May 28, 2024

@madushan1000, yes, it turns out that as of Ceph Octopus these are available via ceph tell. If this issue is still valuable to someone, they should feel free to re-open it for eventual investigation into feasibility for Octopus+ support.

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.