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 #1

Updated by Yaarit Hatuka almost 2 years ago

  • Project changed from Orchestrator to mgr
  • Category set to telemetry module
Actions #2

Updated by Yaarit Hatuka almost 2 years ago

  • Has duplicate Feature #55277: mgr/telemetry: add metric to gauge number of Rook clusters added
Actions #3

Updated by Travis Nielsen almost 2 years ago

A number of the rook metrics are now reported to the mon store by rook in this PR, which is expected to be included in the next version of Rook (v1.9.5): https://github.com/rook/rook/pull/10341

Actions #4

Updated by Yaarit Hatuka almost 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Yaarit Hatuka
  • Source set to Development
  • Backport set to quincy
  • Pull request ID set to 46483
Actions #5

Updated by Yaarit Hatuka almost 2 years ago

  • Copied to Backport #55816: quincy: Add "rook" structure to Ceph telemetry added
Actions #6

Updated by Neha Ojha almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #7

Updated by Yaarit Hatuka almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF