Skip to content

Commit

Permalink
fix(deps): update module otelgrpc to v0.46.0
Browse files Browse the repository at this point in the history
Signed-off-by: Artsiom Koltun <[email protected]>
  • Loading branch information
artek-koltun authored and glimchb committed Nov 16, 2023
1 parent c4de997 commit 9340bec
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 84 deletions.
21 changes: 11 additions & 10 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,17 @@ func runGrpcServer(grpcPort int, spdkAddress string, tlsFiles string, store gokv
}
serverOptions = append(serverOptions, option)
}
serverOptions = append(serverOptions, grpc.ChainUnaryInterceptor(
otelgrpc.UnaryServerInterceptor(),
logging.UnaryServerInterceptor(utils.InterceptorLogger(log.Default()),
logging.WithLogOnEvents(
logging.StartCall,
logging.FinishCall,
logging.PayloadReceived,
logging.PayloadSent,
),
)),
serverOptions = append(serverOptions,
grpc.StatsHandler(otelgrpc.NewServerHandler()),
grpc.UnaryInterceptor(
logging.UnaryServerInterceptor(utils.InterceptorLogger(log.Default()),
logging.WithLogOnEvents(
logging.StartCall,
logging.FinishCall,
logging.PayloadReceived,
logging.PayloadSent,
),
)),
)
s := grpc.NewServer(serverOptions...)

Expand Down
16 changes: 8 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ require (
github.com/opiproject/gospdk v0.0.0-20231106063554-36ab50606e9c
github.com/opiproject/opi-api v0.0.0-20231106063049-7979f3e83669
github.com/opiproject/opi-smbios-bridge v0.1.3-0.20231111031817-70db7728f3b6
github.com/opiproject/opi-spdk-bridge v0.1.2-0.20231111130039-2e7eae20b178
github.com/opiproject/opi-spdk-bridge v0.1.2-0.20231115183451-9e2747c7e364
github.com/opiproject/opi-strongswan-bridge v0.1.2-0.20231111124002-d4dd7efe7c6f
github.com/philippgille/gokv v0.6.0
github.com/philippgille/gokv/gomap v0.6.0
github.com/philippgille/gokv/redis v0.6.0
github.com/vektra/mockery/v2 v2.36.1
go.einride.tech/aip v0.65.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.45.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.0
golang.org/x/tools v0.15.0
google.golang.org/grpc v1.59.0
google.golang.org/protobuf v1.31.0
Expand Down Expand Up @@ -205,12 +205,12 @@ require (
github.com/ykadowak/zerologlint v0.1.3 // indirect
gitlab.com/bosi/decorder v0.4.1 // indirect
go-simpler.org/sloglint v0.1.2 // indirect
go.opentelemetry.io/otel v1.19.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 // indirect
go.opentelemetry.io/otel/metric v1.19.0 // indirect
go.opentelemetry.io/otel/sdk v1.19.0 // indirect
go.opentelemetry.io/otel/trace v1.19.0 // indirect
go.opentelemetry.io/otel v1.20.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.20.0 // indirect
go.opentelemetry.io/otel/metric v1.20.0 // indirect
go.opentelemetry.io/otel/sdk v1.20.0 // indirect
go.opentelemetry.io/otel/trace v1.20.0 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.tmz.dev/musttag v0.7.2 // indirect
go.uber.org/atomic v1.9.0 // indirect
Expand Down
Loading

0 comments on commit 9340bec

Please sign in to comment.