Project

General

Profile

Actions

Feature #55740

closed

Add "rook" structure to Ceph telemetry

Added by Blaine Gardner almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
telemetry module
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
quincy
Reviewed:
Affected Versions:
Pull request ID:

Description

The Rook team and Ceph telemetry team have been discussing adding Rook metrics to Ceph telemetry. The first design for Rook telemetry has been added.

The latest doc itself can be easily viewed here: https://github.com/rook/rook/blob/master/design/ceph/ceph-telemetry.md

Please see the doc for a description of the added Rook telemetry items and the full proposal for how to integrate them with Ceph. The short of it is that Rook will add various telemetry items to the Ceph config-key database, and those will be picked up by Ceph telemetry. The config-key keys are named with slashes (`/`) which can be parsed automatically to put the Rook telemetry items into a hierarchy programmatically.

For example `rook/version` and `rook/kubernetes/version` would be put into a structure like shown:

"rook": {
"version": "vx.y.z"
"kubernetes": {
"version": "vX.Y.Z"
}
}

Below is a list of the first 23 Rook metrics added.

rook/version
rook/kubernetes/version
rook/csi/version
rook/node/count/kubernetes-total
rook/node/count/with-ceph-daemons
rook/node/count/with-csi-rbd-plugin
rook/node/count/with-csi-cephfs-plugin
rook/node/count/with-csi-nfs-plugin
rook/usage/storage-class/count/total
rook/usage/storage-class/count/rbd
rook/usage/storage-class/count/cephfs
rook/usage/storage-class/count/nfs
rook/usage/storage-class/count/bucket
rook/cluster/storage/device-set/count/total
rook/cluster/storage/device-set/count/portable
rook/cluster/storage/device-set/count/non-portable
rook/cluster/mon/count
rook/cluster/mon/allow-multiple-per-node
rook/cluster/mon/max-id
rook/cluster/mon/pvc/enabled
rook/cluster/mon/stretch/enabled
rook/cluster/network/provider
rook/cluster/external-mode

Related issues 2 (0 open2 closed)

Has duplicate mgr - Feature #55277: mgr/telemetry: add metric to gauge number of Rook clustersDuplicate

Actions
Copied to mgr - Backport #55816: quincy: Add "rook" structure to Ceph telemetryResolvedYaarit HatukaActions
Actions

Also available in: Atom PDF