Bug 2009352 - Add image-registry usage metrics to telemeter
Summary: Add image-registry usage metrics to telemeter
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Image Registry
Version: 4.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: Ricardo Maraschini
QA Contact: XiuJuan Wang
Depends On:
Blocks: 2083242
TreeView+ depends on / blocked
Reported: 2021-09-30 12:59 UTC by Oleg Bulatov
Modified: 2022-08-10 10:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-08-10 10:37:47 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift cluster-image-registry-operator pull 768 0 None Merged Bug 2009352: IR-120: Implementing metrics for ImageStreams 2022-05-09 14:36:22 UTC
Github openshift cluster-image-registry-operator pull 769 0 None open Bug 2009352: IR-253: add prometheus rules for image registry operations metrics 2022-05-11 13:49:07 UTC
Github openshift cluster-image-registry-operator pull 772 0 None Merged Bug 2009352: IR-120: Add prometheus rules for image stream tags rules 2022-05-11 13:49:08 UTC
Github openshift cluster-monitoring-operator pull 1668 0 None open Bug 2009352: IR-254: Collecting registry and image stream usage 2022-05-16 07:54:07 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:38:04 UTC

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

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.


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