Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1827743

Summary: Image registry metrics should use summaries instead of histograms
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: Image RegistryAssignee: Oleg Bulatov <obulatov>
Status: CLOSED CURRENTRELEASE QA Contact: Wenjing Zheng <wzheng>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.11.0CC: aos-bugs, pweil
Target Milestone: ---   
Target Release: 4.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: the registry used repository names in metrics labels Consequence: prometheus has problems with a lot of metrics Fix: remove repo names from labels Result: less metrics are generated
Story Points: ---
Clone Of:
: 1827744 (view as bug list) Environment:
Last Closed: 2020-05-07 11:51:21 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: 1827744    

Description Adam Kaplan 2020-04-24 17:07:14 UTC
Description of problem:

Image registry metrics use Prometheus histograms, which by default can have high cardinality. These should be replaced by Summaries, which have lower cardinality and better performance.

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


How reproducible: Always


Additional info:

Fix for 4.x - https://github.com/openshift/image-registry/pull/138

Comment 1 Adam Kaplan 2020-04-24 17:10:31 UTC
Marking VERIFIED - this was completed prior to the 4.1 release.

Comment 2 Paul Weil 2020-05-07 11:51:21 UTC
The fix referenced was merged in Dec 2018 and it is noted above that this was done in 4.1.  I am moving this to closed.