-
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.
Refactor public API and align with 1.10 and 1.11 of the SDK (#210)
This is quite a significant update from the previous code and includes a lot of refactorings as a result. In short, as the SDK since 1.10 includes an `OpenTelemetryBuilder`, we can base many extension methods directly on the interface it implements `IOpenTelemetryBuilder`. A significant change in this PR is removing the "magic" global override we used to replace `AddOpenTelemetry` with our behaviour. We no longer do this to avoid surprises and prefer an explicit small code change from consumers. We now also track the calls to the various builders to avoid bootstrapping components more than is required and log such circumstances. We expect the auto instrumentation tests to fail for now as those need to be uncoupled from the SDK workflow. Closes #164 Closes #175
- Loading branch information
1 parent
be769bb
commit 4b4a98f
Showing
95 changed files
with
3,116 additions
and
2,234 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,37 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net9.0</TargetFramework> | ||
<OutputType>Exe</OutputType> | ||
<NoWarn>$(NoWarn);NU1701</NoWarn> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Argu" Version="6.1.4"/> | ||
<PackageReference Include="Bullseye" Version="4.2.1"/> | ||
<PackageReference Include="Argu" Version="6.2.5" /> | ||
<PackageReference Include="Bullseye" Version="4.2.1" /> | ||
<PackageReference Include="Octokit" Version="13.0.1" /> | ||
<PackageReference Include="Proc.Fs" Version="0.8.1"/> | ||
<PackageReference Include="Fake.Tools.Git" Version="5.20.3"/> | ||
<PackageReference Remove="FSharp.Core"/> | ||
<PackageReference Include="FSharp.Core" Version="8.0.101"/> | ||
<PackageReference Include="Proc.Fs" Version="0.9.1" /> | ||
<PackageReference Include="Fake.Tools.Git" Version="5.23.1" /> | ||
<PackageReference Remove="FSharp.Core" /> | ||
<PackageReference Include="FSharp.Core" Version="9.0.201" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\*" LinkBase="_root"/> | ||
<None Include="..\*" LinkBase="_root" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="scripts\BuildInformation.fs"/> | ||
<Compile Include="scripts\CommandLine.fs"/> | ||
<Compile Include="scripts\BuildInformation.fs" /> | ||
<Compile Include="scripts\CommandLine.fs" /> | ||
<Compile Include="scripts\Packaging.fs" /> | ||
<Compile Include="scripts\Targets.fs"/> | ||
<Compile Include="scripts\Program.fs"/> | ||
<None Include="**\*"/> | ||
<None Remove="bin\**"/> | ||
<None Remove="obj\**"/> | ||
<None Remove="scripts\**"/> | ||
<None Remove="output\**"/> | ||
<Compile Include="scripts\Targets.fs" /> | ||
<Compile Include="scripts\Program.fs" /> | ||
<None Include="**\*" /> | ||
<None Remove="bin\**" /> | ||
<None Remove="obj\**" /> | ||
<None Remove="scripts\**" /> | ||
<None Remove="output\**" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
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
Oops, something went wrong.