You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
599 B
31 lines
599 B
4 years ago
|
version: 1.4
|
||
|
|
||
|
prefs:
|
||
|
logPath: /scrutiny/jobber/log.log
|
||
|
runLog:
|
||
|
type: file
|
||
|
path: /scrutiny/jobber/runlog
|
||
|
maxFileLen: 100m
|
||
|
maxHistories: 2
|
||
|
|
||
|
resultSinks:
|
||
|
- &filesystemSink
|
||
|
type: filesystem
|
||
|
path: /scrutiny/jobber
|
||
|
data:
|
||
|
- stdout
|
||
|
- stderr
|
||
|
maxAgeDays: 10
|
||
|
|
||
|
jobs:
|
||
|
MetricsJob:
|
||
|
cmd: /scrutiny/bin/scrutiny-collector-metrics run --api-endpoint ${SCRUTINY_API_ENDPOINT:-http://localhost:8080}
|
||
|
# run daily at midnight.
|
||
|
time: '0 0 * * *'
|
||
|
onError: Backoff
|
||
|
notifyOnSuccess:
|
||
|
- *filesystemSink
|
||
|
notifyOnFailure:
|
||
|
- *filesystemSink
|
||
|
|