All of lore.kernel.org
 help / color / mirror / Atom feed
* Interpreting ceph osd pool stats output
@ 2017-03-10  2:37 Paul Cuzner
  2017-03-10  9:55 ` John Spray
  2017-03-20 14:20 ` Ruben Kerkhof
  0 siblings, 2 replies; 18+ messages in thread
From: Paul Cuzner @ 2017-03-10  2:37 UTC (permalink / raw)
  To: ceph-devel

Hi,

I've been putting together a collectd plugin for ceph - since the old
one's I could find no longer work. I'm gathering data from the mon's
admin socket, merged with a couple of commands I issue through the
rados mon_command interface.

Nothing complicated, but the data has me a little confused

When I run "osd pool stats" I get *two* different sets of metrics that
describe client i/o and recovery i/o. Since the metrics are different
I can't merge them to get a consistent view of what the cluster is
doing as a whole at any given point in time. For example, client i/o
reports in bytes_sec, but the recovery dict is empty and the
recovery_rate is in objects_sec...

i.e.

}, {
"pool_name": "rados-bench-cbt",
"pool_id": 86,
"recovery": {},
"recovery_rate": {
"recovering_objects_per_sec": 3530,
"recovering_bytes_per_sec": 14462655,
"recovering_keys_per_sec": 0,
"num_objects_recovered": 7148,
"num_bytes_recovered": 29278208,
"num_keys_recovered": 0
},
"client_io_rate": {}

This is running Jewel - 10.2.5-37.el7cp

Is this a bug or a 'feature' :)

Cheers,

Paul C

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-03-21  1:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10  2:37 Interpreting ceph osd pool stats output Paul Cuzner
2017-03-10  9:55 ` John Spray
2017-03-10 20:52   ` Paul Cuzner
2017-03-11 20:49     ` John Spray
2017-03-11 21:24       ` Paul Cuzner
2017-03-12 12:13         ` John Spray
2017-03-13 21:50           ` Paul Cuzner
2017-03-13 22:13             ` John Spray
2017-03-13 22:14               ` John Spray
2017-03-14  3:13                 ` Paul Cuzner
2017-03-14  9:49                   ` John Spray
2017-03-14 13:13                     ` Sage Weil
2017-03-20  3:57                       ` Paul Cuzner
2017-03-20  7:54                         ` Brad Hubbard
2017-03-20  8:40                           ` Paul Cuzner
2017-03-20  8:41                             ` Paul Cuzner
2017-03-20 14:20 ` Ruben Kerkhof
2017-03-21  1:31   ` Paul Cuzner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.