Bug 1958367

Summary: Build metrics do not aggregate totals by build strategy
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: BuildAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact: Rolfe Dlugy-Hegwer <rdlugyhe>
Priority: medium    
Version: 4.6CC: aos-bugs, rdlugyhe
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
// https://bugzilla.redhat.com/show_bug.cgi?id=1969963 [discrete] [id="ocp-4-8-builds-telemetry-metric"] ==== New Telemetry metric for number of builds by strategy Telemetry includes a new `openshift:build_by_strategy:sum` gauge metric, which sends the number of builds by strategy type to the Telemeter Client. This metric gives site reliability engineers (SREs) and product managers visibility into the kinds of builds that run on {product-title} clusters.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:07:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1969963    

Description Adam Kaplan 2021-05-07 18:10:52 UTC
Description of problem:

Builds do not aggregate their metrics by build strategy. A recording rule of builds by strategy is needed to report usage metrics to telemeter.

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

Comment 2 XiuJuan Wang 2021-06-04 08:30:38 UTC
Validate this feature before pr merged,and 4.8.0-0.nightly-2021-06-03-221810 cluster.

Comment 9 errata-xmlrpc 2021-07-27 23:07:25 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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:2438