From fc49e9a799fb976e88054b99dee8695dec36d554 Mon Sep 17 00:00:00 2001 From: Kevin Brockhoff Date: Wed, 8 Jan 2020 17:50:32 -0600 Subject: [PATCH] Add AWS X-Ray exporter to collector binary (#87) --- cmd/otelcontribcol/components.go | 2 ++ go.mod | 3 +++ go.sum | 1 + 3 files changed, 6 insertions(+) diff --git a/cmd/otelcontribcol/components.go b/cmd/otelcontribcol/components.go index e1f9e98cdfd1..b1be8c7c94c2 100644 --- a/cmd/otelcontribcol/components.go +++ b/cmd/otelcontribcol/components.go @@ -21,6 +21,7 @@ import ( "github.com/open-telemetry/opentelemetry-collector/oterr" "github.com/open-telemetry/opentelemetry-collector/receiver" + "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter" "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter" "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kinesisexporter" "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmexporter" @@ -59,6 +60,7 @@ func components() (config.Factories, error) { &signalfxexporter.Factory{}, &sapmexporter.Factory{}, &kinesisexporter.Factory{}, + &awsxrayexporter.Factory{}, } for _, exp := range factories.Exporters { exporters = append(exporters, exp) diff --git a/go.mod b/go.mod index fedf8110dc07..b7d39953e43d 100644 --- a/go.mod +++ b/go.mod @@ -8,6 +8,7 @@ require ( github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect github.com/mattn/go-isatty v0.0.10 // indirect github.com/open-telemetry/opentelemetry-collector v0.2.1-0.20191217213608-3cac55bf869f + github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter v0.0.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter v0.0.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kinesisexporter v0.0.0 github.com/open-telemetry/opentelemetry-collector-contrib/exporter/sapmexporter v0.0.0 @@ -30,6 +31,8 @@ replace git.apache.org/thrift.git v0.12.0 => github.com/apache/thrift v0.12.0 replace github.com/open-telemetry/opentelemetry-collector-contrib/testbed => ./testbed +replace github.com/open-telemetry/opentelemetry-collector-contrib/exporter/awsxrayexporter => ./exporter/awsxrayexporter + replace github.com/open-telemetry/opentelemetry-collector-contrib/exporter/azuremonitorexporter => ./exporter/azuremonitorexporter replace github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kinesisexporter => ./exporter/kinesisexporter diff --git a/go.sum b/go.sum index 1996f3be0a8a..bb87b8085ec1 100644 --- a/go.sum +++ b/go.sum @@ -956,6 +956,7 @@ golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191030062658-86caa796c7ab/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191119175705-11e13f1c3fd7 h1:RyLBY/sJ/JwgAsmjUkGy/spRidXrmMj9uK4V6eiBypg= golang.org/x/tools v0.0.0-20191119175705-11e13f1c3fd7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=