OpenTelemetryConfig 3.0.1
dotnet add package OpenTelemetryConfig --version 3.0.1
NuGet\Install-Package OpenTelemetryConfig -Version 3.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenTelemetryConfig" Version="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTelemetryConfig --version 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OpenTelemetryConfig, 3.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenTelemetryConfig as a Cake Addin #addin nuget:?package=OpenTelemetryConfig&version=3.0.1 // Install OpenTelemetryConfig as a Cake Tool #tool nuget:?package=OpenTelemetryConfig&version=3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Open Telemetry Configuration
This is a solution template for Add opentelemetry config to your project
attention:
This program is for testing the employees of a company and is not used for the general public
Technologies
Getting Started
- in your
program.cs
file add :builder.Services.ConfigureOTLPServices(builder.Configuration, builder);
- add
using OpenTelemetryConfig;
- Wherever you need to use the log in your code add
_logger.LogError("test error")
for example - launch the project using
dotnet run
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- AspNetCore.HealthChecks.Elasticsearch (>= 6.0.2)
- AspNetCore.HealthChecks.Network (>= 6.0.4)
- AspNetCore.HealthChecks.Publisher.ApplicationInsights (>= 6.0.2)
- AspNetCore.HealthChecks.Rabbitmq (>= 6.0.2)
- AspNetCore.HealthChecks.Redis (>= 6.0.4)
- AspNetCore.HealthChecks.Sqlite (>= 6.0.2)
- AspNetCore.HealthChecks.SqlServer (>= 6.0.2)
- AspNetCore.HealthChecks.System (>= 6.0.5)
- AspNetCore.HealthChecks.UI.Client (>= 6.0.5)
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 7.0.0)
- Microsoft.Extensions.Configuration.FileExtensions (>= 7.0.0)
- Microsoft.Extensions.Configuration.Json (>= 7.0.0)
- Microsoft.Extensions.Hosting (>= 6.0.1)
- Microsoft.Extensions.Logging.Console (>= 7.0.0)
- Microsoft.Extensions.Options (>= 7.0.0)
- Microsoft.VisualStudio.Azure.Containers.Tools.Targets (>= 1.17.0)
- OpenTelemetry (>= 1.4.0-beta.3)
- OpenTelemetry.Exporter.Console (>= 1.4.0-beta.3)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.4.0-beta.3)
- OpenTelemetry.Exporter.OpenTelemetryProtocol.Logs (>= 1.4.0-beta.3)
- OpenTelemetry.Exporter.Prometheus.AspNetCore (>= 1.4.0-beta.3)
- OpenTelemetry.Extensions.Hosting (>= 1.0.0-rc9.9)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.0.0-rc9.9)
- OpenTelemetry.Instrumentation.Http (>= 1.0.0-rc9.9)
- OpenTelemetry.Instrumentation.Runtime (>= 1.0.0)
- OpenTelemetry.Instrumentation.SqlClient (>= 1.0.0-rc9.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.