-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Introduce AgentBuilderOptions Sadly we can not defer OltpExport to AgentBuilder.Build() in *all* IHostingEnvironments. Atleast under WebApplicationHosts the IHostedLifecycleSerivce.StartingAsync happens on app.Run() at which stage the IServiceCollection is marked as readonly. To that end we now expose overloads to AddOpenTelemetry taking AgentBuilderOptions. These are typically only needed for expert level control and not part of the documented getting started approach. This PR also addresses all warnings in the solution (branch started off for just that sorry!) * remove recursive SkipOtlpRegistration extension method * fix double logger initialization in logger tests
- Loading branch information
Showing
25 changed files
with
193 additions
and
208 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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
38 changes: 0 additions & 38 deletions
38
src/Elastic.OpenTelemetry/DependencyInjection/ElasticOtelDistroService.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.