docs: Add initial documentation
This commit is contained in:
28
docs/admin/example.telegraf.conf
Normal file
28
docs/admin/example.telegraf.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
# Global tags can be specified here in key="value" format.
|
||||
[global_tags]
|
||||
|
||||
|
||||
# Configuration for telegraf agent
|
||||
[agent]
|
||||
interval = "10s"
|
||||
round_interval = true
|
||||
metric_batch_size = 1000
|
||||
metric_buffer_limit = 10000
|
||||
collection_jitter = "0s"
|
||||
flush_interval = "10s"
|
||||
flush_jitter = "0s"
|
||||
|
||||
# Configuration for sending metrics to InfluxDB
|
||||
[[outputs.influxdb]]
|
||||
urls = ["http://:::8086"]
|
||||
database = "telegraf"
|
||||
skip_database_creation = true
|
||||
username = 'telegraf'
|
||||
password = 'yourpassword'
|
||||
|
||||
[[inputs.http]]
|
||||
urls = ["https://notfellchen.org/metrics/"]
|
||||
name_override = "notfellchen"
|
||||
#Data from HTTP in JSON format
|
||||
data_format = "json"
|
||||
|
Reference in New Issue
Block a user