From 1730c1bb84d0077cb7f708cff356522300212793 Mon Sep 17 00:00:00 2001 From: Diego Date: Wed, 9 Oct 2024 09:37:09 +0200 Subject: [PATCH] Update prometheus.exporter.cloudwatch.md aws_sdk_version_v2 is bool, using quotes return a fatal error on start: Oct 09 09:33:59 ansible alloy[10120]: Error: /etc/alloy/config.alloy:236:35: "true" should be bool, got string Oct 09 09:33:59 ansible alloy[10120]: 235 | sts_region = "eu-west-1" Oct 09 09:33:59 ansible alloy[10120]: 236 | aws_sdk_version_v2 = "true" Oct 09 09:33:59 ansible alloy[10120]: | ^^^^^^ Oct 09 09:33:59 ansible alloy[10120]: 237 | discovery_exported_tags = { Oct 09 09:33:59 ansible alloy[10120]: ts=2024-10-09T07:33:59.106222763Z level=error msg="failed to start reporter" err="context canceled" Oct 09 09:33:59 ansible alloy[10120]: Error: could not perform the initial load successfully --- .../components/prometheus/prometheus.exporter.cloudwatch.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/reference/components/prometheus/prometheus.exporter.cloudwatch.md b/docs/sources/reference/components/prometheus/prometheus.exporter.cloudwatch.md index c6a92db70..dda2e83c1 100644 --- a/docs/sources/reference/components/prometheus/prometheus.exporter.cloudwatch.md +++ b/docs/sources/reference/components/prometheus/prometheus.exporter.cloudwatch.md @@ -93,7 +93,7 @@ To use all of the integration features, use the following AWS IAM Policy: ```alloy prometheus.exporter.cloudwatch "queues" { sts_region = "us-east-2" - aws_sdk_version_v2 = "false" + aws_sdk_version_v2 = false discovery { type = "AWS/SQS" regions = ["us-east-2"]