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