Use correct trace span name

This commit is contained in:
Tobie Morgan Hitchcock 2020-12-09 21:19:13 +00:00
parent 5c84421028
commit 410a0e1769

View file

@ -142,7 +142,7 @@ func (e *executor) conduct(ctx context.Context, stm sql.Statement) {
// the execution time of this method, and // the execution time of this method, and
// detect problems with long-running queries. // detect problems with long-running queries.
ctx, span := trc.Start(ctx, "db::execute") ctx, span := trc.Start(ctx, "db::conduct")
defer span.End() defer span.End()
// If we are not inside a global transaction // If we are not inside a global transaction