mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-01 17:34:38 +08:00
Make SpanProcessor.on_start accept parent Context (#1251)
* context from Tracer.start_span is passed through to the SpanProcessor * fix linting issue in falcon test app when linting with eachdist script * fix global error handler test as it read installed extensions * reset global Configuration object state after tests were run
This commit is contained in:
@ -5,6 +5,7 @@ import falcon
|
|||||||
|
|
||||||
class HelloWorldResource:
|
class HelloWorldResource:
|
||||||
def _handle_request(self, _, resp):
|
def _handle_request(self, _, resp):
|
||||||
|
# pylint: disable=no-member
|
||||||
resp.status = falcon.HTTP_201
|
resp.status = falcon.HTTP_201
|
||||||
resp.body = "Hello World"
|
resp.body = "Hello World"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user