Documentation ¶
Overview ¶
The stats service collects the exported stats and submits them to the Kapacitor stream under the configured database and retetion policy.
If you want to persist the data to InfluxDB just add a task like so:
Example:
stream .from() .influxDBOut()
Assuming using default database and retetion policy run: `kapacitor define -name _stats -type stream -tick path/to/above/script.tick -dbrp _kapacitor.default`
If you do create a task to send the data to InfluxDB make sure not to subscribe to that data in InfluxDB.
Example:
[influxdb]
... [influxdb.excluded-subscriptions] _kapacitor = [ "default" ]
Index ¶
Constants ¶
View Source
const ( DefaultDatabse = "_kapacitor" DefaultRetentionPolicy = "default" DefaultStatsInterval = toml.Duration(10 * time.Second) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Click to show internal directories.
Click to hide internal directories.