Opentracing Utils (#5722)

* Add decerators for tracing functions

* Use the new clean contexts

* Context and edu utils

* Move opentracing setters

* Move whitelisting

* Sectioning comments

* Better args wrapper

* Docstrings

Co-Authored-By: Erik Johnston <erik@matrix.org>

* Remove unused methods.

* Don't use global

* One tracing decorator to rule them all.
This commit is contained in:
Jorik Schellekens 2019-07-23 13:31:16 +01:00 committed by GitHub
parent 841b12867e
commit 18a466b84e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 357 additions and 101 deletions

View file

@ -131,7 +131,7 @@ class _LogContextScope(Scope):
def close(self):
if self.manager.active is not self:
logger.error("Tried to close a none active scope!")
logger.error("Tried to close a non-active scope!")
return
if self._finish_on_close: