Project

General

Profile

Actions

Feature #49049

closed

mgr/prometheus: Update ceph_pool_* metrics to include additional labels

Added by Paul Cuzner over 3 years ago. Updated almost 3 years ago.

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

80%

Source:
Tags:
Backport:
pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

The pool metadata only provides a pool_id (as a key for matching) and the name of the pool. This feature would add two further labels to the ceph_pool_metadata metric

compression=on or off
type=replica or erasure
scheme=replica2 or ec4+2 etc

NB. this information is already available within the osd_map['pools'] data
options holds the compression info
type reflects replicated(1) and erasure code(3)
size and minsize can be used to determine the scheme

Having this data provide more flexibility to prometheus queries when determining storage efficiency and aggregation.


Related issues 1 (0 open1 closed)

Copied to mgr - Backport #50294: pacific: mgr/prometheus: Update ceph_pool_* metrics to include additional labelsResolvedKonstantin ShalyginActions
Actions

Also available in: Atom PDF