forked from smartarch/simdex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
user_experience_zero.yaml
33 lines (29 loc) · 1.47 KB
/
user_experience_zero.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# This baseline configuration uses duration predictor that always estimates job duration to be zero.
# It serves mostly as a sanity check to ensure that the worker configuration is reasonable.
# Workers could be either a number or a list that explicitly states a collection of attributes.
# If only a number is given, the workers are initialized with no attributes at the beginning.
# We want all the workers to be 'active'
workers:
- active: true # one worker dedicated to short jobs only
limit: 30.0
- active: true
- active: true
- active: true
# Dispatcher component: either a string (fully qualified class name) or a collection with { class, args }
# where class is fully qualified class name and args is list or dict holding constructor arguments.
# The class should implement the `AbstractDispatcher` interface
dispatcher: dispatchers.DurationFilterDispatcher
# Duration predictor: same format as the dispatcher.
# The class should implement the `AbstractDurationPredictor` interface.
duration_predictor: duration_predictors.zero_duration_predictor.ZeroDurationPredictor
# list of metric components (each one is in the same format as dispatcher)
metrics:
- metrics.default.JobDelayMetricsCollector
- metrics.quantile.JobDelayQuantilesCollector
- class: metrics.user_experience.UserExperienceMetricsCollectorWithHistory
args:
ref_jobs: "@@ref_jobs"
thresholds: [ 1.5, 3.0 ]
# history_step: 10_000
history_step: 100_000
# print_progress: True