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 18, 2024
1 parent 2a6ce80 commit c35de4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 8 additions & 0 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@
<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" />
<package pattern="OpenTelemetry.Api" />
<package pattern="OpenTelemetry.Api.ProviderBuilderExtensions" />
<package pattern="OpenTelemetry.Exporter.OpenTelemetryProtocol" />
<package pattern="OpenTelemetry.Extensions.Hosting" />
</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>
<PropertyGroup Condition=" '$(PublishForAWSLambda)' == 'true' ">
<AssemblyName>bootstrap</AssemblyName>
Expand Down

0 comments on commit c35de4a

Please sign in to comment.