Skip to content

Commit

Permalink
don't use operation name here
Browse files Browse the repository at this point in the history
  • Loading branch information
Alagunto committed Sep 5, 2024
1 parent 31f060f commit 59fba63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion near.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NewConnectionWithOTLPTracing(nodeURL string, timeout time.Duration) *Connec
Transport: otelhttp.NewTransport(
http.DefaultTransport,
otelhttp.WithSpanNameFormatter(func(operation string, r *http.Request) string {
return "near-api-go.json-rpc." + operation
return "near-api-go.json-rpc-http"
}),
),
},
Expand Down

0 comments on commit 59fba63

Please sign in to comment.