Skip to content

Commit

Permalink
Update core to v0.2.2 (#94)
Browse files Browse the repository at this point in the history
Updated github.com/open-telemetry/opentelemetry-collector dependency to v0.2.2.

This required changes to components since v0.2.2 has breaking changes in
component interfaces. All components are updated as needed.
  • Loading branch information
tigrannajaryan authored Jan 10, 2020
1 parent fc49e9a commit 3771198
Show file tree
Hide file tree
Showing 35 changed files with 1,157 additions and 163 deletions.
2 changes: 1 addition & 1 deletion exporter/awsxrayexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/mattn/go-isatty v0.0.10 // indirect
// TODO: pin a released version
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191205151336-8e2473c5e754
github.com/open-telemetry/opentelemetry-collector v0.2.2
github.com/stretchr/testify v1.4.0
go.uber.org/zap v1.10.0
golang.org/x/net v0.0.0-20190923162816-aa69164e4478
Expand Down
4 changes: 2 additions & 2 deletions exporter/awsxrayexporter/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,8 @@ github.com/onsi/gomega v1.5.0 h1:izbySO9zDPmjJ8rDjLvkA2zJHIo+HkYXHnf7eN7SSyo=
github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.0 h1:XPnZz8VVBHjVsy1vzJmRwIcSwiUO+JFfrv/xGiigmME=
github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191205151336-8e2473c5e754 h1:gG2Ig+OgvWCyKLk3/Mz10HkSFolKjsWerT8kE9u+qig=
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191205151336-8e2473c5e754/go.mod h1:WxiK9mcisb/hM6M6+2BRV/VIU2c8VzlCRJED2S1MWns=
github.com/open-telemetry/opentelemetry-collector v0.2.2 h1:fByPHI/xDbTw3X36/OiEr30Hu69/Xdwd4SEdy1WrIIY=
github.com/open-telemetry/opentelemetry-collector v0.2.2/go.mod h1:WxiK9mcisb/hM6M6+2BRV/VIU2c8VzlCRJED2S1MWns=
github.com/opentracing-contrib/go-stdlib v0.0.0-20190519235532-cf7a6c988dc9 h1:QsgXACQhd9QJhEmRumbsMQQvBtmdS0mafoVEBplWXEg=
github.com/opentracing-contrib/go-stdlib v0.0.0-20190519235532-cf7a6c988dc9/go.mod h1:PLldrQSroqzH70Xl+1DQcGnefIbqsKR7UDaiux3zV+w=
github.com/opentracing/opentracing-go v1.1.0 h1:pWlfV3Bxv7k65HYwkikxat0+s3pV4bsqf19k25Ur8rU=
Expand Down
2 changes: 1 addition & 1 deletion exporter/azuremonitorexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/census-instrumentation/opencensus-proto v0.2.1
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
github.com/golang/protobuf v1.3.2
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191016224815-dfabfb0c1d1e
github.com/open-telemetry/opentelemetry-collector v0.2.2
github.com/satori/go.uuid v1.2.0 // indirect
github.com/stretchr/testify v1.4.0
github.com/tedsuo/ifrit v0.0.0-20191009134036-9a97d0632f00 // indirect
Expand Down
165 changes: 152 additions & 13 deletions exporter/azuremonitorexporter/go.sum

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion exporter/azuremonitorexporter/traceexporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (

var (
defaultTraceID = []byte{35, 191, 77, 229, 162, 242, 217, 75, 148, 170, 81, 99, 227, 163, 145, 25}
defaultTraceIDAsHex = idToHex(defaultTraceID)
defaultSpanID = []byte{35, 191, 77, 229, 162, 242, 217, 75, 148, 170, 81, 99, 227, 163, 145, 26}
defaultSpanIDAsHex = idToHex(defaultSpanID)
defaultParentSpanID = []byte{35, 191, 77, 229, 162, 242, 217, 75, 148, 170, 81, 99, 227, 163, 145, 27}
Expand Down
3 changes: 2 additions & 1 deletion exporter/kinesisexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package kinesisexporter
import (
"context"

"github.com/open-telemetry/opentelemetry-collector/component"
"github.com/open-telemetry/opentelemetry-collector/consumer/consumerdata"
"github.com/open-telemetry/opentelemetry-collector/consumer/consumererror"
"github.com/open-telemetry/opentelemetry-collector/exporter"
Expand All @@ -37,7 +38,7 @@ var _ (exporter.TraceExporter) = (*Exporter)(nil)
// by connecting to the endpoint. Host parameter can be used for communicating
// with the host after Start() has already returned. If error is returned by
// Start() then the collector startup will be aborted.
func (e Exporter) Start(host exporter.Host) error {
func (e Exporter) Start(host component.Host) error {
return nil
}

Expand Down
2 changes: 1 addition & 1 deletion exporter/kinesisexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kinesi
go 1.12

require (
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191119152140-567e1046cefa
github.com/open-telemetry/opentelemetry-collector v0.2.2
github.com/signalfx/opencensus-go-exporter-kinesis v0.4.2
github.com/stretchr/testify v1.4.0
go.uber.org/zap v1.10.0
Expand Down
161 changes: 154 additions & 7 deletions exporter/kinesisexporter/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exporter/sapmexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmex
go 1.12

require (
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191119152140-567e1046cefa
github.com/open-telemetry/opentelemetry-collector v0.2.2
github.com/signalfx/sapm-proto v0.3.0
github.com/stretchr/testify v1.4.0
go.uber.org/atomic v1.5.1 // indirect
Expand Down
150 changes: 146 additions & 4 deletions exporter/sapmexporter/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion exporter/signalfxexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.12
require (
github.com/census-instrumentation/opencensus-proto v0.2.1
github.com/golang/protobuf v1.3.2
github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191119152140-567e1046cefa
github.com/open-telemetry/opentelemetry-collector v0.2.2
github.com/signalfx/com_signalfx_metrics_protobuf v0.0.0-20190530013331-054be550cb49
github.com/stretchr/testify v1.4.0
go.uber.org/zap v1.12.0
Expand Down
Loading

0 comments on commit 3771198

Please sign in to comment.