add test spans

This commit is contained in:
A.Unger
2021-08-06 15:47:46 +02:00
parent 33b1524f15
commit 2bdd07e41b
9 changed files with 83 additions and 22 deletions
+1 -1
View File
@@ -19,5 +19,5 @@ type tracing struct {
// ServeHTTP implements the Service interface.
func (t tracing) ServeHTTP(w http.ResponseWriter, r *http.Request) {
middleware.Trace(t.next).ServeHTTP(w, r)
middleware.TraceContext(t.next).ServeHTTP(w, r)
}