Skip to content

Commit

Permalink
fixed typo in flag info
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMHD committed Feb 27, 2024
1 parent 3cdbd62 commit bafd0ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/settings/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ func (s Settings) BindFlags(fs *flag.FlagSet) {
flag.BoolVar(&s.Tracing.Enabled, "enable-tracing", false,
"Enable OpenTelemetry Tracing. "+
"After enabling this you should add --tracing-provider")
flag.StringVar(&s.Tracing.Provider, "tracing-provider", "jaeger",
"Tracing provider, for now only 'jaeger'. "+
flag.StringVar(&s.Tracing.Provider, "tracing-provider", "http",
"Tracing provider, for now only 'http' and 'grpc'. "+
"You should also set OTEL_EXPORTER_JAEGER_AGENT_HOST and OTEL_EXPORTER_JAEGER_AGENT_PORT.")
flag.Float64Var(&s.Tracing.SamplingRatio, "tracing-sampling-ratio", 0.001,
"Tracing sampling ration sets sampling portion of requests")
Expand Down

0 comments on commit bafd0ab

Please sign in to comment.