@@ -4,7 +4,7 @@ linkTitle: Instrumentations
4
4
description : OpenTelemetry .NET Automatic Instrumentation supported libraries.
5
5
weight : 10
6
6
# prettier-ignore
7
- cSpell:ignore : ASPNET ASPNETCORE Bootstrapper ELASTICTRANSPORT ENTITYFRAMEWORKCORE GRCPNETCLIENT GRPCNETCLIENT HOSTINGSTARTUPASSEMBLIES HTTPCLIENT ILOGGER MASSTRANSIT MYSQLCONNECTOR MYSQLDATA NETRUNTIME NPGSQL Npgsql NSERVICEBUS SQLCLIENT STACKEXCHANGEREDIS WCFCLIENT WCFSERVICE
7
+ cSpell:ignore : ASPNET ASPNETCORE Bootstrapper DBSTATEMENT ELASTICTRANSPORT ENTITYFRAMEWORKCORE GRCPNETCLIENT GRPCNETCLIENT HOSTINGSTARTUPASSEMBLIES HTTPCLIENT ILOGGER MASSTRANSIT MYSQLCONNECTOR MYSQLDATA NETRUNTIME NPGSQL Npgsql NSERVICEBUS SQLCLIENT STACKEXCHANGEREDIS WCFCLIENT WCFSERVICE
8
8
---
9
9
10
10
The OpenTelemetry .NET Automatic Instrumentation supports a wide variety of
@@ -85,8 +85,8 @@ stable semantic convention.
85
85
| ID | Instrumented library | Documentation | Supported versions | Instrumentation type | Status |
86
86
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------ | -------------------- | --------------------------------------------------------- |
87
87
| ` ASPNET ` | ASP.NET Framework \[ 1\] ** Not supported on .NET** | [ ASP.NET metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.AspNet-1.7.0-beta.1/src/OpenTelemetry.Instrumentation.AspNet/README.md#list-of-metrics-produced ) | \* | source & bytecode | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
88
- | ` ASPNETCORE ` | ASP.NET Core \[ 2\] ** Not supported on .NET Framework** | [ ASP.NET Core metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet/blob/Instrumentation.AspNetCore-1.7.0 /src/OpenTelemetry.Instrumentation.AspNetCore/README.md#list-of-metrics-produced ) | \* | source | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
89
- | ` HTTPCLIENT ` | [ System.Net.Http.HttpClient] ( https://docs.microsoft.com/dotnet/api/system.net.http.httpclient ) and [ System.Net.HttpWebRequest] ( https://docs.microsoft.com/dotnet/api/system.net.httpwebrequest ) | [ HttpClient metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet/blob/Instrumentation.Http-1.7.0 /src/OpenTelemetry.Instrumentation.Http/README.md#list-of-metrics-produced ) | \* | source | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
88
+ | ` ASPNETCORE ` | ASP.NET Core \[ 2\] ** Not supported on .NET Framework** | [ ASP.NET Core metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet/blob/Instrumentation.AspNetCore-1.7.1 /src/OpenTelemetry.Instrumentation.AspNetCore/README.md#list-of-metrics-produced ) | \* | source | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
89
+ | ` HTTPCLIENT ` | [ System.Net.Http.HttpClient] ( https://docs.microsoft.com/dotnet/api/system.net.http.httpclient ) and [ System.Net.HttpWebRequest] ( https://docs.microsoft.com/dotnet/api/system.net.httpwebrequest ) | [ HttpClient metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet/blob/Instrumentation.Http-1.7.1 /src/OpenTelemetry.Instrumentation.Http/README.md#list-of-metrics-produced ) | \* | source | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
90
90
| ` NETRUNTIME ` | [ OpenTelemetry.Instrumentation.Runtime] ( https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Runtime ) | [ Runtime metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.Runtime-1.7.0/src/OpenTelemetry.Instrumentation.Process/README.md#metrics ) | \* | source | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
91
91
| ` PROCESS ` | [ OpenTelemetry.Instrumentation.Process] ( https://www.nuget.org/packages/OpenTelemetry.Instrumentation.Process ) | [ Process metrics] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.Process-0.5.0-beta.4/src/OpenTelemetry.Instrumentation.Process/README.md#metrics ) | \* | source | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
92
92
| ` NSERVICEBUS ` | [ NServiceBus] ( https://www.nuget.org/packages/NServiceBus ) | [ NServiceBus metrics] ( https://docs.particular.net/samples/open-telemetry/prometheus-grafana/#reporting-metric-values ) | ≥8.0.0 | source & bytecode | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
@@ -112,6 +112,8 @@ enabled without using the .NET CLR Profiler by setting the
112
112
113
113
### Instrumentation options
114
114
115
- | Environment variable | Description | Default value | Status |
116
- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------- | --------------------------------------------------------- |
117
- | ` OTEL_DOTNET_AUTO_GRAPHQL_SET_DOCUMENT ` | Whether GraphQL instrumentation can pass raw queries as ` graphql.document ` attribute. This may contain sensitive information and therefore is disabled by default. | ` false ` | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
115
+ | Environment variable | Description | Default value | Status |
116
+ | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | --------------------------------------------------------- |
117
+ | ` OTEL_DOTNET_AUTO_ENTITYFRAMEWORKCORE_SET_DBSTATEMENT_FOR_TEXT ` | Whether the Entity Framework Core instrumentation can pass SQL statements through the ` db.statement ` attribute. Queries might contain sensitive information. If set to ` false ` , ` db.statement ` is recorded only for executing stored procedures. | ` false ` | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
118
+ | ` OTEL_DOTNET_AUTO_GRAPHQL_SET_DOCUMENT ` | Whether the GraphQL instrumentation can pass raw queries through the ` graphql.document ` attribute. Queries might contain sensitive information. | ` false ` | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
119
+ | ` OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXT ` | Whether the SQL Client instrumentation can pass SQL statements through the ` db.statement ` attribute. Queries might contain sensitive information. If set to ` false ` , ` db.statement ` is recorded only for executing stored procedures. ** Not supported on .NET Framework for System.Data.SqlClient.** | ` false ` | [ Experimental] ( /docs/specs/otel/versioning-and-stability ) |
0 commit comments