2024-02-22 18:48:54 +01:00
|
|
|
schedulers:
|
|
|
|
periodic:
|
|
|
|
# class: "scheduler.periodic.PeriodicScheduler"
|
|
|
|
infer_every: "1m"
|
|
|
|
fit_every: "2m"
|
|
|
|
fit_window: "3h"
|
2024-01-17 20:49:51 +01:00
|
|
|
|
2024-02-16 10:02:41 +01:00
|
|
|
models:
|
|
|
|
prophet:
|
|
|
|
class: "model.prophet.ProphetModel"
|
|
|
|
args:
|
|
|
|
interval_width: 0.98
|
2024-01-17 20:49:51 +01:00
|
|
|
|
|
|
|
reader:
|
|
|
|
datasource_url: "http://victoriametrics:8428/"
|
2024-01-26 17:12:58 +01:00
|
|
|
sampling_period: "60s"
|
2024-01-17 20:49:51 +01:00
|
|
|
queries:
|
2024-02-06 22:40:40 +01:00
|
|
|
node_cpu_rate: "sum(rate(node_cpu_seconds_total[5m])) by (mode, instance, job)"
|
2024-01-17 20:49:51 +01:00
|
|
|
|
|
|
|
writer:
|
|
|
|
datasource_url: "http://victoriametrics:8428/"
|
|
|
|
|
|
|
|
|
|
|
|
monitoring:
|
|
|
|
pull: # Enable /metrics endpoint.
|
|
|
|
addr: "0.0.0.0"
|
2024-01-26 17:12:58 +01:00
|
|
|
port: 8490
|