Skip to content

Commit

Permalink
header命名问题
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestlinfeng committed Mar 22, 2024
1 parent 9bc4fc2 commit 22585ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions oteltrpc/oteltrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func (f factory) Setup(name string, configDec plugin.Decoder) error {
SampleError: cfg.Traces.DeferredSampleError,
SampleSlowDuration: cfg.Traces.DeferredSampleSlowDuration,
})

var isHTTPEnabled bool
if strings.HasPrefix(cfg.Addr, "http://") || strings.HasPrefix(cfg.Addr, "https://") {
isHTTPEnabled = true
Expand Down

0 comments on commit 22585ee

Please sign in to comment.