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

This commit is contained in:
Marcus Efraimsson 2019-06-12 15:30:33 +02:00 committed by GitHub
parent 0a3af385e1
commit f41a6c8962
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5287 additions and 1 deletions

View File

@ -34,6 +34,17 @@ datasources:
secureJsonData: secureJsonData:
password: grafana 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 - name: gdev-opentsdb
type: opentsdb type: opentsdb
access: proxy access: proxy

View File

@ -1,5 +1,5 @@
influxdb: influxdb:
image: influxdb:latest image: influxdb:1.7.6
container_name: influxdb container_name: influxdb
ports: ports:
- '2004:2004' - '2004:2004'
@ -15,3 +15,13 @@
environment: environment:
FD_DATASOURCE: influxdb FD_DATASOURCE: influxdb
FD_PORT: 8086 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

File diff suppressed because it is too large Load Diff