diff options
Diffstat (limited to 'metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm')
-rw-r--r-- | metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm b/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm new file mode 100644 index 00000000000..22349e34d67 --- /dev/null +++ b/metrics-proxy/src/main/resources/templates/cloudwatch_plugin.vm @@ -0,0 +1,30 @@ +# 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 = "" + +# Configuration for AWS CloudWatch output. +[[outputs.cloudwatch]] + region = "$cloudwatchRegion" + namespace = "$cloudwatchNamespace" +#if( $isHosted ) + access_key = "$cloudwatchSecretKey" + secret_key = "$cloudwatchAccessKey" +#else + profile = "$cloudwatchProfile" +#end + +# Configuration for Vespa input plugin +[[inputs.vespa]] + url = "http://localhost:19092/metrics/v2/values?consumer=$vespaConsumer" +#if( $isHosted ) + tls_cert = "${VESPA_CERTIFICATE_PATH}" + tls_key = "${VESPA_KEY_PATH}" + insecure_skip_verify = true +#end
\ No newline at end of file |