Remove outdated comment from MongoDB (#2707)
This commit is contained in:
		
							parent
							
								
									cf5eae198d
								
							
						
					
					
						commit
						36890c5774
					
				|  | @ -96,7 +96,7 @@ the proper attribute annotation so that the native CLR Profiler implementation | |||
| can inject them at runtime. Some examples include: | ||||
| 
 | ||||
|   - [Logger](../src/OpenTelemetry.AutoInstrumentation/Instrumentations/Logger/) | ||||
|   - [MongoDb](../src/OpenTelemetry.AutoInstrumentation/Instrumentations/MongoDb/) | ||||
|   - [MongoDB](../src/OpenTelemetry.AutoInstrumentation/Instrumentations/MongoDB/) | ||||
| 
 | ||||
| Both kinds of instrumentation are enabled only when the targeted modules are loaded | ||||
| into the targeted application. | ||||
|  |  | |||
|  | @ -49,9 +49,6 @@ public static class MongoClientIntegration | |||
|     internal static CallTargetState OnMethodBegin<TTarget, TMongoClientSettings>(TTarget instance, TMongoClientSettings settings) | ||||
|         where TMongoClientSettings : notnull | ||||
|     { | ||||
|         // Additional deps doesn't support .NET FX | ||||
|         // TODO: Find another way how to ship & load "MongoDB.Driver.Core.Extensions.DiagnosticSources" | ||||
| 
 | ||||
|         var setListenerDelegate = _setActivityListener ??= GetClusterConfiguratorExpression().Compile(); | ||||
| 
 | ||||
|         var clusterConfiguratorProperty = settings | ||||
		Loading…
	
		Reference in New Issue