File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 8
8
using Microsoft . Extensions . Logging ;
9
9
using OpenTelemetry . Logs ;
10
10
using OpenTelemetry . Metrics ;
11
- using ModelContextProtocol . Protocol . Types ;
12
11
13
12
using var tracerProvider = Sdk . CreateTracerProviderBuilder ( )
14
13
. AddHttpClientInstrumentation ( )
42
41
Arguments = [ "-y" , "--verbose" , "@modelcontextprotocol/server-everything" ] ,
43
42
Name = "Everything" ,
44
43
} ) ,
45
- clientOptions : new McpClientOptions ( )
44
+ clientOptions : new ( )
46
45
{
47
- Capabilities = new ClientCapabilities ( )
48
- {
49
- Sampling = new SamplingCapability ( ) { SamplingHandler = samplingClient . CreateSamplingHandler ( ) }
50
- } ,
46
+ Capabilities = new ( ) { Sampling = new ( ) { SamplingHandler = samplingClient . CreateSamplingHandler ( ) } } ,
51
47
} ,
52
48
loggerFactory : loggerFactory ) ;
53
49
You can’t perform that action at this time.
0 commit comments