From f326536ef056cb8cf8cc1ed519464aa386570564 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Thu, 19 Nov 2020 15:30:44 +0300 Subject: [PATCH] fixup --- src/Common/OpenTelemetryTraceContext.h | 3 ++- src/Common/ThreadStatus.h | 2 +- tests/queries/0_stateless/01455_opentelemetry_distributed.sh | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Common/OpenTelemetryTraceContext.h b/src/Common/OpenTelemetryTraceContext.h index 1024230703d..fe88981cb1e 100644 --- a/src/Common/OpenTelemetryTraceContext.h +++ b/src/Common/OpenTelemetryTraceContext.h @@ -1,6 +1,7 @@ #pragma once -namespace DB { +namespace DB +{ // The runtime info we need to create new OpenTelemetry spans. struct OpenTelemetryTraceContext diff --git a/src/Common/ThreadStatus.h b/src/Common/ThreadStatus.h index 4f6422ab151..5c46ff3bf40 100644 --- a/src/Common/ThreadStatus.h +++ b/src/Common/ThreadStatus.h @@ -109,7 +109,7 @@ public: using Deleter = std::function; Deleter deleter; - // This is the current most-derived OpenTelemetry span for this thread. It + // This is the current most-derived OpenTelemetry span for this thread. It // can be changed throughout the query execution, whenever we enter a new // span or exit it. See OpenTelemetrySpanHolder that is normally responsible // for these changes. diff --git a/tests/queries/0_stateless/01455_opentelemetry_distributed.sh b/tests/queries/0_stateless/01455_opentelemetry_distributed.sh index 08c8b1ce808..f81a010cf95 100755 --- a/tests/queries/0_stateless/01455_opentelemetry_distributed.sh +++ b/tests/queries/0_stateless/01455_opentelemetry_distributed.sh @@ -60,7 +60,7 @@ trace_id=$(${CLICKHOUSE_CLIENT} -q "select lower(hex(reverse(reinterpretAsString # https://github.com/ClickHouse/ClickHouse/issues/14228 ${CLICKHOUSE_CURL} \ --header "traceparent: 00-$trace_id-0000000000000073-01" \ - --header "tracestate: some custom state" "http://localhost:8123/" \ + --header "tracestate: some custom state" "http://127.0.0.2:8123/" \ --get \ --data-urlencode "query=select 1 from remote('127.0.0.2', system, one) format Null"