@@ -113,7 +113,6 @@ the library they instrument, and steps for enabling them.
113
113
Core] ( ../../../src/OpenTelemetry.Instrumentation.AspNetCore/README.md )
114
114
* [ gRPC
115
115
client] ( ../../../src/OpenTelemetry.Instrumentation.GrpcNetClient/README.md )
116
- * [ HTTP clients] ( ../../../src/OpenTelemetry.Instrumentation.Http/README.md )
117
116
118
117
More community contributed instrumentations are available in [ OpenTelemetry .NET
119
118
Contrib] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src ) .
@@ -147,7 +146,7 @@ Writing an instrumentation library typically involves 3 steps.
147
146
library] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.SqlClient/Implementation/SqlEventSourceListener.netfx.cs )
148
147
listens to in order to trigger code as Sql commands are executed. The [ .NET
149
148
Framework HttpWebRequest
150
- instrumentation] ( ../../.. /src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs)
149
+ instrumentation] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main /src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs)
151
150
patches the runtime code (using reflection) and swaps a static reference that
152
151
gets invoked as requests are processed for custom code. Every library will be
153
152
different.
@@ -227,13 +226,13 @@ activities does not by default runs through the sampler, and will have their
227
226
with it.
228
227
229
228
Some common examples of such libraries include [ ASP.NET
230
- Core] ( ../../../src/OpenTelemetry.Instrumentation.AspNetCore/README.md ) , [ HTTP
231
- client .NET Core] ( ../../../src/OpenTelemetry.Instrumentation.Http/README.md ) .
229
+ Core] ( ../../../src/OpenTelemetry.Instrumentation.AspNetCore/README.md ) .
232
230
Instrumentation libraries for these are already provided in this repo. The
233
231
[ OpenTelemetry .NET
234
232
Contrib] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib )
235
233
repository also has instrumentations for libraries like
236
234
[ ElasticSearchClient] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Instrumentation.ElasticsearchClient )
235
+ and [ HTTP client .NET Core] ( https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Instrumentation.Http/README.md )
237
236
etc. which fall in this category.
238
237
239
238
If you are writing instrumentation for such library, it is recommended to refer
0 commit comments