Add plugin development framework (#4324)

This commit is contained in:
Ayrdrie
2018-07-02 16:34:40 -07:00
committed by Daniel Nelson
parent 2ee374cf50
commit 9fe90d71f4
9 changed files with 174 additions and 1 deletions
@@ -0,0 +1,16 @@
version: '3'
services:
mongodb:
image: mongo
telegraf:
image: glinton/scratch
volumes:
- ./telegraf.conf:/telegraf.conf
- ../../../../telegraf:/telegraf
depends_on:
- mongodb
entrypoint:
- /telegraf
- --config
- /telegraf.conf
+9
View File
@@ -0,0 +1,9 @@
[agent]
interval="1s"
flush_interval="3s"
[[inputs.mongodb]]
servers = ["mongodb://mongodb:27017"]
[[outputs.file]]
files = ["stdout"]