-
Notifications
You must be signed in to change notification settings - Fork 765
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
Add resource support to logger #1913
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1913 +/- ##
=======================================
Coverage ? 84.40%
=======================================
Files ? 188
Lines ? 6103
Branches ? 0
=======================================
Hits ? 5151
Misses ? 952
Partials ? 0
|
@@ -172,4 +171,3 @@ virtual OpenTelemetry.BaseProcessor<T>.OnEnd(T data) -> void | |||
virtual OpenTelemetry.BaseProcessor<T>.OnForceFlush(int timeoutMilliseconds) -> bool | |||
virtual OpenTelemetry.BaseProcessor<T>.OnShutdown(int timeoutMilliseconds) -> bool | |||
virtual OpenTelemetry.BaseProcessor<T>.OnStart(T data) -> void | |||
virtual OpenTelemetry.Logs.OpenTelemetryLoggerProvider.Dispose(bool disposing) -> void |
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.
This is a bit messy - changing Dispose from virtual to override is causing the complaint from the tooling.
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.
As long as this is not considered an actual breaking change, we should be fine.
@open-telemetry/dotnet-approvers Could use an additional review before merge! |
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.
LGTM
Fixes #.
Changes
Resource
support to OpenTelemetryLoggerProvider.Resource
support to the console exporter.For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes