Comments (10)
I agree. It shouldn't be hard to keep ceph_exporter backwards compatible , i.e. both formats.
from ceph_exporter.
@jan--f have you tried out a luminous build with these changes yet? I'm seeing that besides the change in format for messages, all the mon stats have disappeared. Specifically, the section under "health -> health_services -> mons" is gone. Do you know where these stats went? I don't see them in the new mgr status
from ceph_exporter.
To follow up, Sage indicated that he didn't think the mon metrics were being used or needed by anyone, but he could add them back if they are actually helpful.
from ceph_exporter.
For a workaround (at least for the health stats) one can add mon_health_preluminous_compat=true
to ceph.conf.
from ceph_exporter.
hi @jan--f, did the client/recovery/cache I/O output of ceph status --format plain
also get removed or moved elsewhere in Luminous? The lines in this function use the plain status output to look for client io
, recovery io
, and cache io
, but I no longer see them in the luminous output: https://github.com/digitalocean/ceph_exporter/blob/master/collectors/health.go#L741
Any idea how to collect those values still? Client I/O and recovery I/O (but not cache I/O) look to be available per pool with ceph osd pool stats --format=json
, but I'm wondering if those stats are still available top level (aggregate). Thanks!
from ceph_exporter.
Actually I do see client IO in the ceph status
output, but it has to be active to be printed. Same with recovery and cache IO.
Instead of updating the parsing of the plain text, which changed format in luminous, it's probably the best bet to just parse the JSON instead. It appears the format can be gleaned from the client, cache, and recovery functions called from here in Luminous: https://github.com/ceph/ceph/blob/138f08d5df311d9e4987819a792c01838dc36806/src/mon/PGMap.cc#L253
from ceph_exporter.
For a workaround (at least for the health stats) one can add mon_health_preluminous_compat=true to
ceph.conf.
This would probably break oA's health display.
from ceph_exporter.
@jbw976 Yeah the I/O parts are not working for me either. I agree about the plains vs. json parsing. No idea why this implementation was chosen.
Also the json format also changed, so parsing the json won't help upgrade pains.
FWIW I'm also working on a mgr plugin that exports prometheus metrics. Its not equivalent to the ceph_exporter but should roughly export the same metrics (differences in naming and labels though). See ceph/ceph#16990
from ceph_exporter.
FYI, This is our downstream issue: https://tracker.openattic.org/browse/OP-2583
from ceph_exporter.
This should no longer be a problem. :) Feel free to re-open if you're having problems with client IO metrics
from ceph_exporter.
Related Issues (20)
- ceph_osd_weight metric return REWEIGHT instead of WEIGHT HOT 4
- ceph_health_status_interp's status HOT 2
- can not build HOT 1
- does 2.0.7-luminous support ceph jewel ? HOT 1
- curl <host>:9128/metrics hangs HOT 9
- osdmap health details are not not found when monitoring ceph octopus with 3.0.0-nautilus HOT 5
- ceph_exporter gather error HOT 3
- Prometheus Exporters Hub by this repository! Thanks! :) HOT 1
- Add new DAEMON_OLD_VERSION flag to health_status_interp HOT 2
- Support OSD operations Latency for Nautilus release HOT 4
- activating TLS on exporter HOT 2
- Cannot connect to ceph cluster: permission denied HOT 6
- compile get error: "could not determine kind of name for C.rados_mgr_command" HOT 3
- add bucket sharks and obj nums metrics support HOT 1
- Pgs stats HOT 2
- add bucket usage collector HOT 4
- fatal error: rados/librados.h: No such file or directory HOT 1
- Add Docs Listing the Exported Metrics HOT 4
- Update image build workflow to tag images with git tags HOT 3
- go build failed v4.2.0 with go version go1.20.4 linux/amd6 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ceph_exporter.