trace failed executions

This commit is contained in:
bergquist
2017-09-18 11:08:58 +02:00
parent e128310045
commit 8c8fdadb78
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ func (e *GraphiteExecutor) Execute(ctx context.Context, queries tsdb.QuerySlice,
return result
}
span, ctx := opentracing.StartSpanFromContext(ctx, "alerting.graphite")
span, ctx := opentracing.StartSpanFromContext(ctx, "graphite query")
span.SetTag("target", target)
span.SetTag("from", from)
span.SetTag("until", until)