From a27d5ecf2226809fedc29f4e3ed351c4f7723318 Mon Sep 17 00:00:00 2001 From: makeavish Date: Mon, 17 Jul 2023 01:45:42 +0530 Subject: [PATCH] fix: remove resource attributes maps in trace model --- exporter/clickhousetracesexporter/clickhouse_exporter.go | 1 - exporter/clickhousetracesexporter/schema-signoz.go | 1 - 2 files changed, 2 deletions(-) diff --git a/exporter/clickhousetracesexporter/clickhouse_exporter.go b/exporter/clickhousetracesexporter/clickhouse_exporter.go index 20debdee..2f46a20e 100644 --- a/exporter/clickhousetracesexporter/clickhouse_exporter.go +++ b/exporter/clickhousetracesexporter/clickhouse_exporter.go @@ -362,7 +362,6 @@ func newStructuredSpan(otelSpan ptrace.Span, ServiceName string, resource pcommo Kind: int8(otelSpan.Kind()), References: references, TagMap: tagMap, - ResourceTagsMap: resourceAttrs, StringTagMap: stringTagMap, NumberTagMap: numberTagMap, BoolTagMap: boolTagMap, diff --git a/exporter/clickhousetracesexporter/schema-signoz.go b/exporter/clickhousetracesexporter/schema-signoz.go index 106cb179..5e710502 100644 --- a/exporter/clickhousetracesexporter/schema-signoz.go +++ b/exporter/clickhousetracesexporter/schema-signoz.go @@ -46,7 +46,6 @@ type TraceModel struct { References references `json:"references,omitempty"` StatusCode int16 `json:"statusCode,omitempty"` TagMap map[string]string `json:"tagMap,omitempty"` - ResourceTagsMap map[string]string `json:"resourceTagsMap,omitempty"` StringTagMap map[string]string `json:"stringTagMap,omitempty"` NumberTagMap map[string]float64 `json:"numberTagMap,omitempty"` BoolTagMap map[string]bool `json:"boolTagMap,omitempty"`