-
Notifications
You must be signed in to change notification settings - Fork 862
Add otlp log extension methods for LoggerProviderBuilder #5103
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
Merged
utpilla
merged 42 commits into
open-telemetry:main
from
Yun-Ting:yunl/OtlpLoggingExtension
Dec 23, 2023
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
f206708
draft
Yun-Ting aa42126
merge main
Yun-Ting b0c97f8
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting e11d4bb
add OTLP exporter to the LoggerProvider
Yun-Ting 36e8560
api doc
Yun-Ting 6723a04
extension APIs and tests
Yun-Ting 3653fd3
more tests
Yun-Ting 64f8df9
EXPOSE_EXPERIMENTAL_FEATURES
Yun-Ting b15421a
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting 4255964
public api files
Yun-Ting 0b853e7
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting 3e2aff0
fix macro
Yun-Ting ac70c78
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting 06893fe
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting 7f28ee5
fixed public api file
Yun-Ting 5fe64d3
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting c828fcc
api/test
Yun-Ting 6c4d67b
flag for namedoptions test
Yun-Ting 7276894
test flag
Yun-Ting 7a7e962
mark apis internal when !EXPOSE_EXPERIMENTAL_FEATURES
Yun-Ting df0adcb
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting 6cf59f0
test
Yun-Ting f08622d
Merge branch 'yunl/OtlpLoggingExtension' of https://github.com/Yun-Ti…
Yun-Ting 35406ae
Revert "test"
Yun-Ting 1f99014
internal visible to for project and test
Yun-Ting ac0494b
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting a350e30
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting fa4d229
Add ExperimentalAttribute decorations and clean up a few nits.
CodeBlanch 04a036c
Tweaks and fixes.
CodeBlanch d09f1b0
changelog
Yun-Ting fa2857a
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting 604ccf6
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting c19868d
Code review.
CodeBlanch e208fbc
Code review.
CodeBlanch c4e795f
Clean up.
CodeBlanch 2f51df2
Code review and test improvements.
CodeBlanch e17f4e7
Nits
CodeBlanch 66ea5e3
Test improvements.
CodeBlanch 8f15ca0
Code review.
CodeBlanch 11d7f4c
Code review.
CodeBlanch df362e4
Code review.
CodeBlanch a332701
Merge branch 'main' into yunl/OtlpLoggingExtension
Yun-Ting File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| static OpenTelemetry.Logs.OtlpLogExporterHelperExtensions.AddOtlpExporter(this OpenTelemetry.Logs.LoggerProviderBuilder! builder) -> OpenTelemetry.Logs.LoggerProviderBuilder! | ||
| static OpenTelemetry.Logs.OtlpLogExporterHelperExtensions.AddOtlpExporter(this OpenTelemetry.Logs.LoggerProviderBuilder! builder, string? name, System.Action<OpenTelemetry.Exporter.OtlpExporterOptions!, OpenTelemetry.Logs.LogRecordExportProcessorOptions!>? configureExporterAndProcessor) -> OpenTelemetry.Logs.LoggerProviderBuilder! | ||
| static OpenTelemetry.Logs.OtlpLogExporterHelperExtensions.AddOtlpExporter(this OpenTelemetry.Logs.LoggerProviderBuilder! builder, string? name, System.Action<OpenTelemetry.Exporter.OtlpExporterOptions!>? configureExporter) -> OpenTelemetry.Logs.LoggerProviderBuilder! | ||
| static OpenTelemetry.Logs.OtlpLogExporterHelperExtensions.AddOtlpExporter(this OpenTelemetry.Logs.LoggerProviderBuilder! builder, System.Action<OpenTelemetry.Exporter.OtlpExporterOptions!, OpenTelemetry.Logs.LogRecordExportProcessorOptions!>! configureExporterAndProcessor) -> OpenTelemetry.Logs.LoggerProviderBuilder! | ||
| static OpenTelemetry.Logs.OtlpLogExporterHelperExtensions.AddOtlpExporter(this OpenTelemetry.Logs.LoggerProviderBuilder! builder, System.Action<OpenTelemetry.Exporter.OtlpExporterOptions!>! configureExporter) -> OpenTelemetry.Logs.LoggerProviderBuilder! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
308 changes: 284 additions & 24 deletions
308
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpLogExporterHelperExtensions.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.