Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WCF Rest service with operation contract not containing 'Name' causes null reference error #169

Closed
tamilaban opened this issue Dec 16, 2021 · 2 comments

Comments

@tamilaban
Copy link
Contributor

I am trying to integrate OpenTelemetry.Contrib.Instrumentation.Wcf to my WCF Restful service and I am getting null reference error at
TelemetryDispatchMessageInspector. When trying to assign action to activity displayname

activity.DisplayName = action;

tamilaban added a commit to tamilaban/opentelemetry-dotnet-contrib that referenced this issue Jan 5, 2022
@meastp
Copy link

meastp commented Feb 4, 2022

This might be related to #202 (even if its not the same issue)

CodeBlanch added a commit that referenced this issue Feb 5, 2022
…) (#170)

* action is assigned with null if operation name is not defined(#169)

* adds unit test

* Code review + changelog update.

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
@CodeBlanch
Copy link
Member

Fixed by #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants