Skip to content

Commit

Permalink
Make the OpenTelemetry Logback appender work with GraalVM native imag…
Browse files Browse the repository at this point in the history
…es (#7989)

I have tried the [OpenTelemetry Logback
appender](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/logback/logback-appender-1.0/library)
with GraalVM native images. The GraalVM configurations of this PR are
required to make it work.

It's my first GraalVM-related PR in this repo. In future works, adding
automatic tests with GraalVM on some [programmatic instrumentation
libraries](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks)
may be interesting.
  • Loading branch information
jeanbisutti authored Mar 8, 2023
1 parent 1a7e0f3 commit ff73e95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Args=\
--initialize-at-build-time=io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Args=\
--initialize-at-build-time=io.opentelemetry.instrumentation.logback.appender.v1_0.internal.LoggingEventMapper

0 comments on commit ff73e95

Please sign in to comment.