Bug 1900792 - Track all resource counts via telemetry
Summary: Track all resource counts via telemetry
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Telemeter
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.z
Assignee: Clayton Coleman
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 1900790
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-23 17:44 UTC by Clayton Coleman
Modified: 2021-01-18 17:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1900790
Environment:
Last Closed: 2021-01-18 17:59:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 989 0 None closed Bug 1900792: Collect all resource counts for telemetry 2021-01-25 20:39:42 UTC
Red Hat Product Errata RHSA-2021:0037 0 None None None 2021-01-18 17:59:58 UTC

Description Clayton Coleman 2020-11-23 17:44:10 UTC
+++ This bug was initially created as a clone of Bug #1900790 +++

Transcribe all etcd_object_counts (number of all objects) into
cluster resource usage for reporting in cluster telemetry.

The data about how many instances of a CRD are in use on the cluster
is a key question for analyzing the success and health of a cluster
as well as for understanding how a cluster can be more successful.
From a configuration perspective, it indicates use of core platform
features. From an operator perspective, it shows adoption and usage
in a way that installation stats alone do not capture. From a support
perspective it highlights interactions between operators that may
help problem resolution.

On an average cluster this increases the series gathered by ~130
series (18 gathered today, 155 after this change, + 280 on average).
While this is a 50% increase in gathered series, it drives significant
value in all of the domains mentioned above and we believe we have
the budget to perform this increase and that using the budget on these
series specifically will deliver significant value.

In order to defend telemetry against clusters that may have thousands
of resource types, cap the cluster:usage:resources:sum series to 500.
Most have 150, and of those a large number are single or zero instance
counts, so we anticipate for the vast majority of clusters 500 is
enough to get reasonable workload and prevent a full cardinality
explosion.

Backporting now that we have verified in 4.7

Comment 6 errata-xmlrpc 2021-01-18 17:59:29 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 (Moderate: OpenShift Container Platform 4.6.12 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-2021:0037


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