-
Notifications
You must be signed in to change notification settings - Fork 1
/
EXAMPLE_config.edn
45 lines (35 loc) · 2.49 KB
/
EXAMPLE_config.edn
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
34
35
36
37
38
39
40
41
42
43
44
45
{
;; CONFIG ENTRIES:
;; time in milliseconds until the model is trained anew
fischer.components.gaussian-ad-trainer/model-training-interval-in-ms 1000
;; if true, data used for training is saved to disk for further analysis
fischer.components.gaussian-ad-trainer/training-data-to-disk false
;; Prometheus host address
fischer.core/host "http://my-prometheus-ho.st"
;; Prometheus port
fischer.core/port 8080
;; Frontend/API host
fischer.components.frontend/frontend-host "127.0.0.1"
;; Fronthend/API port
fischer.components.frontend/frontend-port 8080
;; Prometheus query config.
;; Different profiles containing an arbitrary number of queries.
;; Each profile is checked independently for anomalies.
fischer.core/profiles {:my-job {:step-size "10m"
:days-back 7
:queries ["sum(rate(http_duration_in_s_count{job='my-job', stage='live'}[1m]))"]
:epsylon 0.02}
:my-second-job {:step-size "10m"
:days-back 7
:queries ["sum(rate(http_duration_in_s_count{job='my-second-job', stage='live'}[1m]))"]
:epsylon 0.02}}
;; List of reporters used to notify about predictions
fischer.core/reporters-configs [{:type :file :file-path "./predictions"}
{:type :console}
{:type :prometheus
:path "/metrics"}]
;; Interval in ms fischer checks for anomalies
fischer.components.detector/repeat-in-ms 10000
;; Amount of predictions stored for further analytics
fischer.reporter.buffered-channel-reporter/max-queue-size 20
}