Hi, I’m trying to use the prometheus-community chart to write to AMP workspace. I’ve created the ingest role and trying to use the following values.yaml:
serviceAccounts:
server:
name: "amp-iamproxy-ingest-service-account"
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::<arn>:role/amp-iamproxy-ingest-role"
server:
remoteWrite:
- url: "https://aps-workspaces.us-east-1.amazonaws.com/workspaces/ws-<id>/api/v1/remote_write"
sigv4:
region: "us-east-1"
queue_config:
max_samples_per_send: 1000
max_shards: 200
capacity: 2500
extraArgs:
log.level: "debug"
When trying to use these values seems like it is not able to create the configmap as it is not expecting to recieve the sigv4.region this way:
level=error ts=2024-06-23T10:14:08.263Z caller=main.go:881 err="error loading config from \"/etc/config/prometheus.yml\": one or more errors occurred while applying the new configuration (--config.file=\"/etc/config/prometheus.yml\")"
When leaving sigv4 empty:
ts=2024-06-23T10:10:50.490Z caller=dedupe.go:112 component=remote level=error remote_name=776091 url=https://aps-workspaces.us-east-1.amazonaws.com/workspaces/ws-<id>/api/v1/remote_write msg="non-recoverable error" count=146 err="server returned HTTP status 403 Forbidden: {\"message\":\"Missing Authentication Token\"}