Indiko.Blocks.Tracing.OpenTelemetry
2.7.8
dotnet add package Indiko.Blocks.Tracing.OpenTelemetry --version 2.7.8
NuGet\Install-Package Indiko.Blocks.Tracing.OpenTelemetry -Version 2.7.8
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="Indiko.Blocks.Tracing.OpenTelemetry" Version="2.7.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Indiko.Blocks.Tracing.OpenTelemetry" Version="2.7.8" />
<PackageReference Include="Indiko.Blocks.Tracing.OpenTelemetry" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Indiko.Blocks.Tracing.OpenTelemetry --version 2.7.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Indiko.Blocks.Tracing.OpenTelemetry, 2.7.8"
#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.
#:package Indiko.Blocks.Tracing.OpenTelemetry@2.7.8
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Indiko.Blocks.Tracing.OpenTelemetry&version=2.7.8
#tool nuget:?package=Indiko.Blocks.Tracing.OpenTelemetry&version=2.7.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Indiko.Blocks.Tracing.OpenTelemetry
OpenTelemetry tracing and metrics integration block for Indiko hosts.
Overview
This package configures OpenTelemetry instrumentation, exporters, and a custom metric adapter pipeline.
Key Components
OpenTelemetryBlockOpenTelemetryOptionsTracingOptionsMetricOptionsOtelCollectorOptionsMetricAdapterFactoryand metric adapter attributes
DI Registration Entry Point
OpenTelemetryBlock.ConfigureServices(...) registers OpenTelemetry tracing/metrics and exporter pipeline based on options.
Configuration
Configuration section: OpenTelemetryOptions
EnabledAddHttp2UnencryptedSupportTracing.*Metrics.*OtelCollectorOptions.*
Runtime Behavior and Caveats
- Throws configuration error when OTLP exporter is enabled without endpoint.
- Supports instrumentation for ASP.NET Core, HTTP client, runtime/process, and additional configured meters/sources.
- Includes custom metric adapter discovery and registration flow.
Minimal Usage
// configure OpenTelemetryOptions in appsettings
// block manager loads IOpenTelemetryBlock and executes ConfigureServices
Target Framework
- .NET 10
Related Packages
Indiko.Blocks.Tracing.Sentry
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Indiko.Blocks.Common.Abstractions (>= 2.7.8)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.6)
- OpenTelemetry (>= 1.15.2)
- OpenTelemetry.Api (>= 1.15.2)
- OpenTelemetry.Exporter.Console (>= 1.15.2)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.15.2)
- OpenTelemetry.Exporter.Prometheus.AspNetCore (>= 1.12.0-beta.1)
- OpenTelemetry.Extensions.Hosting (>= 1.15.2)
- OpenTelemetry.Instrumentation.AspNetCore (>= 1.15.1)
- OpenTelemetry.Instrumentation.EntityFrameworkCore (>= 1.12.0-beta.2)
- OpenTelemetry.Instrumentation.EventCounters (>= 1.5.1-alpha.1)
- OpenTelemetry.Instrumentation.GrpcCore (>= 1.0.0-beta.6)
- OpenTelemetry.Instrumentation.GrpcNetClient (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.Http (>= 1.15.0)
- OpenTelemetry.Instrumentation.Process (>= 1.12.0-beta.1)
- OpenTelemetry.Instrumentation.Runtime (>= 1.15.0)
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 |
|---|---|---|
| 2.7.8 | 29 | 5/7/2026 |
| 2.7.7 | 45 | 5/7/2026 |
| 2.7.6 | 58 | 4/23/2026 |
| 2.7.5 | 62 | 4/23/2026 |
| 2.7.4 | 61 | 4/23/2026 |
| 2.7.3 | 66 | 4/23/2026 |
| 2.7.2 | 56 | 4/23/2026 |
| 2.7.1 | 51 | 4/23/2026 |
| 2.7.0 | 62 | 4/23/2026 |
| 2.6.4 | 49 | 4/21/2026 |
| 2.6.3 | 47 | 4/21/2026 |
| 2.6.2 | 53 | 4/21/2026 |
| 2.6.1 | 51 | 4/18/2026 |
| 2.6.0 | 63 | 4/17/2026 |
| 2.5.1 | 56 | 4/14/2026 |
| 2.5.0 | 66 | 3/30/2026 |
| 2.2.18 | 61 | 3/8/2026 |
| 2.2.17 | 50 | 3/8/2026 |
| 2.2.16 | 64 | 3/8/2026 |
| 2.2.15 | 54 | 3/7/2026 |
Loading failed