Skip to content

Commit 41c3f3e

Browse files
committed
telegraf: don't send random generated hostname to influx
1 parent fcd6fcb commit 41c3f3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.templates/telegraf/service.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
telegraf:
22
container_name: telegraf
33
build: ./.templates/telegraf/.
4+
hostname: iotstack # optional
45
restart: unless-stopped
56
environment:
67
- TZ=Etc/UTC

0 commit comments

Comments
 (0)