Skip to content

Commit

Permalink
Use OpenTelemetry preview packages
Browse files Browse the repository at this point in the history
Use OpenTelemetry preview packages to consume fix from open-telemetry/opentelemetry-dotnet#5520.
  • Loading branch information
martincostello committed Apr 10, 2024
1 parent bd0d027 commit df537d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
<PackageVersion Include="Microsoft.Extensions.Telemetry" Version="9.0.0-preview.2.24157.4" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="OpenTelemetry" Version="1.8.0" />
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.8.0" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.8.0" />
<PackageVersion Include="OpenTelemetry" Version="1.8.1-alpha.0.13" />
<PackageVersion Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.8.1-alpha.0.13" />
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.8.1-alpha.0.13" />
<PackageVersion Include="OpenTelemetry.Instrumentation.AWS" Version="1.1.0-beta.3" />
<PackageVersion Include="OpenTelemetry.Instrumentation.AWSLambda" Version="1.3.0-beta.1" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.8.0" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.8.1-alpha.0.8" />
<PackageVersion Include="Polly.Extensions" Version="8.3.1" />
<PackageVersion Include="Polly.RateLimiting" Version="8.3.1" />
<PackageVersion Include="ReportGenerator" Version="5.2.4" />
Expand Down
4 changes: 4 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
<configuration>
<packageSources>
<clear />
<add key="OpenTelemetry" value="https://www.myget.org/F/opentelemetry/api/v3/index.json" />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<packageSourceMapping>
<packageSource key="OpenTelemetry">
<package pattern="OpenTelemetry*" />
</packageSource>
<packageSource key="NuGet">
<package pattern="*" />
</packageSource>
Expand Down
3 changes: 0 additions & 3 deletions src/LondonTravel.Skill/LondonTravel.Skill.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
<RootNamespace>MartinCostello.LondonTravel.Skill</RootNamespace>
<TargetFramework>net9.0</TargetFramework>
<TieredCompilation>false</TieredCompilation>
<!-- HACK Workaround for https://github.com/open-telemetry/opentelemetry-dotnet/issues/5518 -->
<TrimmerSingleWarn>false</TrimmerSingleWarn>
<PublishAot>false</PublishAot>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.Core" />
Expand Down

0 comments on commit df537d4

Please sign in to comment.