Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
Update span log level. (#150)
Browse files Browse the repository at this point in the history
Promote `asyncRequests()` span to info level so it's not filtered out by default.
  • Loading branch information
Baliedge authored Aug 16, 2022
1 parent 6a8f6e2 commit 620b5a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/davecgh/go-spew v1.1.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.2
github.com/hashicorp/memberlist v0.3.1
github.com/mailgun/holster/v4 v4.7.0
github.com/mailgun/holster/v4 v4.7.1
github.com/miekg/dns v1.1.49
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.13.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/mailgun/holster/v4 v4.7.0 h1:eWAqHDNqViw3+uG46J+eMDW9E5dro56RSMOd9RZ9090=
github.com/mailgun/holster/v4 v4.7.0/go.mod h1:cokuSdxtRPgySxSozaFzDt+TGixnKrKj3ZO6GtYubQo=
github.com/mailgun/holster/v4 v4.7.1 h1:aDq1tDKRnSZl5ZgZzg3cHz6eSj8tVvAy6faOcDhDQHA=
github.com/mailgun/holster/v4 v4.7.1/go.mod h1:cokuSdxtRPgySxSozaFzDt+TGixnKrKj3ZO6GtYubQo=
github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
Expand Down
2 changes: 1 addition & 1 deletion gubernator.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ func (s *V1Instance) asyncRequests(ctx context.Context, req *AsyncReq) {
var attempts int
var err error

ctx = tracing.StartScopeDebug(ctx)
ctx = tracing.StartScope(ctx)
defer tracing.EndScope(ctx, nil)
span := trace.SpanFromContext(ctx)
span.SetAttributes(
Expand Down

0 comments on commit 620b5a8

Please sign in to comment.