-
Notifications
You must be signed in to change notification settings - Fork 56
Jar shading issue with NewRelic integration in NewRelicReflector #171
Comments
Thanks for pointing this out. Either due to having changed which shading plugin we were using, or due to a change in the behavior of that plugin at some point, it started not just shading the classes in the jar but also transforming the string parameter in a call to |
Yeah, I was surprised to see that was getting shaded as well - hopefully it's an easy fix in the shader config. Thanks for taking a look! |
Please let us know once you've had a chance to retest with the 4.8.1 release. |
@eli-darkly that fixed it, thank you! |
Annoyingly, this was not an easy fix in the Shadow plugin config. We're still trying to figure out why it behaves this way; in the meantime, we've implemented a workaround in the code that is pretty silly-looking, but does work. |
Haha yeah, I was looking at the workaround yesterday. If its silly and it works, ¯\_(ツ)_/¯ |
…istent-store-intf-4.x partially implement new DataStore/DataSource APIs, + fix Redis cache stats logic
Describe the bug
NewRelicReflector never works, because it's looking for the location of the
NewRelic
jar in the wrong package:com.launchdarkly.shaded.com.newrelic.api.agent.NewRelic
To reproduce
https://github.com/apottere/launchdarkly-newrelic-bug/tree/master
Expected behavior
When running that application, I would expect to see this logged:
Instead, I see this logged:
SDK version
4.8.0
Language version, developer tools
Java 8
OS/platform
MacOS
The text was updated successfully, but these errors were encountered: