nixos/telegraf: make example a bit more compact

This commit is contained in:
Jörg Thalheim 2020-11-18 21:30:04 +01:00
parent 69caedcc42
commit 0f84e08fcd
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -38,17 +38,13 @@ in {
description = "Extra configuration options for telegraf";
type = settingsFormat.type;
example = {
outputs = {
influxdb = {
urls = ["http://localhost:8086"];
database = "telegraf";
};
outputs.influxdb = {
urls = ["http://localhost:8086"];
database = "telegraf";
};
inputs = {
statsd = {
service_address = ":8125";
delete_timings = true;
};
inputs.statsd = {
service_address = ":8125";
delete_timings = true;
};
};
};