Project

General

Profile

Actions

Bug #51868

closed

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

Added by Patrick Seidensal over 2 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 #1

Updated by Patrick Seidensal over 2 years ago

  • Subject changed from mgr/dashboard: Prometheus manager module metrics having the wrong type to mgr/prometheus: Prometheus manager module metrics having the wrong type
Actions #2

Updated by Patrick Seidensal over 2 years ago

  • Pull request ID set to 42506
Actions #3

Updated by Patrick Seidensal over 2 years ago

  • Status changed from In Progress to Fix Under Review
Actions #4

Updated by Kefu Chai over 2 years ago

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

Updated by Backport Bot over 2 years ago

  • Copied to Backport #51979: pacific: mgr/prometheus: Prometheus manager module metrics having the wrong type added
Actions #6

Updated by Backport Bot over 2 years ago

  • Copied to Backport #51980: octopus: mgr/prometheus: Prometheus manager module metrics having the wrong type added
Actions #7

Updated by Backport Bot over 2 years ago

  • Copied to Backport #51981: nautilus: mgr/prometheus: Prometheus manager module metrics having the wrong type added
Actions #8

Updated by Avan Thakkar over 2 years ago

  • Backport changed from pacific, octopus, nautilus to pacific, octopus
Actions #9

Updated by Ernesto Puerta over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF