Bug 2069635 - Metrics documentation generator is missing two metrics
Summary: Metrics documentation generator is missing two metrics
Keywords:
Status: CLOSED DUPLICATE of bug 2071611
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.2
Assignee: Alex Kalenyuk
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-29 10:21 UTC by Assaf Admi
Modified: 2022-05-16 14:37 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-16 14:37:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Assaf Admi 2022-03-29 10:21:41 UTC
Description of problem:
metrics documentation generator (metricsdocs.go) doesn't collect "kubevirt_cdi_cr_ready" (https://github.com/kubevirt/containerized-data-importer/blob/main/pkg/operator/controller/controller.go#L72) and "kubevirt_cdi_incomplete_storageprofiles_total" (https://github.com/kubevirt/containerized-data-importer/blob/main/pkg/controller/storageprofile-controller.go#L30) metrics, and then they are not listed on CDI metrics documentation (metrics.md) 

Steps to Reproduce:
1.clone containerized-data-importer repository
2.run in terminal: make generate-doc
3.view metrics.md file

Actual results:
metrics.md doesn't contain "kubevirt_cdi_cr_ready" and "kubevirt_cdi_incomplete_storageprofiles_total" metrics

Expected results:
"kubevirt_cdi_cr_ready" and "kubevirt_cdi_incomplete_storageprofiles_total" metrics listed in metrics.md

Comment 1 Alex Kalenyuk 2022-05-16 14:37:01 UTC

*** This bug has been marked as a duplicate of bug 2071611 ***


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