Bug 2071611 - Metrics documentation generators are missing metrics/recording rules
Summary: Metrics documentation generators are missing metrics/recording rules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Metrics
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: João Vilaça
QA Contact: Satyajit Bulage
URL:
Whiteboard:
: 2069635 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-04 11:09 UTC by Assaf Admi
Modified: 2023-11-13 08:12 UTC (History)
7 users (show)

Fixed In Version: hco-bundle-registry-v4.11.0-439
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:29:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt cluster-network-addons-operator pull 1330 0 None Merged Add metrics from data/monitoring/prom-rule.yaml to docs 2022-06-06 06:07:45 UTC
Github kubevirt containerized-data-importer pull 2231 0 None Merged Gather all metrics info in a single location 2022-06-06 06:07:46 UTC
Red Hat Issue Tracker CNV-17383 0 None None None 2023-11-13 08:12:34 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:30:45 UTC

Description Assaf Admi 2022-04-04 11:09:47 UTC
Description of problem:

Metrics documentation generators in different CNV components don't collect all component's metrics and recording rules. 

For example, CDI's metrics.md (https://github.com/kubevirt/containerized-data-importer/blob/main/doc/metrics.md) is missing two metrics:
1. "kubevirt_cdi_cr_ready" (https://github.com/kubevirt/containerized-data-importer/blob/main/pkg/operator/controller/controller.go#L72)
2. "kubevirt_cdi_incomplete_storageprofiles_total" (https://github.com/kubevirt/containerized-data-importer/blob/main/pkg/controller/storageprofile-controller.go#L30)

CNAO's metrics.md (https://github.com/kubevirt/cluster-network-addons-operator/blob/main/docs/metrics.md) is missing recording rules which are defined in https://github.com/kubevirt/cluster-network-addons-operator/blob/main/data/monitoring/prom-rule.yaml

Comment 1 Alex Kalenyuk 2022-05-16 14:37:01 UTC
*** Bug 2069635 has been marked as a duplicate of this bug. ***

Comment 2 Satyajit Bulage 2022-06-14 05:57:56 UTC
I see metrics and recording rules for CDI and CNAO are present on the document and are available in respective documents.

Comment 5 errata-xmlrpc 2022-09-14 19:29:36 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 Virtualization 4.11.0 Images security and bug fix 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:6526


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