more config
This commit is contained in:
parent
1e9a5f13af
commit
47d2b4f615
2 changed files with 14 additions and 8 deletions
14
global/overlay/etc/telegraf/telegraf.conf.d/01-agent.conf
Normal file
14
global/overlay/etc/telegraf/telegraf.conf.d/01-agent.conf
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
[agent]
|
||||||
|
interval = "10s"
|
||||||
|
round_interval = true
|
||||||
|
metric_batch_size = 1000
|
||||||
|
metric_buffer_limit = 10000
|
||||||
|
collection_jitter = "0s"
|
||||||
|
flush_interval = "10s"
|
||||||
|
flush_jitter = "0s"
|
||||||
|
precision = ""
|
||||||
|
debug = false
|
||||||
|
quiet = false
|
||||||
|
logfile = ""
|
||||||
|
hostname = ""
|
||||||
|
omit_hostname = false
|
|
@ -1,13 +1,5 @@
|
||||||
[[outputs.influxdb_v2]]
|
[[outputs.influxdb_v2]]
|
||||||
## The URLs of the InfluxDB cluster nodes.
|
|
||||||
##
|
|
||||||
## Multiple URLs can be specified for a single cluster, only ONE of the
|
|
||||||
## urls will be written to each interval.
|
|
||||||
## urls exp: http://127.0.0.1:9999
|
|
||||||
urls = ["https://metrics.sunet.se:9999"]
|
urls = ["https://metrics.sunet.se:9999"]
|
||||||
## Token for authentication.
|
|
||||||
token = "${INFLUXDB2_TOKEN}"
|
token = "${INFLUXDB2_TOKEN}"
|
||||||
## Organization is the name of the organization you wish to write to; must exist.
|
|
||||||
organization = "${INFLUXDB2_ORG}"
|
organization = "${INFLUXDB2_ORG}"
|
||||||
## Destination bucket to write into.
|
|
||||||
bucket = "${INFLUXDB2_BUCKET}"
|
bucket = "${INFLUXDB2_BUCKET}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue