Project

General

Profile

Actions

Bug #52512

closed

prometheus module: add used_bytes metric back

Added by Konstantin Shalygin over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Low
Category:
prometheus module
Target version:
% Done:

0%

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

Description

Our application use object size mostly 512 bytes or lower, with 4K overhead we can't use standard stored or stored_raw metrics for pool usage

# ceph df
RAW STORAGE:
    CLASS       SIZE        AVAIL       USED        RAW USED     %RAW USED
    hdd_pg      4.3 PiB     1.0 PiB     3.2 PiB      3.2 PiB         75.91
    nvme_pg     161 TiB      44 TiB      96 TiB      117 TiB         72.65
    TOTAL       4.4 PiB     1.1 PiB     3.3 PiB      3.4 PiB         75.79

POOLS:
    POOL     ID     PGS       STORED      OBJECTS     USED        %USED     MAX AVAIL
    meta     17      2307     3.6 TiB       8.62G      96 TiB     85.58       5.4 TiB
    data     18     16384     1.1 PiB       3.16G     3.2 PiB     81.76       245 TiB

As we can see for store 3.6TiB we use 96TiB

We need expose avail_raw metrics and revert bytes_used metric back

(((8620017891 * 512) * 3) = 13240347480576 (12.04TiB)) - (((8620017891 * 4096) * 3) = 105922779844608 (96.34TiB)) = 92682432364032 (84.29TiB) that we can't see


Related issues 3 (0 open3 closed)

Copied to mgr - Backport #54449: quincy: prometheus module: add used_bytes metric backResolvedKonstantin ShalyginActions
Copied to mgr - Backport #54450: octopus: prometheus module: add used_bytes metric backResolvedKonstantin ShalyginActions
Copied to mgr - Backport #54451: pacific: prometheus module: add used_bytes metric backResolvedKonstantin ShalyginActions
Actions #1

Updated by Konstantin Shalygin over 2 years ago

  • Pull request ID set to 43058
Actions #2

Updated by Konstantin Shalygin over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Konstantin Shalygin over 2 years ago

  • Description updated (diff)
Actions #4

Updated by Neha Ojha over 2 years ago

  • Status changed from New to Fix Under Review
  • Backport changed from nautilus octopus pacific to nautilus,octopus,pacific
Actions #5

Updated by Konstantin Shalygin about 2 years ago

  • Tracker changed from Feature to Bug
  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from nautilus,octopus,pacific to octopus,pacific,quincy
  • Regression set to No
  • Severity set to 3 - minor
Actions #6

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54449: quincy: prometheus module: add used_bytes metric back added
Actions #7

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54450: octopus: prometheus module: add used_bytes metric back added
Actions #8

Updated by Backport Bot about 2 years ago

  • Copied to Backport #54451: pacific: prometheus module: add used_bytes metric back added
Actions #9

Updated by Konstantin Shalygin almost 2 years ago

  • Target version set to v17.0.0
Actions #10

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #11

Updated by Konstantin Shalygin over 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF