Skip to content

Commit

Permalink
Remove ydb otel tracer
Browse files Browse the repository at this point in the history
Signed-off-by: sashayakovtseva <[email protected]>
  • Loading branch information
sashayakovtseva committed Mar 26, 2024
1 parent 5232153 commit 7c758db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/datastore/ydb/ydb.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (

sq "github.com/Masterminds/squirrel"
"github.com/prometheus/client_golang/prometheus"
ydbOtel "github.com/ydb-platform/ydb-go-sdk-otel"
ydbPrometheus "github.com/ydb-platform/ydb-go-sdk-prometheus"
ydbZerolog "github.com/ydb-platform/ydb-go-sdk-zerolog"
"github.com/ydb-platform/ydb-go-sdk/v3"
Expand Down Expand Up @@ -76,7 +75,6 @@ func newYDBDatastore(ctx context.Context, dsn string, opts ...Option) (*ydbDatas

ydbOpts := []ydb.Option{
ydbZerolog.WithTraces(&log.Logger, trace.DatabaseSQLEvents),
ydbOtel.WithTraces(),
ydb.WithSessionPoolSizeLimit(config.sessionCountLimit),
ydb.WithSessionPoolIdleThreshold(config.sessionIdleThreshold),
ydb.WithSessionPoolKeepAliveTimeout(config.sessionKeepaliveTimeout),
Expand Down

0 comments on commit 7c758db

Please sign in to comment.