Bug 2219763 - [SSP] Metrics names don't follow naming conventions
Summary: [SSP] Metrics names don't follow naming conventions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Metrics
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.14.0
Assignee: Assaf Admi
QA Contact: Akash Kanni
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-05 09:05 UTC by Assaf Admi
Modified: 2023-11-08 14:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:05:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
kubevirt_ssp_operator_reconcile_succeeded (121.79 KB, image/png)
2023-09-13 09:24 UTC, Akash Kanni
no flags Details
kubevirt_ssp_operator_reconcile_succeeded_aggregated (98.75 KB, image/png)
2023-09-13 09:34 UTC, Akash Kanni
no flags Details
kubevirt_ssp_template_validator_rejected_total (134.76 KB, image/png)
2023-09-13 10:32 UTC, Akash Kanni
no flags Details
kubevirt_ssp_template_validator_rejected_increase (112.66 KB, image/png)
2023-09-13 10:34 UTC, Akash Kanni
no flags Details
kubevirt_ssp_common_templates_restored_total (121.40 KB, image/png)
2023-09-13 10:36 UTC, Akash Kanni
no flags Details
kubevirt_ssp_common_templates_restored_increase (110.39 KB, image/png)
2023-09-13 12:08 UTC, Akash Kanni
no flags Details
kubevirt_ssp_template_validator_up (107.60 KB, image/png)
2023-09-13 12:10 UTC, Akash Kanni
no flags Details
kubevirt_ssp_operator_up (106.93 KB, image/png)
2023-09-13 12:12 UTC, Akash Kanni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt ssp-operator pull 643 0 None Merged Change metrics names 2023-08-10 12:17:00 UTC
Red Hat Issue Tracker CNV-30668 0 None None None 2023-07-05 09:05:56 UTC
Red Hat Product Errata RHSA-2023:6817 0 None None None 2023-11-08 14:06:02 UTC

Description Assaf Admi 2023-07-05 09:05:07 UTC
Description of problem:
The following metrics don't follow metrics naming conventions:
- ssp_operator_reconciling_properly
- total_rejected_vms
- total_restored_common_templates
- kubevirt_ssp_template_validator_up_total
- kubevirt_ssp_operator_up_total

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


How reproducible:
Always

Steps to Reproduce:
1. Go to https://github.com/kubevirt/ssp-operator
2. Search for the mentioned metrics

Actual results:
Metrics names don't follow metrics naming conventions

Expected results:
Metrics names to follow https://github.com/kubevirt/monitoring/blob/main/monitoring-guidelines.md#naming-a-new-kubevirt-metrics.

Additional info:

Comment 1 Assaf Admi 2023-08-08 11:50:03 UTC
Addressed in https://github.com/kubevirt/ssp-operator/pull/643.

Comment 2 Akash Kanni 2023-09-13 09:24:08 UTC
Created attachment 1988589 [details]
kubevirt_ssp_operator_reconcile_succeeded

Comment 3 Akash Kanni 2023-09-13 09:34:30 UTC
Created attachment 1988590 [details]
kubevirt_ssp_operator_reconcile_succeeded_aggregated

Comment 4 Akash Kanni 2023-09-13 10:32:40 UTC
Created attachment 1988628 [details]
kubevirt_ssp_template_validator_rejected_total

Comment 5 Akash Kanni 2023-09-13 10:34:45 UTC
Created attachment 1988630 [details]
kubevirt_ssp_template_validator_rejected_increase

Comment 6 Akash Kanni 2023-09-13 10:36:56 UTC
Created attachment 1988632 [details]
kubevirt_ssp_common_templates_restored_total

Comment 7 Akash Kanni 2023-09-13 12:08:48 UTC
Created attachment 1988641 [details]
kubevirt_ssp_common_templates_restored_increase

Comment 8 Akash Kanni 2023-09-13 12:10:37 UTC
Created attachment 1988642 [details]
kubevirt_ssp_template_validator_up

Comment 9 Akash Kanni 2023-09-13 12:12:09 UTC
Created attachment 1988643 [details]
kubevirt_ssp_operator_up

Comment 10 Akash Kanni 2023-09-13 12:24:10 UTC
Verified this bug using cluster version "v4.14.0.rhel9-716"

The changes in metric names for the SSP metrics which are 
mentioned in the problem description of this bug (Bug 2219763)
are working fine.

The old metric name are replaced by respective new metric names as mentioned.

Comment 12 errata-xmlrpc 2023-11-08 14:05:53 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.14.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-2023:6817


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