2024-01-17 19:49:51 +00:00
|
|
|
scheduler:
|
|
|
|
infer_every: "1m"
|
2024-01-26 16:12:58 +00:00
|
|
|
fit_every: "2m"
|
2024-01-28 07:43:28 +00:00
|
|
|
fit_window: "3h"
|
2024-01-17 19:49:51 +00:00
|
|
|
|
|
|
|
model:
|
|
|
|
class: "model.prophet.ProphetModel"
|
|
|
|
args:
|
|
|
|
interval_width: 0.98
|
|
|
|
|
|
|
|
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
|