nixos/telegraf: make example a bit more compact
This commit is contained in:
parent
69caedcc42
commit
0f84e08fcd
@ -38,14 +38,11 @@ in {
|
||||
description = "Extra configuration options for telegraf";
|
||||
type = settingsFormat.type;
|
||||
example = {
|
||||
outputs = {
|
||||
influxdb = {
|
||||
outputs.influxdb = {
|
||||
urls = ["http://localhost:8086"];
|
||||
database = "telegraf";
|
||||
};
|
||||
};
|
||||
inputs = {
|
||||
statsd = {
|
||||
inputs.statsd = {
|
||||
service_address = ":8125";
|
||||
delete_timings = true;
|
||||
};
|
||||
@ -53,7 +50,6 @@ in {
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
###### implementation
|
||||
|
Loading…
x
Reference in New Issue
Block a user