*: use prefixed span names
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
@ -160,7 +160,7 @@ class FlowExecutorView(APIView):
|
||||
# pylint: disable=unused-argument, too-many-return-statements
|
||||
def dispatch(self, request: HttpRequest, flow_slug: str) -> HttpResponse:
|
||||
with Hub.current.start_span(
|
||||
op="flow.executor.dispatch", description=self.flow.slug
|
||||
op="authentik.flow.executor.dispatch", description=self.flow.slug
|
||||
) as span:
|
||||
span.set_data("authentik Flow", self.flow.slug)
|
||||
get_params = QueryDict(request.GET.get("query", ""))
|
||||
@ -275,7 +275,7 @@ class FlowExecutorView(APIView):
|
||||
)
|
||||
try:
|
||||
with Hub.current.start_span(
|
||||
op="flow.executor.stage",
|
||||
op="authentik.flow.executor.stage",
|
||||
description=class_to_path(self.current_stage_view.__class__),
|
||||
) as span:
|
||||
span.set_data("Method", "GET")
|
||||
@ -319,7 +319,7 @@ class FlowExecutorView(APIView):
|
||||
)
|
||||
try:
|
||||
with Hub.current.start_span(
|
||||
op="flow.executor.stage",
|
||||
op="authentik.flow.executor.stage",
|
||||
description=class_to_path(self.current_stage_view.__class__),
|
||||
) as span:
|
||||
span.set_data("Method", "POST")
|
||||
|
||||
Reference in New Issue
Block a user