diff options
Diffstat (limited to 'metrics-proxy/src/test/resources/telegraf-config-with-two-cloudwatch-plugins.txt')
-rw-r--r-- | metrics-proxy/src/test/resources/telegraf-config-with-two-cloudwatch-plugins.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/metrics-proxy/src/test/resources/telegraf-config-with-two-cloudwatch-plugins.txt b/metrics-proxy/src/test/resources/telegraf-config-with-two-cloudwatch-plugins.txt new file mode 100644 index 00000000000..accd2cc87eb --- /dev/null +++ b/metrics-proxy/src/test/resources/telegraf-config-with-two-cloudwatch-plugins.txt @@ -0,0 +1,46 @@ +# Configuration for telegraf agent +[agent] + interval = "300s" + round_interval = true + metric_batch_size = 1000 + metric_buffer_limit = 10000 + collection_jitter = "0s" + flush_interval = "300s" + flush_jitter = "0s" + precision = "" + logtarget = "file" + logfile = "/opt/vespa/logs/telegraf/telegraf.log" + logfile_rotation_interval = "1d" + logfile_rotation_max_size = "20MB" + logfile_rotation_max_archives = 5 + +# Configuration for AWS CloudWatch output. +[[outputs.cloudwatch]] + region = "us-east-1" + namespace = "namespace1" + access_key = "accessKey1" + secret_key = "secretKey1" + tagexclude = ["vespa_consumer"] + [outputs.cloudwatch.tagpass] + vespa_consumer = ["consumer1"] + +# Configuration for Vespa input plugin +[[inputs.vespa]] + url = "http://localhost:19092/metrics/v2/values?consumer=consumer1" + [inputs.vespa.tags] + vespa_consumer = "consumer1" +# Configuration for AWS CloudWatch output. +[[outputs.cloudwatch]] + region = "us-east-2" + namespace = "namespace2" + profile = "awsprofile" + tagexclude = ["vespa_consumer"] + [outputs.cloudwatch.tagpass] + vespa_consumer = ["consumer2"] + +# Configuration for Vespa input plugin +[[inputs.vespa]] + url = "http://localhost:19092/metrics/v2/values?consumer=consumer2" + [inputs.vespa.tags] + vespa_consumer = "consumer2" + |