Skip to content

Commit

Permalink
Update prometheus.exporter.cloudwatch.md
Browse files Browse the repository at this point in the history
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
  • Loading branch information
diegobelotti authored Oct 9, 2024
1 parent 340c682 commit 1730c1b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 1730c1b

Please sign in to comment.