Skip to content

Commit

Permalink
Introduce stable property for external extensions (#3823)
Browse files Browse the repository at this point in the history
* Introduce stable property for external extensions

* Examples should still use old property

* Spotless
  • Loading branch information
iNikem authored Aug 12, 2021
1 parent d13d1cf commit 33f54cb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ public static ClassLoader getInstance(ClassLoader parent, File javaagentFile) {
includeEmbeddedExtensionsIfFound(parent, extensions, javaagentFile);

// TODO add support for old deprecated property otel.javaagent.experimental.exporter.jar
extensions.addAll(
parseLocation(
System.getProperty(
"otel.javaagent.extensions", System.getenv("OTEL_JAVAAGENT_EXTENSIONS")),
javaagentFile));
extensions.addAll(
parseLocation(
System.getProperty(
Expand Down

0 comments on commit 33f54cb

Please sign in to comment.