Bug 2038406

Summary: Send custom profile metrics through telemetry
Product: OpenShift Container Platform Reporter: dagray
Component: Node Tuning OperatorAssignee: dagray
Status: CLOSED ERRATA QA Contact: liqcui
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: aos-bugs, dagray, jmencak, juzhao, liqcui
Target Milestone: ---   
Target Release: 4.9.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2038404 Environment:
Last Closed: 2022-02-28 20:50:16 UTC Type: ---
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: 2038404    
Bug Blocks: 2039538    

Description dagray 2022-01-07 20:35:42 UTC
+++ This bug was initially created as a clone of Bug #2038404 +++

Description of problem:
To help prioritize future features for NTO, we want to better understand how it is being used. One way we can do this is by sending metrics through telemetry to see how often NTO is being used to manage custom TuneD profiles on nodes. This is available on 4.10 but not older versions

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

Expected results:
See NTO metric nto_custom_profiles:count on 4.8 and 4.9

--- Additional comment from  on 2022-01-07 20:34:43 UTC ---

Closing as this is already fixed on 4.10.0. Will create a clone with target release 4.9.z.

Comment 2 dagray 2022-01-12 19:25:31 UTC
Switching back to POST as we also need the PR to cluster-monitoring-operator.

Comment 3 Jiří Mencák 2022-02-08 10:49:12 UTC
Hi David,

(In reply to dagray from comment #2)
> Switching back to POST as we also need the PR to cluster-monitoring-operator.

Do we have that PR now?  Links?  Thank you.

Comment 4 Junqi Zhao 2022-02-16 01:41:44 UTC
PR is LGTM, we can see the nto_custom_profiles:count metrics both in the telemeter client and server side

Comment 7 liqcui 2022-02-17 03:13:20 UTC
Verified Result:
Create a NTO profile, there is a nto_custom_profiles:count was updated.

Comment 10 errata-xmlrpc 2022-02-28 20:50:16 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 (Low: OpenShift Container Platform 4.9.23 bug fix and security 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:0655