Make the OpenTelemetry Logback appender work with GraalVM native images (#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.
This commit is contained in:
Jean Bisutti 2023-03-08 16:58:37 +01:00 committed by GitHub
parent 1a7e0f3235
commit ff73e9577c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
Args=\
--initialize-at-build-time=io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap

View File

@ -0,0 +1,2 @@
Args=\
--initialize-at-build-time=io.opentelemetry.instrumentation.logback.appender.v1_0.internal.LoggingEventMapper