Skip to content

Commit

Permalink
Update OpenTelemetry.Api to 1.4.0 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
vhatsura authored Mar 14, 2023
1 parent f02ffa6 commit bd9fc4e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ using Confluent.Kafka.Extensions.OpenTelemetry;
using OpenTelemetry.Resources;
using OpenTelemetry.Trace;

builder.Services.AddOpenTelemetryTracing(traceBuilder =>
builder.Services.AddOpenTelemetry().WithTracing(traceBuilder =>
{
traceBuilder
.AddInMemoryExporter()
Expand Down
2 changes: 1 addition & 1 deletion examples/WebExample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

builder.Services.AddHostedService<WeatherForecastConsumerService>();

builder.Services.AddOpenTelemetryTracing(traceBuilder =>
builder.Services.AddOpenTelemetry().WithTracing(traceBuilder =>
{
traceBuilder.AddSource("webExample")
.SetResourceBuilder(ResourceBuilder.CreateDefault()
Expand Down
14 changes: 7 additions & 7 deletions examples/WebExample/WebExample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka" Version="1.9.2" />
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" Version="1.3.0" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.0.0-rc9.5" />
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc9.5" />
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.0.0-rc9.5" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
<PackageReference Include="Confluent.Kafka" Version="1.9.2"/>
<PackageReference Include="OpenTelemetry.Exporter.Zipkin" Version="1.4.0"/>
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.4.0"/>
<PackageReference Include="OpenTelemetry.Instrumentation.AspNetCore" Version="1.0.0-rc9.14"/>
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.0.0-rc9.14"/>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Confluent.Kafka.Extensions.OpenTelemetry\Confluent.Kafka.Extensions.OpenTelemetry.csproj" />
<ProjectReference Include="..\..\src\Confluent.Kafka.Extensions.OpenTelemetry\Confluent.Kafka.Extensions.OpenTelemetry.csproj"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,20 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Confluent.Kafka.Extensions.Diagnostics" Version="0.2.2" />
<PackageReference Include="GitVersion.MsBuild" Version="5.10.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="OpenTelemetry.Api" Version="1.3.1" />
<PackageReference Include="Confluent.Kafka.Extensions.Diagnostics" Version="0.3.0"/>
<PackageReference Include="GitVersion.MsBuild" Version="5.12.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="OpenTelemetry.Api" Version="1.4.0"/>
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>

0 comments on commit bd9fc4e

Please sign in to comment.