Skip to content

Commit

Permalink
RHINENG-6036: exclude satellite and discovery reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Dec 11, 2023
1 parent a5bffeb commit 11c9f7b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions database_admin/migrations/120_add_new_yupana_reporters.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
INSERT INTO reporter (id, name) VALUES
(5, 'satellite'),
(6, 'discovery')
ON CONFLICT DO NOTHING;
6 changes: 4 additions & 2 deletions database_admin/schema/create_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CREATE TABLE IF NOT EXISTS schema_migrations


INSERT INTO schema_migrations
VALUES (119, false);
VALUES (120, false);

-- ---------------------------------------------------------------------------
-- Functions
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deploy/clowdapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 11c9f7b

Please sign in to comment.