diff --git a/frontik/request_integrations/telemetry.py b/frontik/request_integrations/telemetry.py index 2f457fde1..e94da73d7 100644 --- a/frontik/request_integrations/telemetry.py +++ b/frontik/request_integrations/telemetry.py @@ -27,7 +27,7 @@ def _start_span(tracer, tornado_request) -> trace.span.Span: span, token = _start_internal_or_server_span( tracer=tracer, - span_name=_get_default_span_name(tornado_request), + span_name='undefinedOperation', start_time=time_ns(), context_carrier=tornado_request.headers, context_getter=textmap.default_getter, @@ -45,14 +45,6 @@ def _start_span(tracer, tornado_request) -> trace.span.Span: return span -def _get_default_span_name(tornado_request): - path = tornado_request.path - method = tornado_request.method - if method and path: - return f'{method} {path}' - return f'{method}' - - def _get_attributes_from_request(tornado_request: HTTPServerRequest): attrs = { SpanAttributes.HTTP_METHOD: tornado_request.method,