File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1206,14 +1206,14 @@ module Foo =
12061206 open OpenTelemetry.Trace
12071207
12081208 let init () =
1209- use tracerProvider =
1209+ let tracerProvider =
12101210 Sdk.CreateTracerProviderBuilder()
12111211 .AddSource( activitySourceName)
1212- .SetResourceBuilder( ResourceBuilder.CreateDefault() .AddService( serviceName = " fsc " , serviceVersion = " 42.42.42.42" ))
1212+ .SetResourceBuilder( ResourceBuilder.CreateDefault() .AddService( serviceName = " FSharpChecker " , serviceVersion = " 42.42.42.42" ))
12131213 .AddOtlpExporter()
12141214 .AddZipkinExporter()
12151215 .Build();
1216- use mainActivity = activitySource.StartActivity( " main" )
1216+ let mainActivity = activitySource.StartActivity( " main" )
12171217
12181218 let forceCleanup () =
12191219 mainActivity.Dispose()
You can’t perform that action at this time.
0 commit comments