Bug 1885441 - mgr/prometheus should provide a metric indicating SLOW_OPS for alerting
Summary: mgr/prometheus should provide a metric indicating SLOW_OPS for alerting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Mgr Plugins
Version: 4.2
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: 4.2z1
Assignee: Paul Cuzner
QA Contact: Pawan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-06 01:49 UTC by Paul Cuzner
Modified: 2021-04-28 20:13 UTC (History)
12 users (show)

Fixed In Version: ceph-14.2.11-129.el8cp, ceph-14.2.11-129.el7cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-28 20:12:32 UTC
Embargoed:


Attachments (Terms of Use)
prometheus raph showing the slow_ops metric (54.09 KB, image/png)
2021-04-07 05:54 UTC, Paul Cuzner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 47756 0 None None None 2020-10-06 01:49:06 UTC
Red Hat Product Errata RHSA-2021:1452 0 None None None 2021-04-28 20:13:04 UTC

Internal Links: 1938112

Description Paul Cuzner 2020-10-06 01:49:07 UTC
Description of problem:
Although osd's track slow ops and bubble this up to mgr, the metrics that mgr/prometheus generates does not include alert related metrics. This BZ


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Generate SLOW_OPS by lowering osd_op_complaint_time
2. run rados bench to trigger the health check
3. no field in the prometheus scrape exposes this condition

Actual results:
SLOW_OPS triggers a health status change (0->1), but does not provide any information related to slow_ops

Expected results:
SLOW_OPS should be visible in the prometheus data


Additional info:

Comment 17 Veera Raghava Reddy 2021-04-06 18:19:03 UTC
Hi Josh, Is it targetted for 4.2z1. If not can we move this to 4.2z2?

Comment 18 Josh Durgin 2021-04-06 19:03:04 UTC
(In reply to Veera Raghava Reddy from comment #17)
> Hi Josh, Is it targetted for 4.2z1. If not can we move this to 4.2z2?

Checking with Paul to verify the test setup. Also adding @jefbrown .

If it is confirmed to be an issue I think we should move it to z2.

Comment 21 Paul Cuzner 2021-04-07 05:54:43 UTC
Created attachment 1769755 [details]
prometheus raph showing the slow_ops metric

Comment 23 Veera Raghava Reddy 2021-04-07 13:33:12 UTC
Can we have this BZ moved to Verified and raise a new BZ to track alerts?

Comment 28 errata-xmlrpc 2021-04-28 20:12:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage security, bug fix, and enhancement Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1452


Note You need to log in before you can comment on or make changes to this bug.