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:
parent
1a7e0f3235
commit
ff73e9577c
|
@ -0,0 +1,2 @@
|
|||
Args=\
|
||||
--initialize-at-build-time=io.opentelemetry.instrumentation.api.internal.cache.concurrentlinkedhashmap.ConcurrentLinkedHashMap
|
|
@ -0,0 +1,2 @@
|
|||
Args=\
|
||||
--initialize-at-build-time=io.opentelemetry.instrumentation.logback.appender.v1_0.internal.LoggingEventMapper
|
Loading…
Reference in New Issue