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

Commit

Permalink
Rename tracer argument of create_tracer()
Browse files Browse the repository at this point in the history
Make it clearer that the provided tracer object should be an
OpenTelemetry tracer, not an OpenTracing tracer.
  • Loading branch information
johananl committed Oct 23, 2019
1 parent 7860f55 commit 082183a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
logger = logging.getLogger(__name__)


def create_tracer(tracer):
return TracerShim(tracer)
def create_tracer(otel_tracer):
return TracerShim(otel_tracer)


class SpanContextShim(opentracing.SpanContext):
Expand Down

0 comments on commit 082183a

Please sign in to comment.