mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
### Describe Your Changes Fix many spelling errors and some grammar, including misspellings in filenames. The change also fixes a typo in metric `vm_mmaped_files` to `vm_mmapped_files`. While this is a breaking change, this metric isn't used in alerts or dashboards. So it seems to have low impact on users. The change also deprecates `cspell` as it is much heavier and less usable. --------- Co-authored-by: Andrii Chubatiuk <[email protected]> Co-authored-by: Andrii Chubatiuk <[email protected]>
29 lines
677 B
YAML
29 lines
677 B
YAML
schedulers:
|
|
periodic:
|
|
infer_every: "1m"
|
|
fit_every: "1h"
|
|
fit_window: "2d" # 2d-14d based on the presence of weekly seasonality in your data
|
|
|
|
models:
|
|
prophet:
|
|
class: "prophet"
|
|
args:
|
|
interval_width: 0.98
|
|
weekly_seasonality: False # comment it if your data has weekly seasonality
|
|
yearly_seasonality: False
|
|
|
|
reader:
|
|
datasource_url: "http://victoriametrics:8428/"
|
|
sampling_period: "60s"
|
|
queries:
|
|
node_cpu_rate:
|
|
expr: "sum(rate(node_cpu_seconds_total[5m])) by (mode, instance, job)"
|
|
|
|
writer:
|
|
datasource_url: "http://victoriametrics:8428/"
|
|
|
|
|
|
monitoring:
|
|
pull: # Enable /metrics endpoint.
|
|
addr: "0.0.0.0"
|
|
port: 8490 |