Skip to content

Commit

Permalink
Remove consumerdata.TraceData (#2551)
Browse files Browse the repository at this point in the history
Updates #2482

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Feb 25, 2021
1 parent f1814e6 commit e6319ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

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

- Remove `consumerdata.TraceData` (#2551)

## v0.21.0 Beta

## πŸ›‘ Breaking changes πŸ›‘
Expand Down
10 changes: 0 additions & 10 deletions consumer/consumerdata/consumerdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
metricspb "github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1"
resourcepb "github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
)

// MetricsData is a struct that groups proto metrics with a unique node and a resource.
Expand All @@ -29,12 +28,3 @@ type MetricsData struct {
Resource *resourcepb.Resource
Metrics []*metricspb.Metric
}

// TraceData is a struct that groups proto spans with a unique node and a resource.
// Deprecated: use pdata.Traces instead.
type TraceData struct {
Node *commonpb.Node
Resource *resourcepb.Resource
Spans []*tracepb.Span
SourceFormat string
}

0 comments on commit e6319ac

Please sign in to comment.