Skip to content

Issue #125:Adding enricher for Wcf instrumentation#126

Merged
cijothomas merged 13 commits into
open-telemetry:mainfrom
epaulsen:main
Jun 15, 2021
Merged

Issue #125:Adding enricher for Wcf instrumentation#126
cijothomas merged 13 commits into
open-telemetry:mainfrom
epaulsen:main

Conversation

@epaulsen
Copy link
Copy Markdown
Contributor

@epaulsen epaulsen commented Jun 3, 2021

No description provided.

@epaulsen epaulsen requested a review from CodeBlanch as a code owner June 3, 2021 10:49
@epaulsen epaulsen requested a review from a team June 3, 2021 10:49
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla Bot commented Jun 3, 2021

CLA Signed

The committers are authorized under a signed CLA.

Comment thread src/OpenTelemetry.Contrib.Instrumentation.Wcf/README.md Outdated
Comment thread src/OpenTelemetry.Contrib.Instrumentation.Wcf/TelemetryClientMessageInspector.cs Outdated
Comment thread src/OpenTelemetry.Contrib.Instrumentation.Wcf/WcfEventNames.cs Outdated
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 7, 2021

Codecov Report

Merging #126 (b949816) into main (e6b225e) will increase coverage by 0.01%.
The diff coverage is 81.25%.

❗ Current head b949816 differs from pull request most recent head 24ac5d7. Consider uploading reports for the commit 24ac5d7 to get more accurate results
Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
...cf/Implementation/WcfInstrumentationEventSource.cs 26.31% <40.00%> (+4.88%) ⬆️
...rumentation.Wcf/TelemetryClientMessageInspector.cs 82.89% <100.00%> (+2.59%) ⬆️
...b.Instrumentation.Wcf/WcfInstrumentationOptions.cs 90.00% <100.00%> (+1.11%) ⬆️

epaulsen added 2 commits June 7, 2021 07:23
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.
@epaulsen
Copy link
Copy Markdown
Contributor Author

epaulsen commented Jun 7, 2021

@CodeBlanch , thanks for the review.
I've updated my pullrequest based on your comments, do you mind having another look?

Copy link
Copy Markdown
Member

@CodeBlanch CodeBlanch left a 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.

Comment thread src/OpenTelemetry.Contrib.Instrumentation.Wcf/README.md Outdated
Comment thread src/OpenTelemetry.Contrib.Instrumentation.Wcf/README.md Outdated
Comment thread src/OpenTelemetry.Contrib.Instrumentation.Wcf/README.md
Copy link
Copy Markdown
Member

@cijothomas cijothomas left a 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

@cijothomas
Copy link
Copy Markdown
Member

couple of places uses AddTag. Please move to SetTag

Can you fix the CI failures as well?

@epaulsen
Copy link
Copy Markdown
Contributor Author

Fixed markdownlint errors and added more tests so that code coverage does not decrease.

@cijothomas
Copy link
Copy Markdown
Member

@epaulsen One last CI failure remaining. Can you fix that too?

@epaulsen
Copy link
Copy Markdown
Contributor Author

@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.

@cijothomas
Copy link
Copy Markdown
Member

@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!

@cijothomas cijothomas merged commit df49552 into open-telemetry:main Jun 15, 2021
@CodeBlanch
Copy link
Copy Markdown
Member

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

Successfully merging this pull request may close these issues.

3 participants