Bug 2058225 - openshift_csi_share_* metrics are not found from telemeter server
Summary: openshift_csi_share_* metrics are not found from telemeter server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Build
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
: 4.11.0
Assignee: Adam Kaplan
QA Contact: Jitendar Singh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-24 14:31 UTC by Junqi Zhao
Modified: 2022-08-10 10:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Shared Resource CSI driver metrics were not exported to Red Hat telemetry. Consequence: Usage metrics for the Shared Resource CSI driver could not be analyzed. Fix: Shared Resource CSI driver metrics were exposed to Red Hat telemetry. Result: Usage metrics for the Shared Resource CSI driver can be collected and analyzed.
Clone Of: 2058219
Environment:
Last Closed: 2022-08-10 10:51:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:51:34 UTC

Description Junqi Zhao 2022-02-24 14:31:00 UTC
Description of problem:
telemetry-config configmap is the metrics allowlist for telemeter client, the following metrics are not found from telemeter server: https://infogw-proxy.api.openshift.com/

openshift_csi_share_configmap		
openshift_csi_share_mount_failures_total		
openshift_csi_share_mount_requests_total		
openshift_csi_share_secret

reason is the metrics are not added to telemeter server allowlist, see from
https://github.com/rhobs/configuration/blob/main/configuration/telemeter/metrics.json

#  oc -n openshift-monitoring get cm telemetry-config -o jsonpath="{.data.metrics\.yaml}"
matches:
...

# owners: (@openshift/team-build-api)
#
# openshift_csi_share_configmap measures amount of config maps shared by csi shared resource driver.
- '{__name__="openshift_csi_share_configmap"}'
#
# owners: (@openshift/team-build-api)
#
# openshift_csi_share_secret measures amount of secrets shared by csi shared resource driver.
- '{__name__="openshift_csi_share_secret"}'
#
# owners: (@openshift/team-build-api)
#
# openshift_csi_share_mount_failures_total measures amount of failed attempts to mount csi shared resources into the pods.
- '{__name__="openshift_csi_share_mount_failures_total"}'
#
# owners: (@openshift/team-build-api)
#
# openshift_csi_share_mount_requests_total measures total amount of attempts to mount csi shared resources into the pods.
- '{__name__="openshift_csi_share_mount_requests_total"}'

OpenShift release version:
4.10.0-0.nightly-2022-02-22-093600

How reproducible:
always

Steps to Reproduce (in detail):
1. search the mentioned metrics from local cluster
2. check in telemeter server 
3.


Actual results:
no result from telemeter server: https://infogw-proxy.api.openshift.com/

Expected results:
should see the result

Impact of the problem:


Additional info:
Docs on the process on why and how to send these metrics:
https://docs.google.com/document/d/1a6n5iBGM2QaIQRg9Lw4-Npj6QY9--Hpx3XYut-BrUSY/edit#heading=h.i05nm4wmvn7x

Comment 1 Adam Kaplan 2022-02-24 16:31:20 UTC
Giving this higher priority, as we need telemetry data to understand how customers are using a tech preview feature.

Comment 2 Corey Daley 2022-04-06 13:21:17 UTC

From what I can see, all of the metrics information listed was added via pull request https://github.com/openshift/cluster-monitoring-operator/pull/1477
Can you please verify that this is still an issue?

Comment 7 errata-xmlrpc 2022-08-10 10:51:15 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 Container Platform 4.11.0 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:5069


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