Skip to content

Commit

Permalink
Migrate logging to debug exporter to match with latest otel colletor. (
Browse files Browse the repository at this point in the history
…#979)

*Description of changes:*
Change back to use java 17 base image.

The previous [ADOT Java main build
failed](https://github.com/aws-observability/aws-otel-java-instrumentation/actions/runs/12421612708/job/34682282673)
because of it is using the collector version v0.42.0 released 8 hours
ago, where the logging exporter has been deprecated. This PR migrate to
debug exporter according to:
open-telemetry/opentelemetry-collector#11337.


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
  • Loading branch information
zzhlogin authored Dec 20, 2024
1 parent f604e22 commit e66eb4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/collector/collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ receivers:
endpoint: 0.0.0.0:4317

exporters:
logging:
loglevel: info
debug:
verbosity: normal
awsxray:
region: us-west-2
awsemf:
Expand All @@ -21,11 +21,11 @@ service:
receivers:
- otlp
exporters:
- logging
- debug
- awsxray
metrics:
receivers:
- otlp
exporters:
- logging
- debug
- awsemf
2 changes: 1 addition & 1 deletion scripts/docker/corretto-slim/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/docker/library/amazoncorretto:23-alpine-jdk
FROM public.ecr.aws/docker/library/amazoncorretto:17-alpine-jdk

# Copied from https://github.com/corretto/corretto-docker/blob/master/11/jre/alpine/Dockerfile
RUN apk update && apk add binutils && jlink --endian little --release-info $JAVA_HOME/release \
Expand Down

0 comments on commit e66eb4d

Please sign in to comment.