Skip to content

Commit 759aad4

Browse files
authored
Merge pull request #573 from ukkopahis/telegraf-hostname
Telegraf: report 'iotstack' as hostname to influx
2 parents ce0d315 + 6f1c336 commit 759aad4

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)