You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* When using the [OpenTelemetry.Extensions.Hosting](https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/src/OpenTelemetry.Extensions.Hosting/README.md)
29
+
* When using the [OpenTelemetry.Extensions.Hosting](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Extensions.Hosting/README.md)
to the application. This ensures instrumentations are disposed when the host
46
46
is shutdown.
47
47
@@ -51,7 +51,7 @@ The following example demonstrates adding ASP.NET Core instrumentation with the
51
51
extension method `WithTracing()` on `OpenTelemetryBuilder`.
52
52
then extension method `AddAspNetCoreInstrumentation()` on `TracerProviderBuilder`
53
53
to the application. This example also sets up the Console Exporter,
54
-
which requires adding the package [`OpenTelemetry.Exporter.Console`](../OpenTelemetry.Exporter.Console/README.md)
54
+
which requires adding the package [`OpenTelemetry.Exporter.Console`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.Console/README.md)
55
55
to the application.
56
56
57
57
```csharp
@@ -97,7 +97,7 @@ The following example demonstrates adding ASP.NET Core instrumentation with the
97
97
extension method `WithMetrics()` on `OpenTelemetryBuilder`
98
98
then extension method `AddAspNetCoreInstrumentation()` on `MeterProviderBuilder`
99
99
to the application. This example also sets up the Console Exporter,
100
-
which requires adding the package [`OpenTelemetry.Exporter.Console`](../OpenTelemetry.Exporter.Console/README.md)
100
+
which requires adding the package [`OpenTelemetry.Exporter.Console`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Exporter.Console/README.md)
101
101
to the application.
102
102
103
103
```csharp
@@ -185,7 +185,7 @@ This instrumentation can be configured to change the default behavior by using
Copy file name to clipboardexpand all lines: src/OpenTelemetry.Instrumentation.GrpcCore/README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,14 @@ Adds OpenTelemetry instrumentation for gRPC Core-based client and server calls.
13
13
14
14
gRPC Core is the predecessor to ASP.NET Core gRPC. See <https://github.com/grpc/grpc/tree/master/src/csharp>
15
15
16
-
For ASP.NET Core gRPC client instrumentation see <https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/src/OpenTelemetry.Instrumentation.GrpcNetClient/README.md>
For full operation list please see: [OperationName](OperationName.cs).
78
+
For full operation list please see: [OperationName](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/Instrumentation.MassTransit-1.0.0-beta.3/src/OpenTelemetry.Instrumentation.MassTransit/OperationName.cs).
For an ASP.NET application, adding instrumentation is typically done in the
66
66
`Global.asax.cs`. Refer to documentation for [OpenTelemetry.Instrumentation.AspNet](../OpenTelemetry.Instrumentation.AspNet/README.md).
@@ -78,13 +78,13 @@ This instrumentation can be configured to change the default behavior by using
78
78
### Capturing 'db.statement'
79
79
80
80
The `MySqlDataInstrumentationOptions` class exposes several properties that can be
81
-
used to configure how the [`db.statement`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/database.md#call-level-attributes)
81
+
used to configure how the [`db.statement`](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/mysql.md)
82
82
attribute is captured upon execution of a query.
83
83
84
84
#### SetDbStatement
85
85
86
86
The `SetDbStatement` property can be used to control whether this instrumentation
87
-
should set the [`db.statement`](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/database.md#call-level-attributes)
87
+
should set the [`db.statement`](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/mysql.md)
88
88
attribute to the text of the `MySqlCommand` being executed.
89
89
90
90
Since `CommandType.Text` might contain sensitive data, SQL capturing is
@@ -124,7 +124,7 @@ using var tracerProvider = Sdk.CreateTracerProviderBuilder()
124
124
### RecordException
125
125
126
126
This option can be set to instruct the instrumentation to record Exceptions
127
-
as Activity [events](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/exceptions.md).
127
+
as Activity [events](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/exceptions/exceptions-spans.md).
128
128
129
129
> Due to the limitation of this library's implementation, We cannot get the raw `MysqlException`,
130
130
> only exception message is available.
@@ -143,4 +143,4 @@ using var tracerProvider = Sdk.CreateTracerProviderBuilder()
0 commit comments