-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REDUCER_DISABLE option for targets #826
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #826 +/- ##
==========================================
- Coverage 72.75% 72.75% -0.01%
==========================================
Files 472 472
Lines 30772 30782 +10
Branches 877 877
==========================================
+ Hits 22389 22396 +7
- Misses 8288 8292 +4
+ Partials 95 94 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
# Disable data reduction (min, hour, day) on this target data | ||
# No 'ruby reducer_microservice.rb DEFAULT__REDUCER__EXAMPLE' | ||
# will appear in the the process list | ||
DISABLE_REDUCER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to REDUCER_DISABLE to be consistent of starting with REDUCER_
<% end %> | ||
|
||
<% if include_inst2 %> | ||
TARGET INST <%= inst2_target_name %> | ||
LOG_RETAIN_TIME <%= log_retain_time %> | ||
REDUCED_LOG_RETAIN_TIME <%= reduced_log_retain_time %> | ||
TLM_LOG_CYCLE_TIME 600 | ||
# Allow the reducer microservice to take 10% of the cpu (default 30%) | ||
REDUCER_MAX_CPU_UTILIZATION 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really low for the heaviest target
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll change it ... but speaking of that. Can the reducer know it's falling behind and raise a notification?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the minute reducer takes longer than a minute, then there is probably a problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are cases where that would be fine though. Like if you dropped in a whole bunch of files to process at once and it just takes a long time to work through
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably worth a notification.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
closes #801