Project

General

Profile

Actions

Bug #51868

closed

mgr/prometheus: Prometheus manager module metrics having the wrong type

Added by Patrick Seidensal almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
Monitoring
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
pacific, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Some of the metrics should be a `counter` instead of `gauge`. If the values of those metrics are being reset, Prometheus would just show them the way the are returned and not increasing the what has already been collected. Metrics of type counter should never decrease, just increase.

The affected metrics are:

  • ceph_pool_rd
  • ceph_pool_rd_bytes
  • ceph_pool_rw
  • ceph_pool_rw_bytes

Related issues 3 (0 open3 closed)

Copied to Dashboard - Backport #51979: pacific: mgr/prometheus: Prometheus manager module metrics having the wrong typeResolvedAvan ThakkarActions
Copied to Dashboard - Backport #51980: octopus: mgr/prometheus: Prometheus manager module metrics having the wrong typeResolvedLaura PaduanoActions
Copied to Dashboard - Backport #51981: nautilus: mgr/prometheus: Prometheus manager module metrics having the wrong typeRejectedActions
Actions

Also available in: Atom PDF