Skip to content

Commit

Permalink
fix: trace column attributes name (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
makeavish committed Jun 30, 2023
1 parent 8decaf0 commit bef27fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exporter/clickhousetracesexporter/clickhouse_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bef27fa

Please sign in to comment.