* Added DI container initialization * Added httpclient service creation * Improved minimal example of OpenTelemetry console * Update Program.cs * Removed TargetFramework from .csproj
16 lines
482 B
XML
16 lines
482 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="OpenTelemetry" Version="1.3.0" />
|
|
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.3.0" />
|
|
<PackageReference Include="OpenTelemetry.Instrumentation.Http" Version="1.0.0-rc9.4" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|