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

Commit

Permalink
Expose public singleton instance of NoopTracer (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurishkuro authored Aug 12, 2016
1 parent 24be419 commit be3f110
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opentracing-impl/src/main/java/io/opentracing/NoopTracer.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

public final class NoopTracer implements Tracer {

public final static NoopTracer INSTANCE = new NoopTracer();

@Override
public SpanBuilder buildSpan(String operationName) {
return NoopSpanBuilder.INSTANCE;
Expand Down

0 comments on commit be3f110

Please sign in to comment.