-
Notifications
You must be signed in to change notification settings - Fork 289
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
Issue #125:Adding enricher for Wcf instrumentation #126
Conversation
|
src/OpenTelemetry.Contrib.Instrumentation.Wcf/TelemetryClientMessageInspector.cs
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #126 +/- ##
==========================================
+ Coverage 79.36% 79.38% +0.01%
==========================================
Files 67 67
Lines 1764 1780 +16
==========================================
+ Hits 1400 1413 +13
- Misses 364 367 +3
|
1. Changing classname WcfEventNames -> WcfEnrichEventNames 2. Adding exception-logging for TelemetryClientMessageInspector and TelemetryDispatchMessageInspector 3. Updating example code in readme to use constant event names 4. Adding exception handling and event logging to enrichment operations.
@CodeBlanch , thanks for the review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @epaulsen this LGTM! I'm going to leave it open for a day or two just in case anyone else wants to also take a look at it.
src/OpenTelemetry.Contrib.Instrumentation.Wcf/WcfInstrumentationOptions.cs
Show resolved
Hide resolved
...nTelemetry.Contrib.Instrumentation.Wcf.Tests/TelemetryDispatchMessageInspectorTests.netfx.cs
Outdated
Show resolved
Hide resolved
...nTelemetry.Contrib.Instrumentation.Wcf.Tests/TelemetryDispatchMessageInspectorTests.netfx.cs
Outdated
Show resolved
Hide resolved
test/OpenTelemetry.Contrib.Instrumentation.Wcf.Tests/TelemetryClientMessageInspectorTests.cs
Outdated
Show resolved
Hide resolved
test/OpenTelemetry.Contrib.Instrumentation.Wcf.Tests/TelemetryClientMessageInspectorTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of places uses AddTag. Please move to SetTag
Can you fix the CI failures as well? |
Fixed markdownlint errors and added more tests so that code coverage does not decrease. |
@epaulsen One last CI failure remaining. Can you fix that too? |
@cijothomas I think I fixed the last code check error, mind running the workflows again? Sorry for all the failures, would have been easier if I could have executed the workflows my self. |
No problem. The workflows are automatically triggered. Since you are first-time contributor to this repo, it require a manual override by an approver. This shouldn't be an issue next time onwards! |
No description provided.