Skip to content

Commit

Permalink
Merge pull request #5 from sriraamas/experiment-opentracing
Browse files Browse the repository at this point in the history
Close opentracing span when a request finishes
  • Loading branch information
tmccombs authored Dec 14, 2019
2 parents 8512b47 + 3d7ac5a commit ddb194e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public CloseableHttpResponse execute(HttpRoute route, HttpRequestWrapper request
throw e;
} finally {
tagger.tagContext();
span.finish();
}
tagger.tagResponse(response);
return response;
Expand Down

0 comments on commit ddb194e

Please sign in to comment.