-
I am trying Azure open telemetry and notice a weird behavior. First time all works well and data gets sent to telemetry. But any subsequent calls the ActivityListener is null and hence no data is sent. Can you please tell me what am I missing? I have put all details in stackoverflow question here. Ignore title since I was still learning when I first put it there. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 31 replies
-
@tarekgh any suggestions? You helped ma-gu with this question #45070 ...so found your reference from there. Not sure how to tag ma-gu |
Beta Was this translation helpful? Give feedback.
-
You mentioned the following
I am confused as you are saying If it is valid, can you try to call |
Beta Was this translation helpful? Give feedback.
-
@tinuverma please log issue in https://github.com/Azure/azure-sdk-for-net/issues and they should be able to help you with the Azure monitor. From your code now, the activity relationship is set correctly. |
Beta Was this translation helpful? Give feedback.
@tinuverma
You mentioned the following
I am confused as you are saying
the activitySource still looks to be a valid object
and at the end of text you are sayingI cannot understand why activitySource is valid object when the object is first deployed and then becomes null
.Does the
activitySource
is valid and not null when the problem occurs or not?If it is valid, can yo…