Skip to content

Commit

Permalink
Add reset of status of self._instrumentor to original
Browse files Browse the repository at this point in the history
  • Loading branch information
mspillane committed Jun 7, 2024
1 parent 6ab7c3b commit 166c1b8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def test_no_op_tracer_provider(self):
self._instrumentor.uninstrument()

tracer_provider = NoOpTracerProvider()
self._instrumentor = otel_starlette.StarletteInstrumentor()
self._instrumentor.instrument(tracer_provider=tracer_provider)

self._client.get("/foobar")
Expand Down

0 comments on commit 166c1b8

Please sign in to comment.