OpenTelemetry .NET instrumentation compatibility and requirements π
Meet the following requirements to instrument .NET applications for Splunk Observability Cloud:
Ensure you are using supported .NET versions π
The Splunk Distribution of OpenTelemetry .NET supports the following .NET versions:
.NET 6.0 and higher
.NET Framework 4.6.2 and higher
Supported libraries π
The Splunk Distribution of OpenTelemetry .NET instruments the following libraries.
Caution
This is a beta distribution. Use it for evaluation purposes only. Donβt use it in production environments. Some features might have restrictions, limited stability, or might change in next versions. Limited support is provided on best-effort basis.
Traces instrumentations π
Library |
Supported versions |
Instrumentation ID |
---|---|---|
ASP.NET Framework (.NET Framework) |
|
|
ASP.NET Core |
|
|
Azure SDK |
|
|
Elastic.Clients.Elasticsearch |
8.0.0 and higher |
|
Microsoft.EntityFrameworkCore |
6.0.12 and higher |
|
GraphQL |
7.5.0 and higher |
|
Grpc.Net.Client |
2.52.0 to 3.0.0 |
|
System.Net.Http.HttpClient and |
|
|
MassTransit |
8.0.0 and higher |
|
MongoDB.Driver.Core |
2.13.3 to 3.0.0 |
|
MySqlConnector |
2.0.0 and higher |
|
MySql.Data |
8.1.0 and higher |
|
Npgsql |
6.0.0 and higher |
|
NServiceBus |
8.0.0 and higher |
|
Microsoft.Data.SqlClient and |
Version 3.* is not supported on .NET Framework |
|
Quartz |
3.4.0 and higher |
|
StackExchange.Redis |
2.0.405 to 3.0.0 |
|
System.ServiceModel |
4.7.0 and higher |
|
Metrics instrumentations π
Library |
Supported versions |
Instrumentation ID |
---|---|---|
ASP.NET Framework |
|
|
ASP.NET Core |
|
|
System.Net.Http.HttpClient and |
|
|
OpenTelemetry.Instrumentation.Runtime |
|
|
NServiceBus |
8.0.0 and higher |
|
OpenTelemetry.Instrumentation.Process |
|
Logs instrumentations π
Library |
Supported versions |
Instrumentation ID |
---|---|---|
Microsoft.Extensions.Logging 6.0.0 and higher |
6.0.0 and higher |
|
Install and configure the Splunk Distribution of OpenTelemetry Collector π
The Splunk Distribution of OpenTelemetry .NET exports application traces and spans to the Splunk Distribution of OpenTelemetry Collector, which also collects system metric data and logs, including profiling data.
To send application traces and spans to Splunk Observability Cloud, install the Splunk Distribution of OpenTelemetry Collector for your platform. The following distributions are available:
Splunk OTel Collector for Linux. See Install the Collector for Linux with the installer script.
Splunk OTel Collector for Windows. See Install the Collector for Windows with the installer script.
Splunk OTel Collector for Kubernetes. See Install the Collector for Kubernetes.