Bug 1862444 - Limit the size of gathered federated metrics from alerts in Insights Operator
Summary: Limit the size of gathered federated metrics from alerts in Insights Operator
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Insights Operator
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.0
Assignee: Martin Kunc
QA Contact: Angelina Vasileva
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks: 1866776
TreeView+ depends on / blocked
 
Reported: 2020-07-31 12:54 UTC by Martin Kunc
Modified: 2020-10-27 16:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1866776 (view as bug list)
Environment:
Last Closed: 2020-10-27 16:21:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift insights-operator pull 148 0 None closed Bug 1862444: Limit collection of ALERTS metric to 1000 lines (~500KiB) to avoid unbearably large archives 2021-02-01 15:25:10 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:22:11 UTC

Description Martin Kunc 2020-07-31 12:54:25 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Martin Kunc 2020-07-31 12:58:48 UTC
When an operator starts generating big amount of Alerts into the prometheus, Insights operator is downloading all the alerts and the resulting file might be big.

The consequence is that internal data pipeline in CCX is failing, because we cannot store archive to Kafka, where maximal limit is 1MB a if the file is larger then 300 KB, services were failing during the Insights rule processing when it was extracting it all to memory.

Comment 4 Angelina Vasileva 2020-08-07 08:55:36 UTC
Fixed and verified in 4.6.0-0.nightly-2020-08-07-034746

Comment 6 errata-xmlrpc 2020-10-27 16:21:52 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196


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