Helen

Results 86 comments of Helen

@abhikt48 i ran into an exception, any ideas?: `Exception in thread "main" javax.jms.JMSSecurityException: ****Attempted to perform an unauthorized operation.**** TrackingId:88d4b3b29bb24bcbbe80fd1bf862ad61_G5, SystemTracker:gateway7, Timestamp:2023-03-15T19:22:05 [condition = amqp:unauthorized-access] at org.apache.qpid.jms.provider.exceptions.ProviderSecurityException.toJMSException(ProviderSecurityException.java:41) at org.apache.qpid.jms.provider.exceptions.ProviderSecurityException.toJMSException(ProviderSecurityException.java:27) at...

I believe that I have all the resources setup successfully, blob, service bus, storage queue and mongo db running locally. username = "RootManageSharedAccessKey", and password is using SBUS shared access...

@abhikt48 I'm able to repro ![image](https://user-images.githubusercontent.com/56097766/225462440-fc8572f2-c951-42cd-b107-e46030d46f0a.png)

@abhikt48 SpanData{spanContext=ImmutableSpanContext{traceId=6b43768a1e847ddd66aad79269ffc643, spanId=a84ac109a62bf358, traceFlags=01, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=true}, **parentSpanContext**=ImmutableSpanContext{traceId=00000000000000000000000000000000, **spanId**=**0000000000000000**, traceFlags=00, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=false}, resource=Resource{schemaUrl=https://opentelemetry.io/schemas/1.18.0, attributes={host.arch="amd64", host.name="REDACTED", os.description="Windows 11 10.0", os.type="windows", process.command_line="C:\dev\zulu17.40.19-ca-jdk17.0.6-win_x64\bin\java.exe -javaagent:agent/applicationinsights-agent-3.4.11-SNAPSHOT.jar -javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.2.3\lib\idea_rt.jar=52891:C:\Program Files\JetBrains\IntelliJ IDEA...

@abhikt48 You can achieve this by manually propagating context from the main thread to the new thread: In your pom.xml, add this dependency: ``` io.opentelemetry opentelemetry-api 1.24.0 ``` And then...

@abhikt48 Can you reach out to ServiceBus to propagate the context for your app? @trask might have better insights for the next step. It's not really a defect of OpenTelemetry...

![image](https://user-images.githubusercontent.com/56097766/227587912-ab421f79-07e7-403c-9044-09e15ccda51f.png) If you use ![image](https://user-images.githubusercontent.com/56097766/227587993-0e31eb40-7a9f-4422-9480-96a5e15d6fdf.png) instead of MuleSoft, telemetry is auto collected by our agent. More details [here](https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable?tabs=java#instrumentation-libraries:~:text=Telemetry%20emitted%20by%20these%20Azure%20SDKs%20is%20automatically%20collected%20by%20default%3A)

@abhikt48 i'm seeing exceptions in the log (using servicebus 7.13.0) java.lang.NoClassDefFoundError: com/azure/core/amqp/implementation/handler/ReceiverUnsettledDeliveries at com.azure.messaging.servicebus.implementation.ServiceBusReactorReceiver.(ServiceBusReactorReceiver.java:80) at com.azure.messaging.servicebus.implementation.ServiceBusReactorSession.createConsumer(ServiceBusReactorSession.java:170) at com.azure.core.amqp.implementation.ReactorSession.getSubscription(ReactorSession.java:618) at com.azure.core.amqp.implementation.ReactorSession.lambda$createConsumer$10(ReactorSession.java:398) at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1916) at com.azure.core.amqp.implementation.ReactorSession.lambda$createConsumer$11(ReactorSession.java:382) at com.azure.core.amqp.implementation.handler.DispatchHandler.onTimerTask(DispatchHandler.java:32) at com.azure.core.amqp.implementation.ReactorDispatcher$WorkScheduler.run(ReactorDispatcher.java:207) at org.apache.qpid.proton.reactor.impl.SelectableImpl.readable(SelectableImpl.java:118)...

https://github.com/microsoft/ApplicationInsights-Java/pull/3420, this was released in Dec. Which version of java agent are you using? Are you sure it is from our Java agent?