You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
264 B

#!/usr/bin/env bash
s6-svc -t /run/s6/services/kapacitor-scale
s6-svc -t /run/s6/services/kapacitor
sleep 2
set -eux
kapacitor define \
-name cpu_scale \
-type stream \
-tick /data/cpu_scale.tick \
-dbrp metrics.default
kapacitor reload cpu_scale