blob: 45c87a78ebf32439c374f53c2fb9f9c8ccb4f20f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Configuration for telegraf agent
[agent]
interval = "${intervalSeconds}s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "${intervalSeconds}s"
flush_jitter = "0s"
precision = ""
#foreach( $cloudwatch in $cloudwatchPlugins )
# Configuration for AWS CloudWatch output.
[[outputs.cloudwatch]]
region = "$cloudwatch.region()"
namespace = "$cloudwatch.namespace()"
#if( $cloudwatch.accessKeyName() != "" )
access_key = "$cloudwatch.accessKeyName()"
secret_key = "$cloudwatch.secretKeyName()"
#elseif( $cloudwatch.profile() != "" )
profile = "$cloudwatch.profile()"
#end
#end
# Configuration for Vespa input plugin
[[inputs.vespa]]
url = "http://localhost:19092/metrics/v2/values?consumer=$vespaConsumer"
#* TODO: Add node cert if hosted
#if( $isHosted )
tls_cert = "${VESPA_CERTIFICATE_PATH}"
tls_key = "${VESPA_KEY_PATH}"
insecure_skip_verify = true
#end
*###
|