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