From 11c9f7b5e46bdb4fa7ac748bb48676e794d105c9 Mon Sep 17 00:00:00 2001 From: Patrik Segedy Date: Mon, 11 Dec 2023 14:34:29 +0100 Subject: [PATCH] RHINENG-6036: exclude satellite and discovery reporters --- .../migrations/120_add_new_yupana_reporters.up.sql | 4 ++++ database_admin/schema/create_schema.sql | 6 ++++-- deploy/clowdapp.yaml | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 database_admin/migrations/120_add_new_yupana_reporters.up.sql diff --git a/database_admin/migrations/120_add_new_yupana_reporters.up.sql b/database_admin/migrations/120_add_new_yupana_reporters.up.sql new file mode 100644 index 000000000..02b11be99 --- /dev/null +++ b/database_admin/migrations/120_add_new_yupana_reporters.up.sql @@ -0,0 +1,4 @@ +INSERT INTO reporter (id, name) VALUES + (5, 'satellite'), + (6, 'discovery') +ON CONFLICT DO NOTHING; diff --git a/database_admin/schema/create_schema.sql b/database_admin/schema/create_schema.sql index 57ebc5ea8..2cf7e57a1 100644 --- a/database_admin/schema/create_schema.sql +++ b/database_admin/schema/create_schema.sql @@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS schema_migrations INSERT INTO schema_migrations -VALUES (119, false); +VALUES (120, false); -- --------------------------------------------------------------------------- -- Functions @@ -661,7 +661,9 @@ INSERT INTO reporter (id, name) VALUES (1, 'puptoo'), (2, 'rhsm-conduit'), (3, 'yupana'), - (4, 'rhsm-system-profile-bridge') + (4, 'rhsm-system-profile-bridge'), + (5, 'satellite'), + (6, 'discovery') ON CONFLICT DO NOTHING; -- baseline diff --git a/deploy/clowdapp.yaml b/deploy/clowdapp.yaml index 5922c2a74..88c37e9ef 100644 --- a/deploy/clowdapp.yaml +++ b/deploy/clowdapp.yaml @@ -593,7 +593,7 @@ parameters: - {name: DB_DEBUG_LISTENER, value: 'false'} - {name: CONSUMER_COUNT_LISTENER, value: '8'} - {name: ENABLE_BYPASS_LISTENER, value: 'false'} # Enable only bypass (fake) messages processing -- {name: EXCLUDED_REPORTERS, value: 'yupana,rhsm-conduit'} # Comma-separated list of reporters to exclude from processing +- {name: EXCLUDED_REPORTERS, value: 'yupana,rhsm-conduit,satellite,discovery'} # Comma-separated list of reporters to exclude from processing - {name: EXCLUDED_HOST_TYPES, value: 'edge'} # Comma-separated list of host types to exclude from processing - {name: RES_LIMIT_CPU_LISTENER, value: 250m} - {name: RES_LIMIT_MEM_LISTENER, value: 192Mi}