Comments (9)
Running from a single node should be sufficient. Can you provide the version of Ceph that you are running Ceph exporter with?
from ceph_exporter.
Our ceph version is: 0.94.10
Running on CentOS release 6.8
Ceph exporter was recently compiled from github (about 3 days ago)
from ceph_exporter.
Thanks for that info! I do not have an access to any hammer cluster at this time, can you grab a snapshot of your ceph -s
that shows client I/O?
from ceph_exporter.
Did you mean "ceph -s" or "ceph -w" ? I posted both below (with benchmark running):
Could this issue be because the ceph command output is different for the older versions of ceph ?
[root@hostxxx061 ~]# ceph -s
cluster 7c266209-2890-43cc-980b-af5987b28810
health HEALTH_OK
monmap e1: 3 mons at {hostxxx061=10.21.231.161:6789/0,hostxxx062=10.21.231.162:6789/0,hostxxx063=10.21.231.163:6789/0}
election epoch 22, quorum 0,1,2 hostxxx061,hostxxx062,hostxxx063
osdmap e4857: 32 osds: 32 up, 32 in
pgmap v167020: 2148 pgs, 4 pools, 514 GB data, 123 kobjects
1034 GB used, 8243 GB / 9278 GB avail
2148 active+clean
client io 106 MB/s wr, 26 op/s
[root@hostxxx061 ~]# ceph -w
cluster 7c266209-2890-43cc-980b-af5987b28810
health HEALTH_OK
monmap e1: 3 mons at {hostxxx061=10.21.231.161:6789/0,hostxxx062=10.21.231.162:6789/0,hostxxx063=10.21.231.163:6789/0}
election epoch 22, quorum 0,1,2 hostxxx061,hostxxx062,hostxxx063
osdmap e4857: 32 osds: 32 up, 32 in
pgmap v167014: 2148 pgs, 4 pools, 512 GB data, 123 kobjects
1031 GB used, 8246 GB / 9278 GB avail
2148 active+clean
client io 111 MB/s wr, 27 op/s
2017-07-16 00:34:51.635735 mon.0 [INF] pgmap v167014: 2148 pgs: 2148 active+clean; 512 GB data, 1031 GB used, 8246 GB / 9278 GB avail; 111 MB/s wr, 27 op/s
2017-07-16 00:34:54.286179 osd.25 [INF] 11.2f9 scrub starts
2017-07-16 00:34:54.352769 osd.25 [INF] 11.2f9 scrub ok
2017-07-16 00:34:55.835085 mon.0 [INF] pgmap v167015: 2148 pgs: 2148 active+clean; 512 GB data, 1031 GB used, 8246 GB / 9278 GB avail; 115 MB/s wr, 28 op/s
2017-07-16 00:34:56.850851 mon.0 [INF] pgmap v167016: 2148 pgs: 2148 active+clean; 513 GB data, 1032 GB used, 8245 GB / 9278 GB avail; 102 MB/s wr, 25 op/s
from ceph_exporter.
Can you paste an instance of read bytes per second? As I believe that is the one that shows as 0. Output of ceph -s
should be sufficient.
Before Jewel, Ceph did not have a way to distinguish between read and write ops so you will need to rely on ceph_client_io_ops
in Hammer until you upgrade.
from ceph_exporter.
Can you paste an instance of read bytes per second? As I believe that is the one that shows as 0. Output of ceph -s should be sufficient.
I don't understand - I did paste ceph -s output in my previous post. Did I miss something ?
Should I post the ceph_exporter metrics for IO ?
Before Jewel, Ceph did not have a way to distinguish between read and write ops so you will need to rely on ceph_client_io_ops in Hammer until you upgrade.
I think this answers our question.
It seems ceph_exporter does not grab all metrics from older versions of ceph. It would be good to have a note about this on the ceph_exporter instructions.
Also, I suspect there may be other metrics that aren't available from older ceph (i.e 0.94.x). I'll dig into that shortly.
from ceph_exporter.
The output of ceph -s
you pasted did not contain the read bytes per sec only writes. I was curious to see it to identify why we are not surfacing it for Hammer since it should technically be supported.
I have tried mentioning the supported releases in the Dependencies section, but point taken in terms of being more clear. Especially because as we keep extending support for newer releases, the existing stats might not be backward compatible and we'd need to evaluate how feasible it is to keep supporting older versions.
from ceph_exporter.
The output of ceph -s you pasted did not contain the read bytes per sec only writes. I was curious to see it to identify why we are not surfacing it for Hammer since it should technically be supported.
I checked again and this is what the last line of the ceph -s output shows :-
Write benchmark :
client io 116 MB/s wr, 29 op/s
Read benchmark :
client io 122 MB/s rd, 30 op/s
As you mentioned - there may be some backward-compatibility issues with ceph_exporter and ceph 0.94.xx I'll post if I find more in the next few days.
Thanks for your help. We appreciate the quick response.
from ceph_exporter.
Should we close this issue ?
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.