summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/harvester-config.json
blob: a4716a736ab8318ab5e592a4e7e0fdf392bee259 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
    "$schema": "http://iot.bzh/download/public/schema/json/ctl-schema.json",
    "metadata": {
        "uid": "Harvester",
        "version": "1.0",
        "api": "harvester",
        "info": "Data collection binding"
    },
    "plugins": [
        {
            "uid": "influxdb",
            "info": "Plugins that handle influxdb read and write",
            "spath": "lib/plugins",
            "libs": "influxdb.ctlso"
        }
    ],

    "onload": [
        {
            "uid": "init_db",
            "info": "Ensure that InfluxDB is up",
            "action": "plugin://influxdb#influxdb_ping"
        }
    ],

    "controls": [
        {
            "uid": "write",
            "action": "plugin://influxdb#write_to_influxdb"
        }
    ]
}