From eed647d11f57d72d7cfa3e1d25721e21e4a0c833 Mon Sep 17 00:00:00 2001 From: rghetia Date: Mon, 15 Jul 2019 14:49:21 -0700 Subject: [PATCH] replace import with vanity url go.opentelemetry.io. (#54) --- api/core/key.go | 2 +- api/event/event.go | 2 +- api/key/key.go | 4 ++-- api/metric/api.go | 6 +++--- api/metric/common.go | 2 +- api/metric/noop_meter.go | 2 +- api/registry/registry.go | 2 +- api/stats/stats.go | 4 ++-- api/tag/api.go | 2 +- api/tag/map.go | 2 +- api/trace/api.go | 6 +++--- api/trace/noop_span.go | 6 +++--- api/trace/noop_trace.go | 2 +- example/basic/main.go | 14 +++++++------- example/http/client/client.go | 8 ++++---- example/http/server/server.go | 8 ++++---- experimental/streaming/exporter/buffer/buffer.go | 2 +- experimental/streaming/exporter/loader/loader.go | 2 +- .../streaming/exporter/observer/observer.go | 6 +++--- .../streaming/exporter/reader/format/format.go | 8 ++++---- experimental/streaming/exporter/reader/reader.go | 10 +++++----- .../streaming/exporter/spandata/format/format.go | 4 ++-- .../streaming/exporter/spandata/spandata.go | 6 +++--- .../streaming/exporter/spanlog/install/package.go | 6 +++--- .../streaming/exporter/spanlog/plugin/package.go | 4 ++-- experimental/streaming/exporter/spanlog/spanlog.go | 8 ++++---- .../streaming/exporter/stderr/install/package.go | 6 +++--- .../streaming/exporter/stderr/plugin/package.go | 4 ++-- experimental/streaming/exporter/stderr/stderr.go | 6 +++--- .../streaming/exporter/stdout/install/package.go | 6 +++--- .../streaming/exporter/stdout/plugin/package.go | 4 ++-- experimental/streaming/exporter/stdout/stdout.go | 6 +++--- experimental/streaming/sdk/event/event.go | 4 ++-- experimental/streaming/sdk/trace/span.go | 10 +++++----- experimental/streaming/sdk/trace/trace.go | 14 +++++++------- go.mod | 3 +-- plugin/httptrace/api.go | 2 +- plugin/httptrace/clienttrace.go | 6 +++--- plugin/httptrace/httptrace.go | 6 +++--- 39 files changed, 102 insertions(+), 103 deletions(-) diff --git a/api/core/key.go b/api/core/key.go index 53f6d3a10196..5a23d2da350c 100644 --- a/api/core/key.go +++ b/api/core/key.go @@ -4,7 +4,7 @@ import ( "fmt" "unsafe" - "github.com/open-telemetry/opentelemetry-go/api/registry" + "go.opentelemetry.io/api/registry" ) type Key struct { diff --git a/api/event/event.go b/api/event/event.go index 523ab4cf5455..67d1c661fd2e 100644 --- a/api/event/event.go +++ b/api/event/event.go @@ -15,7 +15,7 @@ package event import ( - "github.com/open-telemetry/opentelemetry-go/api/core" + "go.opentelemetry.io/api/core" ) // Event interface provides methods to retrieve Event properties. diff --git a/api/key/key.go b/api/key/key.go index 8ca3df7405cf..1c57e2db4f25 100644 --- a/api/key/key.go +++ b/api/key/key.go @@ -1,8 +1,8 @@ package key import ( - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/registry" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/registry" ) type AnyValue struct{} diff --git a/api/metric/api.go b/api/metric/api.go index f35ecb7c469b..c96a9d0e972a 100644 --- a/api/metric/api.go +++ b/api/metric/api.go @@ -17,9 +17,9 @@ package metric import ( "context" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/registry" - "github.com/open-telemetry/opentelemetry-go/api/unit" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/registry" + "go.opentelemetry.io/api/unit" ) type MetricType int diff --git a/api/metric/common.go b/api/metric/common.go index 0ab50cdcc381..0ccad41e0b66 100644 --- a/api/metric/common.go +++ b/api/metric/common.go @@ -15,7 +15,7 @@ package metric import ( - "github.com/open-telemetry/opentelemetry-go/api/registry" + "go.opentelemetry.io/api/registry" ) func registerMetric(name string, mtype MetricType, opts []Option, metric *Handle) { diff --git a/api/metric/noop_meter.go b/api/metric/noop_meter.go index 238da9826044..b5480bcb3922 100644 --- a/api/metric/noop_meter.go +++ b/api/metric/noop_meter.go @@ -3,7 +3,7 @@ package metric import ( "context" - "github.com/open-telemetry/opentelemetry-go/api/core" + "go.opentelemetry.io/api/core" ) type noopMeter struct{} diff --git a/api/registry/registry.go b/api/registry/registry.go index f76d42e8f8e5..33c3f9616675 100644 --- a/api/registry/registry.go +++ b/api/registry/registry.go @@ -15,7 +15,7 @@ package registry import ( - "github.com/open-telemetry/opentelemetry-go/api/unit" + "go.opentelemetry.io/api/unit" ) type Sequence uint64 diff --git a/api/stats/stats.go b/api/stats/stats.go index b1b6c85dd0ce..ac295ac871e2 100644 --- a/api/stats/stats.go +++ b/api/stats/stats.go @@ -18,8 +18,8 @@ import ( "context" "sync/atomic" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/registry" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/registry" ) type MeasureHandle struct { diff --git a/api/tag/api.go b/api/tag/api.go index f6c81b187a95..c7250e187b90 100644 --- a/api/tag/api.go +++ b/api/tag/api.go @@ -17,7 +17,7 @@ package tag import ( "context" - "github.com/open-telemetry/opentelemetry-go/api/core" + "go.opentelemetry.io/api/core" ) type ctxTagsType struct{} diff --git a/api/tag/map.go b/api/tag/map.go index 85b176e7592b..8035470126f2 100644 --- a/api/tag/map.go +++ b/api/tag/map.go @@ -18,7 +18,7 @@ import ( "context" "runtime/pprof" - "github.com/open-telemetry/opentelemetry-go/api/core" + "go.opentelemetry.io/api/core" ) type tagContent struct { diff --git a/api/trace/api.go b/api/trace/api.go index c1a56e96d66e..f9bfea6662d1 100644 --- a/api/trace/api.go +++ b/api/trace/api.go @@ -20,9 +20,9 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/event" - "github.com/open-telemetry/opentelemetry-go/api/tag" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/event" + "go.opentelemetry.io/api/tag" ) type Tracer interface { diff --git a/api/trace/noop_span.go b/api/trace/noop_span.go index a493e6d8a80e..85204c10265e 100644 --- a/api/trace/noop_span.go +++ b/api/trace/noop_span.go @@ -19,9 +19,9 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/event" - "github.com/open-telemetry/opentelemetry-go/api/tag" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/event" + "go.opentelemetry.io/api/tag" ) type noopSpan struct { diff --git a/api/trace/noop_trace.go b/api/trace/noop_trace.go index 8e5ce652d58e..ab44fa483826 100644 --- a/api/trace/noop_trace.go +++ b/api/trace/noop_trace.go @@ -17,7 +17,7 @@ package trace import ( "context" - "github.com/open-telemetry/opentelemetry-go/api/core" + "go.opentelemetry.io/api/core" ) type noopTracer struct{} diff --git a/example/basic/main.go b/example/basic/main.go index e07e2e642d89..18973e223bfc 100644 --- a/example/basic/main.go +++ b/example/basic/main.go @@ -17,13 +17,13 @@ package main import ( "context" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/api/metric" - "github.com/open-telemetry/opentelemetry-go/api/registry" - "github.com/open-telemetry/opentelemetry-go/api/stats" - "github.com/open-telemetry/opentelemetry-go/api/tag" - "github.com/open-telemetry/opentelemetry-go/api/trace" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/sdk/event" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/api/metric" + "go.opentelemetry.io/api/registry" + "go.opentelemetry.io/api/stats" + "go.opentelemetry.io/api/tag" + "go.opentelemetry.io/api/trace" + "go.opentelemetry.io/experimental/streaming/sdk/event" ) var ( diff --git a/example/http/client/client.go b/example/http/client/client.go index 9e8137635bba..0dc8e0ea8b9a 100644 --- a/example/http/client/client.go +++ b/example/http/client/client.go @@ -22,10 +22,10 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/api/tag" - "github.com/open-telemetry/opentelemetry-go/api/trace" - "github.com/open-telemetry/opentelemetry-go/plugin/httptrace" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/api/tag" + "go.opentelemetry.io/api/trace" + "go.opentelemetry.io/plugin/httptrace" ) var ( diff --git a/example/http/server/server.go b/example/http/server/server.go index d17e754c1032..9b534ee9414b 100644 --- a/example/http/server/server.go +++ b/example/http/server/server.go @@ -18,10 +18,10 @@ import ( "io" "net/http" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/api/tag" - "github.com/open-telemetry/opentelemetry-go/api/trace" - "github.com/open-telemetry/opentelemetry-go/plugin/httptrace" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/api/tag" + "go.opentelemetry.io/api/trace" + "go.opentelemetry.io/plugin/httptrace" ) var ( diff --git a/experimental/streaming/exporter/buffer/buffer.go b/experimental/streaming/exporter/buffer/buffer.go index cd0cdd1cbdff..484b2d4c73f1 100644 --- a/experimental/streaming/exporter/buffer/buffer.go +++ b/experimental/streaming/exporter/buffer/buffer.go @@ -18,7 +18,7 @@ import ( "sync" "sync/atomic" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/observer" ) type Buffer struct { diff --git a/experimental/streaming/exporter/loader/loader.go b/experimental/streaming/exporter/loader/loader.go index 4487c350e670..13536df35498 100644 --- a/experimental/streaming/exporter/loader/loader.go +++ b/experimental/streaming/exporter/loader/loader.go @@ -20,7 +20,7 @@ import ( "plugin" "time" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/observer" ) // TODO add buffer support directly, eliminate stdout diff --git a/experimental/streaming/exporter/observer/observer.go b/experimental/streaming/exporter/observer/observer.go index a9083a8f8d42..96d8997334dc 100644 --- a/experimental/streaming/exporter/observer/observer.go +++ b/experimental/streaming/exporter/observer/observer.go @@ -22,9 +22,9 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/stats" - "github.com/open-telemetry/opentelemetry-go/api/tag" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/stats" + "go.opentelemetry.io/api/tag" ) type EventType int diff --git a/experimental/streaming/exporter/reader/format/format.go b/experimental/streaming/exporter/reader/format/format.go index 822870d5d80d..ab8cf3fb25f2 100644 --- a/experimental/streaming/exporter/reader/format/format.go +++ b/experimental/streaming/exporter/reader/format/format.go @@ -18,10 +18,10 @@ import ( "fmt" "strings" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/sdk/trace" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/experimental/streaming/exporter/reader" + "go.opentelemetry.io/experimental/streaming/sdk/trace" ) var ( diff --git a/experimental/streaming/exporter/reader/reader.go b/experimental/streaming/exporter/reader/reader.go index 9c76f1b9d272..7ddd01692fea 100644 --- a/experimental/streaming/exporter/reader/reader.go +++ b/experimental/streaming/exporter/reader/reader.go @@ -21,11 +21,11 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/event" - "github.com/open-telemetry/opentelemetry-go/api/stats" - "github.com/open-telemetry/opentelemetry-go/api/tag" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/event" + "go.opentelemetry.io/api/stats" + "go.opentelemetry.io/api/tag" + "go.opentelemetry.io/experimental/streaming/exporter/observer" ) type Reader interface { diff --git a/experimental/streaming/exporter/spandata/format/format.go b/experimental/streaming/exporter/spandata/format/format.go index 800e8594e2e0..7a19b2a43803 100644 --- a/experimental/streaming/exporter/spandata/format/format.go +++ b/experimental/streaming/exporter/spandata/format/format.go @@ -17,8 +17,8 @@ package format import ( "strings" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader/format" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spandata" + "go.opentelemetry.io/experimental/streaming/exporter/reader/format" + "go.opentelemetry.io/experimental/streaming/exporter/spandata" ) func AppendSpan(buf *strings.Builder, data *spandata.Span) { diff --git a/experimental/streaming/exporter/spandata/spandata.go b/experimental/streaming/exporter/spandata/spandata.go index 0671095140a7..323e5133210c 100644 --- a/experimental/streaming/exporter/spandata/spandata.go +++ b/experimental/streaming/exporter/spandata/spandata.go @@ -15,9 +15,9 @@ package spandata import ( - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/reader" ) type Reader interface { diff --git a/experimental/streaming/exporter/spanlog/install/package.go b/experimental/streaming/exporter/spanlog/install/package.go index b6cd6b1d4549..c70b29be055b 100644 --- a/experimental/streaming/exporter/spanlog/install/package.go +++ b/experimental/streaming/exporter/spanlog/install/package.go @@ -15,13 +15,13 @@ package install import ( - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spanlog" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/spanlog" ) // Use this import: // -// import _ "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spanlog/install" +// import _ "go.opentelemetry.io/experimental/streaming/exporter/spanlog/install" // // to include the spanlog exporter by default. diff --git a/experimental/streaming/exporter/spanlog/plugin/package.go b/experimental/streaming/exporter/spanlog/plugin/package.go index 6af3dbc1ffe4..13bb3e07f7b1 100644 --- a/experimental/streaming/exporter/spanlog/plugin/package.go +++ b/experimental/streaming/exporter/spanlog/plugin/package.go @@ -15,8 +15,8 @@ package main import ( - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spanlog" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/spanlog" ) var ( diff --git a/experimental/streaming/exporter/spanlog/spanlog.go b/experimental/streaming/exporter/spanlog/spanlog.go index 12034671c350..a7dbefdec26a 100644 --- a/experimental/streaming/exporter/spanlog/spanlog.go +++ b/experimental/streaming/exporter/spanlog/spanlog.go @@ -18,10 +18,10 @@ import ( "os" "strings" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/buffer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spandata" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/spandata/format" + "go.opentelemetry.io/experimental/streaming/exporter/buffer" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/spandata" + "go.opentelemetry.io/experimental/streaming/exporter/spandata/format" ) type spanLog struct{} diff --git a/experimental/streaming/exporter/stderr/install/package.go b/experimental/streaming/exporter/stderr/install/package.go index e2004c39b9d2..4c04fd3466e9 100644 --- a/experimental/streaming/exporter/stderr/install/package.go +++ b/experimental/streaming/exporter/stderr/install/package.go @@ -15,13 +15,13 @@ package install import ( - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stderr" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/stderr" ) // Use this import: // -// import _ "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stderr/install" +// import _ "go.opentelemetry.io/experimental/streaming/exporter/stderr/install" // // to include the stderr exporter by default. diff --git a/experimental/streaming/exporter/stderr/plugin/package.go b/experimental/streaming/exporter/stderr/plugin/package.go index 467381c0ea6e..649a6b7b05c3 100644 --- a/experimental/streaming/exporter/stderr/plugin/package.go +++ b/experimental/streaming/exporter/stderr/plugin/package.go @@ -15,8 +15,8 @@ package main import ( - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stderr" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/stderr" ) var ( diff --git a/experimental/streaming/exporter/stderr/stderr.go b/experimental/streaming/exporter/stderr/stderr.go index 7dbc8cdd6112..bd8ffa2f6af7 100644 --- a/experimental/streaming/exporter/stderr/stderr.go +++ b/experimental/streaming/exporter/stderr/stderr.go @@ -17,9 +17,9 @@ package stderr import ( "os" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader/format" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/reader" + "go.opentelemetry.io/experimental/streaming/exporter/reader/format" ) type stderrLog struct{} diff --git a/experimental/streaming/exporter/stdout/install/package.go b/experimental/streaming/exporter/stdout/install/package.go index 7b2fa05215b3..b2b9bd69b45c 100644 --- a/experimental/streaming/exporter/stdout/install/package.go +++ b/experimental/streaming/exporter/stdout/install/package.go @@ -15,13 +15,13 @@ package install import ( - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stdout" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/stdout" ) // Use this import: // -// import _ "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stdout/install" +// import _ "go.opentelemetry.io/experimental/streaming/exporter/stdout/install" // // to include the stderr exporter by default. diff --git a/experimental/streaming/exporter/stdout/plugin/package.go b/experimental/streaming/exporter/stdout/plugin/package.go index 6e968040bd35..ba09e8972fe8 100644 --- a/experimental/streaming/exporter/stdout/plugin/package.go +++ b/experimental/streaming/exporter/stdout/plugin/package.go @@ -15,8 +15,8 @@ package main import ( - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/stdout" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/stdout" ) var ( diff --git a/experimental/streaming/exporter/stdout/stdout.go b/experimental/streaming/exporter/stdout/stdout.go index bc717835105c..c1caf80aa15d 100644 --- a/experimental/streaming/exporter/stdout/stdout.go +++ b/experimental/streaming/exporter/stdout/stdout.go @@ -17,9 +17,9 @@ package stdout import ( "os" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/reader/format" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/exporter/reader" + "go.opentelemetry.io/experimental/streaming/exporter/reader/format" ) type stdoutLog struct{} diff --git a/experimental/streaming/sdk/event/event.go b/experimental/streaming/sdk/event/event.go index f346f92cedaa..664e88fe144f 100644 --- a/experimental/streaming/sdk/event/event.go +++ b/experimental/streaming/sdk/event/event.go @@ -17,8 +17,8 @@ package event import ( "fmt" - "github.com/open-telemetry/opentelemetry-go/api/core" - apievent "github.com/open-telemetry/opentelemetry-go/api/event" + "go.opentelemetry.io/api/core" + apievent "go.opentelemetry.io/api/event" ) type event struct { diff --git a/experimental/streaming/sdk/trace/span.go b/experimental/streaming/sdk/trace/span.go index 9478987e03fe..3d5be4febfca 100644 --- a/experimental/streaming/sdk/trace/span.go +++ b/experimental/streaming/sdk/trace/span.go @@ -20,11 +20,11 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/event" - "github.com/open-telemetry/opentelemetry-go/api/tag" - apitrace "github.com/open-telemetry/opentelemetry-go/api/trace" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/event" + "go.opentelemetry.io/api/tag" + apitrace "go.opentelemetry.io/api/trace" + "go.opentelemetry.io/experimental/streaming/exporter/observer" ) type span struct { diff --git a/experimental/streaming/sdk/trace/trace.go b/experimental/streaming/sdk/trace/trace.go index 0a7718d9046e..3e5f6edf7617 100644 --- a/experimental/streaming/sdk/trace/trace.go +++ b/experimental/streaming/sdk/trace/trace.go @@ -18,13 +18,13 @@ import ( "context" "math/rand" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/api/tag" - "github.com/open-telemetry/opentelemetry-go/api/trace" - apitrace "github.com/open-telemetry/opentelemetry-go/api/trace" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/exporter/observer" - "github.com/open-telemetry/opentelemetry-go/experimental/streaming/sdk/event" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/api/tag" + "go.opentelemetry.io/api/trace" + apitrace "go.opentelemetry.io/api/trace" + "go.opentelemetry.io/experimental/streaming/exporter/observer" + "go.opentelemetry.io/experimental/streaming/sdk/event" ) type tracer struct { diff --git a/go.mod b/go.mod index ccfe3ae187c2..e46d4e909f7d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/open-telemetry/opentelemetry-go +module go.opentelemetry.io go 1.12 @@ -20,7 +20,6 @@ require ( golang.org/x/sys v0.0.0-20190614160838-b47fdc937951 // indirect golang.org/x/text v0.3.2 // indirect golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd - google.golang.org/appengine v1.4.0 // indirect google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873 // indirect google.golang.org/grpc v1.21.1 ) diff --git a/plugin/httptrace/api.go b/plugin/httptrace/api.go index 53d52ee3ed43..da3a0d40131d 100644 --- a/plugin/httptrace/api.go +++ b/plugin/httptrace/api.go @@ -19,7 +19,7 @@ import ( "net/http" "net/http/httptrace" - "github.com/open-telemetry/opentelemetry-go/api/trace" + "go.opentelemetry.io/api/trace" ) // Client diff --git a/plugin/httptrace/clienttrace.go b/plugin/httptrace/clienttrace.go index 2f2aa102f629..a2419bc8ad1d 100644 --- a/plugin/httptrace/clienttrace.go +++ b/plugin/httptrace/clienttrace.go @@ -23,9 +23,9 @@ import ( "google.golang.org/grpc/codes" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/api/trace" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/api/trace" ) type clientLevel struct { diff --git a/plugin/httptrace/httptrace.go b/plugin/httptrace/httptrace.go index ed1d0b8fc028..64c00597a6ac 100644 --- a/plugin/httptrace/httptrace.go +++ b/plugin/httptrace/httptrace.go @@ -21,9 +21,9 @@ import ( "github.com/lightstep/tracecontext.go" "github.com/lightstep/tracecontext.go/tracestate" - "github.com/open-telemetry/opentelemetry-go/api/core" - "github.com/open-telemetry/opentelemetry-go/api/key" - "github.com/open-telemetry/opentelemetry-go/api/tag" + "go.opentelemetry.io/api/core" + "go.opentelemetry.io/api/key" + "go.opentelemetry.io/api/tag" ) const (