Git Product home page Git Product logo

Comments (4)

cristicalin avatar cristicalin commented on May 28, 2024

ceph_exporter uses the go-ceph (https://github.com/ceph/go-ceph) library which does have an rbd client.
Looking at the code (https://github.com/ceph/go-ceph/blob/master/rbd/rbd.go#L297-L317) it seems that there is a Stat() function that provides a size, an object size and a number of objects.
Are these metrics actually relevant?

from ceph_exporter.

fffffreedom avatar fffffreedom commented on May 28, 2024

@cristicalin
we want to monitor the used size of an image, so as to resize the images if the available size is not enough.
the code is not right for us, but thank you all the same

from ceph_exporter.

tonobo avatar tonobo commented on May 28, 2024

@fffffreedom @cristicalin I'm currently working on usage tracking by using rbd_diff_iterate2. But I would suggest to add a seperated metrics path e.g /rbdmetrics to specify a lower scrape ratio. Next day's i'll open a pull request for go-ceph. Another alternative is to parameterize the metric collectors to and enable the rbd collector by default.

from ceph_exporter.

sosodev avatar sosodev commented on May 28, 2024

As mentioned above this doesn't really fit ceph exporter but is better suited for custom tooling using go-ceph.

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.