Skip to content

Commit

Permalink
refactor: add trace
Browse files Browse the repository at this point in the history
  • Loading branch information
yangdm0209 committed Dec 3, 2024
1 parent 8f23a7d commit c5bea22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package rueidis

import (
"context"
"log"

"go.opentelemetry.io/otel/codes"

Expand All @@ -26,7 +25,6 @@ const (

func StartTrace(ctx context.Context, spanName string, kvs ...string) (context.Context, func(error)) {
var span trace.Span
log.Println("StartTrace==>", spanName)
if EnableTrace {
var attrs []attribute.KeyValue
var key string
Expand Down

0 comments on commit c5bea22

Please sign in to comment.