Skip to content

Commit

Permalink
Use fcs service name literal
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAngryByrd committed Feb 24, 2023
1 parent 1c67dcc commit 92f6f4a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/FsAutoComplete/Parser.fs
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,12 @@ module Parser =
let configureOTel =
Invocation.InvocationMiddleware(fun ctx next ->
let serviceName = FsAutoComplete.Utils.Tracing.serviceName
let fcsServiceName = "fsc"
let fcsProfileName = "fsc_with_env_stats"
let version = FsAutoComplete.Utils.Version.info().Version

tracerProvider <-
Sdk
.CreateTracerProviderBuilder()
.AddSource(serviceName, fcsServiceName, fcsProfileName)
.AddSource(serviceName, Tracing.fscServiceName)
.SetResourceBuilder(
ResourceBuilder
.CreateDefault()
Expand Down

0 comments on commit 92f6f4a

Please sign in to comment.