diff --git a/src/Server/GRPCServer.cpp b/src/Server/GRPCServer.cpp index d925389c4df..de4cd47721b 100644 --- a/src/Server/GRPCServer.cpp +++ b/src/Server/GRPCServer.cpp @@ -854,7 +854,7 @@ namespace query_context->getClientInfo().client_trace_context, query_context->getSettingsRef(), query_context->getOpenTelemetrySpanLog()); - thread_trace_context->root_span.kind = OpenTelemetry::SERVER; + thread_trace_context->root_span.kind = OpenTelemetry::SpanKind::SERVER; thread_trace_context->root_span.addAttribute("http.referer", query_context->getClientInfo().http_referer); thread_trace_context->root_span.addAttribute("http.user.agent", query_context->getClientInfo().http_user_agent); thread_trace_context->root_span.addAttribute("http.method", toString(query_context->getClientInfo().http_method)); diff --git a/src/Server/HTTPHandler.cpp b/src/Server/HTTPHandler.cpp index f4f5d0a784e..7e8b89d0137 100644 --- a/src/Server/HTTPHandler.cpp +++ b/src/Server/HTTPHandler.cpp @@ -1058,7 +1058,7 @@ void HTTPHandler::handleRequest(HTTPServerRequest & request, HTTPServerResponse client_trace_context, context->getSettingsRef(), context->getOpenTelemetrySpanLog()); - thread_trace_context->root_span.kind = OpenTelemetry::SERVER; + thread_trace_context->root_span.kind = OpenTelemetry::SpanKind::SERVER; thread_trace_context->root_span.addAttribute("clickhouse.uri", request.getURI()); thread_trace_context->root_span.addAttribute("http.referer", session->getClientInfo().http_referer); thread_trace_context->root_span.addAttribute("http.user.agent", session->getClientInfo().http_user_agent); diff --git a/src/Server/TCPHandler.cpp b/src/Server/TCPHandler.cpp index 1da84b06fa4..d6d286ec4df 100644 --- a/src/Server/TCPHandler.cpp +++ b/src/Server/TCPHandler.cpp @@ -385,7 +385,7 @@ void TCPHandler::runImpl() query_context->getClientInfo().client_trace_context, query_context->getSettingsRef(), query_context->getOpenTelemetrySpanLog()); - thread_trace_context->root_span.kind = OpenTelemetry::SERVER; + thread_trace_context->root_span.kind = OpenTelemetry::SpanKind::SERVER; thread_trace_context->root_span.addAttribute("http.referer", query_context->getClientInfo().http_referer); thread_trace_context->root_span.addAttribute("http.user.agent", query_context->getClientInfo().http_user_agent); thread_trace_context->root_span.addAttribute("http.method", toString(query_context->getClientInfo().http_method));