Skip to content

Commit

Permalink
Merge pull request #34 from alphagov/dependabot/docker/amazon/aws-ote…
Browse files Browse the repository at this point in the history
…l-collector-v0.41.0

Bump amazon/aws-otel-collector from v0.40.2 to v0.41.0
  • Loading branch information
jfharden authored Oct 7, 2024
2 parents 0b4349d + c6ac8f2 commit 193254f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amazon/aws-otel-collector:v0.40.2@sha256:ef91d5acc79f2472740452c0177b0170fe38c8092a990114c35f504c04f6c1ac
FROM amazon/aws-otel-collector:v0.41.0@sha256:7edf4972419b52c3259d1118a9506d883e15dbb7bfb4cc7d90dfc16b68594233

ENV OTEL_LOG_LEVEL=INFO

Expand Down
10 changes: 5 additions & 5 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ receivers:
scrape_configs:
- job_name: "adot-sidecar-scrape-application"
static_configs:
- targets: [ "127.0.0.1:$APPLICATION_PORT" ]
- targets: [ "127.0.0.1:${APPLICATION_PORT}" ]
honor_labels: true
honor_timestamps: true
awsecscontainermetrics:
Expand Down Expand Up @@ -132,7 +132,7 @@ processors:

exporters:
prometheusremotewrite:
endpoint: $PROMETHEUS_ENDPOINT_URL
endpoint: ${PROMETHEUS_ENDPOINT_URL}
# We do not want to cause a mass discontinuity in all out existing metrics, so disable the new behaviour
# which adds suffixes with the metrics type.
add_metric_suffixes: false
Expand Down Expand Up @@ -166,15 +166,15 @@ exporters:

extensions:
sigv4auth:
region: $AWS_REGION
region: ${AWS_REGION}
service: aps
assume_role:
arn: $PROMETHEUS_WRITE_ASSUME_ROLE_ARN
arn: ${PROMETHEUS_WRITE_ASSUME_ROLE_ARN}

service:
telemetry:
logs:
level: $OTEL_LOG_LEVEL
level: ${OTEL_LOG_LEVEL}
metrics:
level: none
extensions: [sigv4auth]
Expand Down
6 changes: 3 additions & 3 deletions tests/test-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ receivers:
- job_name: "adot-sidecar-scrape-application"
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
static_configs:
- targets: [ "test-app:$APPLICATION_PORT" ]
- targets: [ "test-app:${APPLICATION_PORT}" ]
honor_labels: true
honor_timestamps: true

Expand Down Expand Up @@ -46,7 +46,7 @@ processors:

exporters:
prometheusremotewrite:
endpoint: $PROMETHEUS_REMOTE_WRITE_URL
endpoint: ${PROMETHEUS_REMOTE_WRITE_URL}
# We do not want to cause a mass discontinuity in all out existing metrics, so disable the new behaviour
# which adds suffixes with the metrics type.
add_metric_suffixes: false
Expand All @@ -58,7 +58,7 @@ exporters:
service:
telemetry:
logs:
level: $OTEL_LOG_LEVEL
level: ${OTEL_LOG_LEVEL}
metrics:
level: none
pipelines:
Expand Down

0 comments on commit 193254f

Please sign in to comment.