You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RestTemplate Instrumentation documentation shows a spring configuration with interceptor setup. The sample does not work out of the box, because IHub is not an injectable to be found in the spring ioc container.
At least not with spring5 (no boot)
Suggested Solution
Show how an instance of IHub is correctly instantiated for the interceptor or show what to import/instantiate to register an IHub in the ioc container
The text was updated successfully, but these errors were encountered:
SDK
Java SDK
Description
The RestTemplate Instrumentation documentation shows a spring configuration with interceptor setup. The sample does not work out of the box, because IHub is not an injectable to be found in the spring ioc container.
At least not with spring5 (no boot)
Suggested Solution
Show how an instance of IHub is correctly instantiated for the interceptor or show what to import/instantiate to register an IHub in the ioc container
The text was updated successfully, but these errors were encountered: