GoogleCloudPlatform / opentelemetry-operations-java

Apache License 2.0
73 stars 39 forks source link

Fix references to -Dotel.javaagent.experimental.extensions which should be -Dotel.javaagent.extensions #335

Closed ecourreges-orange closed 7 months ago

ecourreges-orange commented 7 months ago

It looks like on javaagent versions 1.31+ the -Dotel.javaagent.experimental.extensions is silently ignored, scratching my head as to why I was getting "Unrecognized exporter type google_cloud_trace".
I found that in the readme and code of this repo the are references to both -Dotel.javaagent.experimental.extensions and -Dotel.javaagent.extensions but only the latter one works.
So I think you just need to change all references in examples from otel.javaagent.experimental.extensions to otel.javaagent.extensions and this issue will be fixed.
Thank you.

psx95 commented 7 months ago

Hi @ecourreges-orange, Thank you for bringing this to attention. It seems like it was replaced in v1.30.0 release.

We will update the documentation to reflect that.