Commit f41a6c89 by Marcus Efraimsson Committed by GitHub

Devenv: Add telegraf with log parsing to influxdb docker block (#17546)

parent 0a3af385
......@@ -34,6 +34,17 @@ datasources:
secureJsonData:
password: grafana
- name: gdev-influxdb-telegraf
type: influxdb
access: proxy
database: telegraf
user: grafana
url: http://localhost:8086
jsonData:
timeInterval: "10s"
secureJsonData:
password: grafana
- name: gdev-opentsdb
type: opentsdb
access: proxy
......
influxdb:
image: influxdb:latest
image: influxdb:1.7.6
container_name: influxdb
ports:
- '2004:2004'
......@@ -15,3 +15,13 @@
environment:
FD_DATASOURCE: influxdb
FD_PORT: 8086
telegraf:
image: telegraf:1.10.4
links:
- influxdb
volumes:
- ./docker/blocks/influxdb/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- /var/log:/var/log
- ../data/log:/var/log/grafana
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment