mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Devenv: Add telegraf with log parsing to influxdb docker block (#17546)
This commit is contained in:
parent
0a3af385e1
commit
f41a6c8962
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
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
|
||||
|
||||
|
5265
devenv/docker/blocks/influxdb/telegraf.conf
Normal file
5265
devenv/docker/blocks/influxdb/telegraf.conf
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user