Fedora Account System
Red Hat Associate
Red Hat Customer
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
*** This bug has been marked as a duplicate of bug 2071611 ***