Bug 2009352

Summary: Add image-registry usage metrics to telemeter
Product: OpenShift Container Platform Reporter: Oleg Bulatov <obulatov>
Component: Image RegistryAssignee: Ricardo Maraschini <rmarasch>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: high    
Version: 4.6CC: aos-bugs, wking, xiuwang
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:37:47 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: 2083242    

Description Oleg Bulatov 2021-09-30 12:59:19 UTC
Description of problem:

We want to have metrics to help us understand if the registry is being used.

The image registry provides low-level metrics, they should be aggregated into a higher level metric and this metric should be added to telemeter.

The desired metrics:

* key manifest operations (put manifest, put blob, serve blob, create blob) in terms of rate
* approx size of blobs served directly, pullthrough, or content offload (summable)

Comment 2 XiuJuan Wang 2022-05-13 01:25:50 UTC
Hi @rmarasch this pr need rebase https://github.com/openshift/cluster-monitoring-operator/pull/1664 ,please help to handle this
Thanks

Comment 3 Ricardo Maraschini 2022-05-16 07:58:42 UTC
@xiuwang Fixed at https://github.com/openshift/cluster-monitoring-operator/pull/1668

Comment 6 XiuJuan Wang 2022-05-31 03:22:26 UTC
Could we make this https://github.com/rhobs/configuration/pull/218 merged too?

Comment 8 XiuJuan Wang 2022-06-14 02:51:52 UTC
Test on https://issues.redhat.com/browse/IR-167
Move to verified manually.

Comment 10 errata-xmlrpc 2022-08-10 10:37:47 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: OpenShift Container Platform 4.11.0 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-2022:5069