Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit e8fbd11

Browse files
committed
trace the number of reqs. why not?
1 parent 1437d97 commit e8fbd11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/graphite.go

+1
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,7 @@ func (s *Server) executePlan(ctx context.Context, orgId uint32, plan expr.Plan)
754754
return nil, err
755755
}
756756
span := opentracing.SpanFromContext(ctx)
757+
span.SetTag("num_reqs", len(reqs))
757758
span.SetTag("points_fetch", pointsFetch)
758759
span.SetTag("points_return", pointsReturn)
759760

0 commit comments

Comments
 (0)