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

Bug 1969431

Summary: [master] remove cluster_id from prometheus metrics - cause to overloading by assisted-installer pods and scraped by prometheus.
Product: OpenShift Container Platform Reporter: liat gamliel <lgamliel>
Component: assisted-installerAssignee: Rom Freiman <rfreiman>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: urgent CC: aos-bugs
Version: 4.7Keywords: Reopened, Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Ai-Team-Cloud AI-Product-Cloud
Fixed In Version: OCP-Metal-v1.0.23.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1971311 (view as bug list) Environment:
Last Closed: 2022-08-28 08:45:59 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: 1971311    

Description liat gamliel 2021-06-08 12:54:25 UTC
Description of problem:
We need to remove cluster_id from the metrics we are sending to Prometheus because it causes overloading by assisted-installer pods and scraped by Prometheus.

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

it's related to bug: https://bugzilla.redhat.com/show_bug.cgi?id=1926329

Comment 2 liat gamliel 2021-06-16 09:27:37 UTC
Please remove the cluster_id from all the following metrics:
counterClusterHostDiskSyncDurationMiliSeconds
counterClusterHostNicGb
counterClusterHostDiskGb
counterClusterHostRAMGb
counterClusterHostCores
counterHostInstallationPhaseSeconds
counterClusterHostImagePullStatus
counterClusterHosts
counterClusterHostNTPFailuresCount

Keep it only for:
counterClusterCreation
counterClusterInstallationStarted
counterClusterInstallationSeconds