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:
|
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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
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