C3D.Extensions.SystemWeb.OpenTelemetry.Application
0.1.53-g987c4132ff
This is a prerelease version of C3D.Extensions.SystemWeb.OpenTelemetry.Application.
dotnet add package C3D.Extensions.SystemWeb.OpenTelemetry.Application --version 0.1.53-g987c4132ff
NuGet\Install-Package C3D.Extensions.SystemWeb.OpenTelemetry.Application -Version 0.1.53-g987c4132ff
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="C3D.Extensions.SystemWeb.OpenTelemetry.Application" Version="0.1.53-g987c4132ff" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add C3D.Extensions.SystemWeb.OpenTelemetry.Application --version 0.1.53-g987c4132ff
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: C3D.Extensions.SystemWeb.OpenTelemetry.Application, 0.1.53-g987c4132ff"
#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 C3D.Extensions.SystemWeb.OpenTelemetry.Application as a Cake Addin #addin nuget:?package=C3D.Extensions.SystemWeb.OpenTelemetry.Application&version=0.1.53-g987c4132ff&prerelease // Install C3D.Extensions.SystemWeb.OpenTelemetry.Application as a Cake Tool #tool nuget:?package=C3D.Extensions.SystemWeb.OpenTelemetry.Application&version=0.1.53-g987c4132ff&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
C3D.Extensions.SystemWeb.OpenTelemetry.Application
An HttpApplication derived object that configures OTLP etc. automatically.
Application_Start
method is virtual and can be overridden.
OTLP exporter will automatically start and stop with the application.
You can customize each type of telemetry, by adding to or completely overriding each of
ConfigureResource
- Set the service name, version, and other attributes. Common to all types of telemetry.ConfigureLogging
ConfigureMetrics
ConfigureTracing
The following methods are also provided for ease of use
CreateServiceCollection
- Initialize the ServiceCollectionConfigureServiceProvider
- This could be used to register your own objects in a DI container, or adjust things like logging.UseServiceProvider
- This is called after the service provider is built, but before OTLP is started.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- Microsoft.Extensions.DependencyInjection (>= 9.0.2)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.11.2)
- OpenTelemetry.Extensions.Hosting (>= 1.11.2)
- OpenTelemetry.Instrumentation.AspNet (>= 1.11.0-beta.2)
- OpenTelemetry.Instrumentation.AspNet.TelemetryHttpModule (>= 1.11.0-beta.2)
- OpenTelemetry.Instrumentation.Http (>= 1.11.1)
- OpenTelemetry.Instrumentation.Runtime (>= 1.11.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.1.53-g987c4132ff | 86 | 3/26/2025 |
0.1.26-gcbc3ccfa21 | 100 | 3/14/2025 |
0.1.17-g0d0663aa8c | 123 | 3/12/2025 |
0.1.13-g14febc1c5d | 118 | 3/12/2025 |