Skip to content

Commit e6319ac

Browse files
authored
Remove consumerdata.TraceData (#2551)
Updates #2482 Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
1 parent f1814e6 commit e6319ac

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## πŸ›‘ Breaking changes πŸ›‘
6+
7+
- Remove `consumerdata.TraceData` (#2551)
8+
59
## v0.21.0 Beta
610

711
## πŸ›‘ Breaking changes πŸ›‘

β€Žconsumer/consumerdata/consumerdata.goβ€Ž

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import (
1919
commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
2020
metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1"
2121
resourcepb "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1"
22-
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
2322
)
2423

2524
// MetricsData is a struct that groups proto metrics with a unique node and a resource.
@@ -29,12 +28,3 @@ type MetricsData struct {
2928
Resource *resourcepb.Resource
3029
Metrics []*metricspb.Metric
3130
}
32-
33-
// TraceData is a struct that groups proto spans with a unique node and a resource.
34-
// Deprecated: use pdata.Traces instead.
35-
type TraceData struct {
36-
Node *commonpb.Node
37-
Resource *resourcepb.Resource
38-
Spans []*tracepb.Span
39-
SourceFormat string
40-
}

0 commit comments

Comments
Β (0)