From bef27fab1356619d193f575b75cd933f923b2737 Mon Sep 17 00:00:00 2001 From: Vishal Sharma Date: Fri, 30 Jun 2023 10:46:31 +0530 Subject: [PATCH] fix: trace column attributes name (#154) --- exporter/clickhousetracesexporter/clickhouse_exporter.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exporter/clickhousetracesexporter/clickhouse_exporter.go b/exporter/clickhousetracesexporter/clickhouse_exporter.go index 27c40ce9..2f46a20e 100644 --- a/exporter/clickhousetracesexporter/clickhouse_exporter.go +++ b/exporter/clickhousetracesexporter/clickhouse_exporter.go @@ -428,21 +428,21 @@ func (s *storage) Shutdown(_ context.Context) error { func extractSpanAttributesFromSpanIndex(span *Span) []SpanAttribute { spanAttributes := []SpanAttribute{} spanAttributes = append(spanAttributes, SpanAttribute{ - Key: "traceId", + Key: "traceID", TagType: "tag", IsColumn: true, DataType: "string", StringValue: span.TraceId, }) spanAttributes = append(spanAttributes, SpanAttribute{ - Key: "spanId", + Key: "spanID", TagType: "tag", IsColumn: true, DataType: "string", StringValue: span.SpanId, }) spanAttributes = append(spanAttributes, SpanAttribute{ - Key: "parentSpanId", + Key: "parentSpanID", TagType: "tag", IsColumn: true, DataType: "string",