From 69780c67a901b62d3f034e741ad286b4069c4113 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 13 Dec 2021 16:32:01 +0100 Subject: [PATCH] lib: set evaluation span's description based on filename Signed-off-by: Jens Langhammer --- authentik/lib/expression/evaluator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/lib/expression/evaluator.py b/authentik/lib/expression/evaluator.py index 5460cd7e6..b1c5fe2e5 100644 --- a/authentik/lib/expression/evaluator.py +++ b/authentik/lib/expression/evaluator.py @@ -82,6 +82,7 @@ class BaseEvaluator: The result is returned without any type-checking.""" with Hub.current.start_span(op="authentik.lib.evaluator.evaluate") as span: span: Span + span.description = self._filename span.set_data("expression", expression_source) param_keys = self._context.keys() try: