Skip to content

Commit

Permalink
Update 0000-named-tracers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
z1c0 authored Aug 13, 2019
1 parent 0a676a5 commit 3c4d150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-named-tracers.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Alternatively, an implementation can provide different tracer instances per spec

## Prior art and alternatives

Alternatively, instead of having a `TracerFactory`, existing (global) tracers could return and additional indirection objects (called e.g. `TraceComponent`), which would be able to produce spans for specifically named traced components.
Alternatively, instead of having a `TracerFactory`, existing (global) tracers could return additional indirection objects (called e.g. `TraceComponent`), which would be able to produce spans for specifically named traced components.

```java
TraceComponent traceComponent = OpenTelemetry.Tracing.getTracer().componentBuilder("io.opentelemetry.contrib.mongodb");
Expand Down

0 comments on commit 3c4d150

Please sign in to comment.