Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
owais committed Sep 29, 2020
1 parent 1522b44 commit ddf0839
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,16 @@ def get_excluded_urls():
return ExcludeList(urls)


def get_traced_request_attrs():
attrs = configuration.Configuration().TORNADO_TRACED_REQUEST_ATTRS or ""
if attrs:
attrs = [attr.strip() for attr in attrs.split(",")]
else:
attrs = []
return attrs

_excluded_urls = get_excluded_urls()
_traced_attrs = get_traced_request_attrs()


class TornadoInstrumentor(BaseInstrumentor):
Expand Down

0 comments on commit ddf0839

Please sign in to comment.