This commit is contained in:
Alexander Kuzmenkov 2020-11-19 15:30:44 +03:00
parent bcf15170ed
commit f326536ef0
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,7 @@
#pragma once
namespace DB {
namespace DB
{
// The runtime info we need to create new OpenTelemetry spans.
struct OpenTelemetryTraceContext

View File

@ -109,7 +109,7 @@ public:
using Deleter = std::function<void()>;
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.

View File

@ -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"