more config

This commit is contained in:
Leif Johansson 2020-03-31 08:38:37 +02:00
parent 1e9a5f13af
commit 47d2b4f615
No known key found for this signature in database
GPG key ID: D73AD6430AD478D6
2 changed files with 14 additions and 8 deletions

View 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

View file

@ -1,13 +1,5 @@
[[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"]
## Token for authentication.
token = "${INFLUXDB2_TOKEN}"
## Organization is the name of the organization you wish to write to; must exist.
organization = "${INFLUXDB2_ORG}"
## Destination bucket to write into.
bucket = "${INFLUXDB2_BUCKET}"