Project

General

Profile

Actions

Bug #46808

closed

prometheus stats reporting fails with "KeyError"

Added by james gorrell almost 4 years ago. Updated over 3 years ago.

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

0%

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

Description

Looking at the stats reported by prometheus, I noticed missing data points in the graph.
After looking into it, I found that a KeyError was aborting when an state which was not listed in PG_STATES.


Related issues 2 (0 open2 closed)

Copied to mgr - Backport #46936: octopus: prometheus stats reporting fails with "KeyError"ResolvedLaura PaduanoActions
Copied to mgr - Backport #46937: nautilus: prometheus stats reporting fails with "KeyError"ResolvedLaura PaduanoActions
Actions

Also available in: Atom PDF