Skip to content

Commit 31832b9

Browse files
committed
chore(monitor): add startup_error_behavior
1 parent dce26c2 commit 31832b9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

telegraf/rootfs/home/telegraf/config.toml.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757

5858
{{- if .POSTGRESQL_CONNECTION}}
5959
[[outputs.postgresql]]
60+
startup_error_behavior = "retry"
6061
connection = "{{ .POSTGRESQL_CONNECTION }}"
6162
tags_as_foreign_keys = true
6263
create_templates = [
@@ -70,6 +71,7 @@
7071

7172
{{- if .KAFKA_BROKERS}}
7273
[[outputs.kafka]]
74+
startup_error_behavior = "retry"
7375
brokers = [{{ .KAFKA_BROKERS }}]
7476
topic = {{ default "telegraf" .KAFKA_TOPIC | quote }}
7577
routing_tag = {{ .KAFKA_ROUTING_TAG | quote }}

0 commit comments

Comments
 (0)