summaryrefslogtreecommitdiffstats
path: root/modules/tick/templates/telegraf.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tick/templates/telegraf.conf')
-rw-r--r--modules/tick/templates/telegraf.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/tick/templates/telegraf.conf b/modules/tick/templates/telegraf.conf
new file mode 100644
index 0000000..ba307bd
--- /dev/null
+++ b/modules/tick/templates/telegraf.conf
@@ -0,0 +1,16 @@
+[global_tags]
+[agent]
+ interval = "10s"
+ round_interval = true
+ metric_batch_size = 1000
+ metric_buffer_limit = 10000
+ collection_jitter = "0s"
+ flush_interval = "10s"
+ flush_jitter = "0s"
+ precision = ""
+ hostname = ""
+ omit_hostname = false
+[[outputs.influxdb]]
+ urls = ["https://influxdb.tozt.net"]
+ username = "<%= @influxdb_username %>"
+ password = "<%= @influxdb_password %>"