diff --git a/api/core/doc.go b/api/core/doc.go index 34c4ecbad90..549b05dd210 100644 --- a/api/core/doc.go +++ b/api/core/doc.go @@ -17,4 +17,4 @@ // // See the api/key package for convenience functions for creating keys // and key-value pairs. -package core // import "go.opentelemetry.io/otel/api/core" +package core // import "github.com/InVisionApp/opentelemetry-go/api/core" diff --git a/api/core/key_test.go b/api/core/key_test.go index 8c5f4b9ff76..f9f9c1d36d4 100644 --- a/api/core/key_test.go +++ b/api/core/key_test.go @@ -22,8 +22,8 @@ import ( "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" ) func TestValue(t *testing.T) { diff --git a/api/core/span_context_test.go b/api/core/span_context_test.go index a4e7f92123d..5edb2e3e5d8 100644 --- a/api/core/span_context_test.go +++ b/api/core/span_context_test.go @@ -17,7 +17,7 @@ package core_test import ( "testing" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) func TestIsValid(t *testing.T) { diff --git a/api/correlation/context.go b/api/correlation/context.go index aa83ac4e28a..aecfabb2055 100644 --- a/api/correlation/context.go +++ b/api/correlation/context.go @@ -17,7 +17,7 @@ package correlation import ( "context" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type correlationsType struct{} diff --git a/api/correlation/correlation_context_propagator.go b/api/correlation/correlation_context_propagator.go index 3ae2b931e3a..be156091fb5 100644 --- a/api/correlation/correlation_context_propagator.go +++ b/api/correlation/correlation_context_propagator.go @@ -19,9 +19,9 @@ import ( "net/url" "strings" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/propagation" ) const correlationContextHeader = "Correlation-Context" diff --git a/api/correlation/correlation_context_propagator_test.go b/api/correlation/correlation_context_propagator_test.go index 5b4539a7481..e1b7c2f811b 100644 --- a/api/correlation/correlation_context_propagator_test.go +++ b/api/correlation/correlation_context_propagator_test.go @@ -22,10 +22,10 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/propagation" ) func TestExtractValidDistributedContextFromHTTPReq(t *testing.T) { diff --git a/api/correlation/doc.go b/api/correlation/doc.go index 1147a4f3997..91f1a5af43f 100644 --- a/api/correlation/doc.go +++ b/api/correlation/doc.go @@ -16,4 +16,4 @@ // in the OpenTelemetry specification. Currently it provides a data // structure for storing correlations (Map) and a way of putting Map // object into the context and retrieving it from context. -package correlation // import "go.opentelemetry.io/otel/api/correlation" +package correlation // import "github.com/InVisionApp/opentelemetry-go/api/correlation" diff --git a/api/correlation/map.go b/api/correlation/map.go index 79a4f1868b5..ac6dbf6a76b 100644 --- a/api/correlation/map.go +++ b/api/correlation/map.go @@ -15,7 +15,7 @@ package correlation import ( - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type rawMap map[core.Key]core.Value diff --git a/api/correlation/map_test.go b/api/correlation/map_test.go index de0db6c6d5e..12051def173 100644 --- a/api/correlation/map_test.go +++ b/api/correlation/map_test.go @@ -18,8 +18,8 @@ import ( "fmt" "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" ) type testCase struct { diff --git a/api/global/global.go b/api/global/global.go index c58976e277e..e9025721aa1 100644 --- a/api/global/global.go +++ b/api/global/global.go @@ -15,10 +15,10 @@ package global import ( - "go.opentelemetry.io/otel/api/global/internal" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/global/internal" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) // Tracer creates a named tracer that implements Tracer interface. diff --git a/api/global/global_test.go b/api/global/global_test.go index 9e5308a0742..90df0732854 100644 --- a/api/global/global_test.go +++ b/api/global/global_test.go @@ -17,9 +17,9 @@ package global_test import ( "testing" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) type ( diff --git a/api/global/internal/benchmark_test.go b/api/global/internal/benchmark_test.go index 92a431facdd..39101cb8e13 100644 --- a/api/global/internal/benchmark_test.go +++ b/api/global/internal/benchmark_test.go @@ -19,18 +19,18 @@ import ( "strings" "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/global/internal" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/metric" - sdk "go.opentelemetry.io/otel/sdk/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/ddsketch" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/global/internal" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + sdk "github.com/InVisionApp/opentelemetry-go/sdk/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/ddsketch" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) var Must = metric.Must diff --git a/api/global/internal/internal_test.go b/api/global/internal/internal_test.go index e6242e0e8cc..ebbf1bd3c50 100644 --- a/api/global/internal/internal_test.go +++ b/api/global/internal/internal_test.go @@ -18,8 +18,8 @@ import ( "os" "testing" - "go.opentelemetry.io/otel/api/global/internal" - ottest "go.opentelemetry.io/otel/internal/testing" + "github.com/InVisionApp/opentelemetry-go/api/global/internal" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) // Ensure struct alignment prior to running tests. diff --git a/api/global/internal/meter.go b/api/global/internal/meter.go index d15e2b378fe..4db42961de5 100644 --- a/api/global/internal/meter.go +++ b/api/global/internal/meter.go @@ -20,9 +20,9 @@ import ( "sync/atomic" "unsafe" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/metric/registry" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/metric/registry" ) // This file contains the forwarding implementation of metric.Provider diff --git a/api/global/internal/meter_test.go b/api/global/internal/meter_test.go index b5acbce6f63..626278d0e20 100644 --- a/api/global/internal/meter_test.go +++ b/api/global/internal/meter_test.go @@ -23,13 +23,13 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/global/internal" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/stdout" - metrictest "go.opentelemetry.io/otel/internal/metric" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/global/internal" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/stdout" + metrictest "github.com/InVisionApp/opentelemetry-go/internal/metric" ) // Note: Maybe this should be factored into ../../../internal/metric? diff --git a/api/global/internal/registry_test.go b/api/global/internal/registry_test.go index 6e6af140709..37caafbef85 100644 --- a/api/global/internal/registry_test.go +++ b/api/global/internal/registry_test.go @@ -20,8 +20,8 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/metric/registry" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/metric/registry" ) type ( diff --git a/api/global/internal/state.go b/api/global/internal/state.go index f965aa9ccec..e27df3d9735 100644 --- a/api/global/internal/state.go +++ b/api/global/internal/state.go @@ -18,10 +18,10 @@ import ( "sync" "sync/atomic" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) type ( diff --git a/api/global/internal/trace.go b/api/global/internal/trace.go index b4157de5358..72acab2b5e9 100644 --- a/api/global/internal/trace.go +++ b/api/global/internal/trace.go @@ -35,7 +35,7 @@ import ( "context" "sync" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) // traceProvider is a placeholder for a configured SDK Provider. diff --git a/api/global/internal/trace_test.go b/api/global/internal/trace_test.go index ac6ceb43b69..ece3c7b8da0 100644 --- a/api/global/internal/trace_test.go +++ b/api/global/internal/trace_test.go @@ -20,10 +20,10 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/global/internal" - export "go.opentelemetry.io/otel/sdk/export/trace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/global/internal" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) type testSpanProcesor struct { diff --git a/api/key/doc.go b/api/key/doc.go index a4387b1aecc..f75b19efa7a 100644 --- a/api/key/doc.go +++ b/api/key/doc.go @@ -14,4 +14,4 @@ // This package provides convenience functions for creating keys and // key-value pairs. -package key // import "go.opentelemetry.io/otel/api/key" +package key // import "github.com/InVisionApp/opentelemetry-go/api/key" diff --git a/api/key/key.go b/api/key/key.go index c05a2cd4328..2f238f9f283 100644 --- a/api/key/key.go +++ b/api/key/key.go @@ -15,7 +15,7 @@ package key import ( - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) // New creates a new key with a passed name. diff --git a/api/key/key_test.go b/api/key/key_test.go index b832808b763..0dd9b2b2854 100644 --- a/api/key/key_test.go +++ b/api/key/key_test.go @@ -19,8 +19,8 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" ) func TestKeyValueConstructors(t *testing.T) { diff --git a/api/label/encoder.go b/api/label/encoder.go index 949613a2287..81655ab2b9a 100644 --- a/api/label/encoder.go +++ b/api/label/encoder.go @@ -19,7 +19,7 @@ import ( "sync" "sync/atomic" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type ( diff --git a/api/label/iterator.go b/api/label/iterator.go index ca25f29e9d1..9974e58e731 100644 --- a/api/label/iterator.go +++ b/api/label/iterator.go @@ -15,7 +15,7 @@ package label import ( - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) // Iterator allows iterating over the set of labels in order, diff --git a/api/label/iterator_test.go b/api/label/iterator_test.go index 5120541e546..9d8598dcc66 100644 --- a/api/label/iterator_test.go +++ b/api/label/iterator_test.go @@ -19,8 +19,8 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" ) func TestIterator(t *testing.T) { diff --git a/api/label/set.go b/api/label/set.go index 8533c5714f7..bcaf8839612 100644 --- a/api/label/set.go +++ b/api/label/set.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package label // import "go.opentelemetry.io/otel/api/label" +package label // import "github.com/InVisionApp/opentelemetry-go/api/label" import ( "encoding/json" @@ -20,7 +20,7 @@ import ( "sort" "sync" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type ( diff --git a/api/label/set_test.go b/api/label/set_test.go index f8255b6b09c..c9459b8d58e 100644 --- a/api/label/set_test.go +++ b/api/label/set_test.go @@ -17,9 +17,9 @@ package label_test import ( "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" "github.com/stretchr/testify/require" ) diff --git a/api/metric/alignment_test.go b/api/metric/alignment_test.go index c6433040b1d..ebd9b2215ef 100644 --- a/api/metric/alignment_test.go +++ b/api/metric/alignment_test.go @@ -19,7 +19,7 @@ import ( "testing" "unsafe" - ottest "go.opentelemetry.io/otel/internal/testing" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) // Ensure struct alignment prior to running tests. diff --git a/api/metric/api.go b/api/metric/api.go index e64db32ef71..b4380e071a2 100644 --- a/api/metric/api.go +++ b/api/metric/api.go @@ -19,8 +19,8 @@ package metric import ( "context" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/unit" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/unit" ) // Provider supports named Meter instances. diff --git a/api/metric/api_test.go b/api/metric/api_test.go index 0c78466efd5..1a74602ad79 100644 --- a/api/metric/api_test.go +++ b/api/metric/api_test.go @@ -20,11 +20,11 @@ import ( "fmt" "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/unit" - mockTest "go.opentelemetry.io/otel/internal/metric" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/unit" + mockTest "github.com/InVisionApp/opentelemetry-go/internal/metric" "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/assert" diff --git a/api/metric/common.go b/api/metric/common.go index 0c9c7368c83..be9270d32d4 100644 --- a/api/metric/common.go +++ b/api/metric/common.go @@ -18,7 +18,7 @@ import ( "context" "errors" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type syncInstrument struct { diff --git a/api/metric/counter.go b/api/metric/counter.go index 9ae17abc48a..9a411a233dc 100644 --- a/api/metric/counter.go +++ b/api/metric/counter.go @@ -17,7 +17,7 @@ package metric import ( "context" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) // Float64Counter is a metric that accumulates float64 values. diff --git a/api/metric/doc.go b/api/metric/doc.go index 127b33bd4dc..4224ae37469 100644 --- a/api/metric/doc.go +++ b/api/metric/doc.go @@ -66,4 +66,4 @@ // Bound Instruments can be created with the Bind function of the // respective instrument. When done with the bound instrument, call // Unbind on it. -package metric // import "go.opentelemetry.io/otel/api/metric" +package metric // import "github.com/InVisionApp/opentelemetry-go/api/metric" diff --git a/api/metric/measure.go b/api/metric/measure.go index 216848b182c..a7dda1a4311 100644 --- a/api/metric/measure.go +++ b/api/metric/measure.go @@ -17,7 +17,7 @@ package metric import ( "context" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) // Float64Measure is a metric that records float64 values. diff --git a/api/metric/noop.go b/api/metric/noop.go index c77e24a7e87..a2b859537fb 100644 --- a/api/metric/noop.go +++ b/api/metric/noop.go @@ -17,7 +17,7 @@ package metric import ( "context" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type NoopProvider struct{} diff --git a/api/metric/observer.go b/api/metric/observer.go index 0ad9421a418..33334e00d09 100644 --- a/api/metric/observer.go +++ b/api/metric/observer.go @@ -14,7 +14,7 @@ package metric -import "go.opentelemetry.io/otel/api/core" +import "github.com/InVisionApp/opentelemetry-go/api/core" // Int64ObserverResult is an interface for reporting integral // observations. diff --git a/api/metric/registry/registry.go b/api/metric/registry/registry.go index cfc4d7ee962..318771578bb 100644 --- a/api/metric/registry/registry.go +++ b/api/metric/registry/registry.go @@ -12,15 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. -package registry // import "go.opentelemetry.io/otel/api/metric/registry" +package registry // import "github.com/InVisionApp/opentelemetry-go/api/metric/registry" import ( "context" "fmt" "sync" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" ) // uniqueInstrumentMeterImpl implements the metric.MeterImpl interface, adding diff --git a/api/metric/registry/registry_test.go b/api/metric/registry/registry_test.go index 55eea312f2f..51180fd1d42 100644 --- a/api/metric/registry/registry_test.go +++ b/api/metric/registry/registry_test.go @@ -20,9 +20,9 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/metric/registry" - mockTest "go.opentelemetry.io/otel/internal/metric" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/metric/registry" + mockTest "github.com/InVisionApp/opentelemetry-go/internal/metric" ) type ( diff --git a/api/metric/sdkhelpers.go b/api/metric/sdkhelpers.go index 9c4dc705ad3..0ed9fd9888b 100644 --- a/api/metric/sdkhelpers.go +++ b/api/metric/sdkhelpers.go @@ -17,7 +17,7 @@ package metric import ( "context" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) // MeterImpl is a convenient interface for SDK and test diff --git a/api/propagation/doc.go b/api/propagation/doc.go index d2839f5be4b..0c6adc08688 100644 --- a/api/propagation/doc.go +++ b/api/propagation/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package propagation contains interface definition for HTTP propagators. -package propagation // import "go.opentelemetry.io/otel/api/propagation" +package propagation // import "github.com/InVisionApp/opentelemetry-go/api/propagation" diff --git a/api/testharness/harness.go b/api/testharness/harness.go index b64dfbb8741..2f2acd3b7cb 100644 --- a/api/testharness/harness.go +++ b/api/testharness/harness.go @@ -23,10 +23,10 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/internal/matchers" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/internal/matchers" ) type Harness struct { diff --git a/api/testharness/package.go b/api/testharness/package.go index da4a89cefde..90f754018d1 100644 --- a/api/testharness/package.go +++ b/api/testharness/package.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testharness // import "go.opentelemetry.io/otel/api/testharness" +package testharness // import "github.com/InVisionApp/opentelemetry-go/api/testharness" diff --git a/api/trace/always_off_sampler.go b/api/trace/always_off_sampler.go index 116afaa70eb..add1da4b436 100644 --- a/api/trace/always_off_sampler.go +++ b/api/trace/always_off_sampler.go @@ -15,7 +15,7 @@ package trace import ( - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) const ( diff --git a/api/trace/always_off_sampler_test.go b/api/trace/always_off_sampler_test.go index 841c667d232..dbf8e923bc2 100644 --- a/api/trace/always_off_sampler_test.go +++ b/api/trace/always_off_sampler_test.go @@ -19,7 +19,7 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) func TestNeverSamperShouldSample(t *testing.T) { diff --git a/api/trace/always_on_sampler.go b/api/trace/always_on_sampler.go index ff2c1b330d9..22fc9dea48d 100644 --- a/api/trace/always_on_sampler.go +++ b/api/trace/always_on_sampler.go @@ -15,7 +15,7 @@ package trace import ( - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) const ( diff --git a/api/trace/always_on_sampler_test.go b/api/trace/always_on_sampler_test.go index 7030621a401..a1026d2f44b 100644 --- a/api/trace/always_on_sampler_test.go +++ b/api/trace/always_on_sampler_test.go @@ -19,7 +19,7 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) func TestAlwaysOnSamplerShouldSample(t *testing.T) { diff --git a/api/trace/api.go b/api/trace/api.go index 9e0031a08d1..ed43b0dc40c 100644 --- a/api/trace/api.go +++ b/api/trace/api.go @@ -20,7 +20,7 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type Provider interface { diff --git a/api/trace/b3_propagator.go b/api/trace/b3_propagator.go index df2e17ff3ef..1c0ea302ecc 100644 --- a/api/trace/b3_propagator.go +++ b/api/trace/b3_propagator.go @@ -19,8 +19,8 @@ import ( "fmt" "strings" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/propagation" ) const ( diff --git a/api/trace/context.go b/api/trace/context.go index 27ca98fddca..54924e8ea30 100644 --- a/api/trace/context.go +++ b/api/trace/context.go @@ -17,7 +17,7 @@ package trace import ( "context" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type traceContextKeyType int diff --git a/api/trace/context_test.go b/api/trace/context_test.go index 47f6e0341f1..0c5c2b909f5 100644 --- a/api/trace/context_test.go +++ b/api/trace/context_test.go @@ -21,8 +21,8 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) func TestSetCurrentSpanOverridesPreviouslySetSpan(t *testing.T) { diff --git a/api/trace/doc.go b/api/trace/doc.go index 56c13f04946..dc6e551a2cd 100644 --- a/api/trace/doc.go +++ b/api/trace/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package trace // import "go.opentelemetry.io/otel/api/trace" +package trace // import "github.com/InVisionApp/opentelemetry-go/api/trace" diff --git a/api/trace/noop_span.go b/api/trace/noop_span.go index 03e5e35ec89..90c910e1840 100644 --- a/api/trace/noop_span.go +++ b/api/trace/noop_span.go @@ -20,7 +20,7 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type NoopSpan struct { diff --git a/api/trace/sampler.go b/api/trace/sampler.go index aed57cf40dc..c1e87643c99 100644 --- a/api/trace/sampler.go +++ b/api/trace/sampler.go @@ -14,7 +14,7 @@ package trace -import "go.opentelemetry.io/otel/api/core" +import "github.com/InVisionApp/opentelemetry-go/api/core" type Sampler interface { // ShouldSample returns a Decision that contains a decision whether to sample diff --git a/api/trace/testtrace/b3_propagator_benchmark_test.go b/api/trace/testtrace/b3_propagator_benchmark_test.go index bbd3e67f05e..9a8e1b6d49f 100644 --- a/api/trace/testtrace/b3_propagator_benchmark_test.go +++ b/api/trace/testtrace/b3_propagator_benchmark_test.go @@ -19,8 +19,8 @@ import ( "net/http" "testing" - "go.opentelemetry.io/otel/api/trace" - mocktrace "go.opentelemetry.io/otel/internal/trace" + "github.com/InVisionApp/opentelemetry-go/api/trace" + mocktrace "github.com/InVisionApp/opentelemetry-go/internal/trace" ) func BenchmarkExtractB3(b *testing.B) { diff --git a/api/trace/testtrace/b3_propagator_data_test.go b/api/trace/testtrace/b3_propagator_data_test.go index d4184b99eec..b9d4830c78e 100644 --- a/api/trace/testtrace/b3_propagator_data_test.go +++ b/api/trace/testtrace/b3_propagator_data_test.go @@ -15,8 +15,8 @@ package testtrace_test import ( - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) type extractTest struct { diff --git a/api/trace/testtrace/b3_propagator_test.go b/api/trace/testtrace/b3_propagator_test.go index 8aba57a6127..ecf25efa5fd 100644 --- a/api/trace/testtrace/b3_propagator_test.go +++ b/api/trace/testtrace/b3_propagator_test.go @@ -21,9 +21,9 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" - mocktrace "go.opentelemetry.io/otel/internal/trace" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" + mocktrace "github.com/InVisionApp/opentelemetry-go/internal/trace" ) func TestExtractB3(t *testing.T) { diff --git a/api/trace/testtrace/event.go b/api/trace/testtrace/event.go index 60d1e8c0265..ee80e4a51bc 100644 --- a/api/trace/testtrace/event.go +++ b/api/trace/testtrace/event.go @@ -17,7 +17,7 @@ package testtrace import ( "time" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) // Event encapsulates the properties of calls to AddEvent or AddEventWithTimestamp. diff --git a/api/trace/testtrace/generator.go b/api/trace/testtrace/generator.go index f49e547a781..bbb86459e9a 100644 --- a/api/trace/testtrace/generator.go +++ b/api/trace/testtrace/generator.go @@ -18,7 +18,7 @@ import ( "encoding/binary" "sync" - "go.opentelemetry.io/otel/api/core" + "github.com/InVisionApp/opentelemetry-go/api/core" ) type Generator interface { diff --git a/api/trace/testtrace/package.go b/api/trace/testtrace/package.go index 5401ed7efd8..3a76cb07afc 100644 --- a/api/trace/testtrace/package.go +++ b/api/trace/testtrace/package.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package testtrace // import "go.opentelemetry.io/otel/api/trace/testtrace" +package testtrace // import "github.com/InVisionApp/opentelemetry-go/api/trace/testtrace" diff --git a/api/trace/testtrace/span.go b/api/trace/testtrace/span.go index c049e2c6c90..0ae692d5af8 100644 --- a/api/trace/testtrace/span.go +++ b/api/trace/testtrace/span.go @@ -23,8 +23,8 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) const ( diff --git a/api/trace/testtrace/span_test.go b/api/trace/testtrace/span_test.go index 455e4e4debb..a14b8241148 100644 --- a/api/trace/testtrace/span_test.go +++ b/api/trace/testtrace/span_test.go @@ -24,12 +24,12 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/api/trace/testtrace" - "go.opentelemetry.io/otel/internal/matchers" - ottest "go.opentelemetry.io/otel/internal/testing" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/trace/testtrace" + "github.com/InVisionApp/opentelemetry-go/internal/matchers" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) func TestSpan(t *testing.T) { @@ -135,7 +135,7 @@ func TestSpan(t *testing.T) { }{ { err: ottest.NewTestError("test error"), - typ: "go.opentelemetry.io/otel/internal/testing.TestError", + typ: "github.com/InVisionApp/opentelemetry-go/internal/testing.TestError", msg: "test error", }, { @@ -192,7 +192,7 @@ func TestSpan(t *testing.T) { Timestamp: testTime, Name: "error", Attributes: map[core.Key]core.Value{ - core.Key("error.type"): core.String("go.opentelemetry.io/otel/internal/testing.TestError"), + core.Key("error.type"): core.String("github.com/InVisionApp/opentelemetry-go/internal/testing.TestError"), core.Key("error.message"): core.String(errMsg), }, }} diff --git a/api/trace/testtrace/trace_context_propagator_benchmark_test.go b/api/trace/testtrace/trace_context_propagator_benchmark_test.go index b5ad2d75f88..18e22d2608a 100644 --- a/api/trace/testtrace/trace_context_propagator_benchmark_test.go +++ b/api/trace/testtrace/trace_context_propagator_benchmark_test.go @@ -19,9 +19,9 @@ import ( "net/http" "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" - mocktrace "go.opentelemetry.io/otel/internal/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" + mocktrace "github.com/InVisionApp/opentelemetry-go/internal/trace" ) func BenchmarkInject(b *testing.B) { diff --git a/api/trace/testtrace/trace_context_propagator_test.go b/api/trace/testtrace/trace_context_propagator_test.go index d7096e39f1a..75421e9d7d4 100644 --- a/api/trace/testtrace/trace_context_propagator_test.go +++ b/api/trace/testtrace/trace_context_propagator_test.go @@ -21,10 +21,10 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" - mocktrace "go.opentelemetry.io/otel/internal/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" + mocktrace "github.com/InVisionApp/opentelemetry-go/internal/trace" ) var ( diff --git a/api/trace/testtrace/tracer.go b/api/trace/testtrace/tracer.go index 7dc00f16efe..3e17d345db6 100644 --- a/api/trace/testtrace/tracer.go +++ b/api/trace/testtrace/tracer.go @@ -19,10 +19,10 @@ import ( "sync" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" - "go.opentelemetry.io/otel/internal/trace/parent" + "github.com/InVisionApp/opentelemetry-go/internal/trace/parent" ) var _ trace.Tracer = (*Tracer)(nil) diff --git a/api/trace/testtrace/tracer_test.go b/api/trace/testtrace/tracer_test.go index 8bf0a753557..9cd54c22cdd 100644 --- a/api/trace/testtrace/tracer_test.go +++ b/api/trace/testtrace/tracer_test.go @@ -20,12 +20,12 @@ import ( "testing" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/testharness" - "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/api/trace/testtrace" - "go.opentelemetry.io/otel/internal/matchers" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/testharness" + "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/trace/testtrace" + "github.com/InVisionApp/opentelemetry-go/internal/matchers" ) func TestTracer(t *testing.T) { diff --git a/api/trace/trace_context_propagator.go b/api/trace/trace_context_propagator.go index bd91bfc544d..71f2c2c2e38 100644 --- a/api/trace/trace_context_propagator.go +++ b/api/trace/trace_context_propagator.go @@ -21,8 +21,8 @@ import ( "regexp" "strings" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/propagation" ) const ( diff --git a/api/unit/doc.go b/api/unit/doc.go index f03ed559503..e9ffcc607d6 100644 --- a/api/unit/doc.go +++ b/api/unit/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package unit // import "go.opentelemetry.io/otel/api/unit" +package unit // import "github.com/InVisionApp/opentelemetry-go/api/unit" diff --git a/bridge/opentracing/bridge.go b/bridge/opentracing/bridge.go index 631cb8cf1f7..2515568a00b 100644 --- a/bridge/opentracing/bridge.go +++ b/bridge/opentracing/bridge.go @@ -27,15 +27,15 @@ import ( otext "github.com/opentracing/opentracing-go/ext" otlog "github.com/opentracing/opentracing-go/log" - otelcore "go.opentelemetry.io/otel/api/core" - otelcorrelation "go.opentelemetry.io/otel/api/correlation" - otelglobal "go.opentelemetry.io/otel/api/global" - otelkey "go.opentelemetry.io/otel/api/key" - otelpropagation "go.opentelemetry.io/otel/api/propagation" - oteltrace "go.opentelemetry.io/otel/api/trace" - otelparent "go.opentelemetry.io/otel/internal/trace/parent" - - "go.opentelemetry.io/otel/bridge/opentracing/migration" + otelcore "github.com/InVisionApp/opentelemetry-go/api/core" + otelcorrelation "github.com/InVisionApp/opentelemetry-go/api/correlation" + otelglobal "github.com/InVisionApp/opentelemetry-go/api/global" + otelkey "github.com/InVisionApp/opentelemetry-go/api/key" + otelpropagation "github.com/InVisionApp/opentelemetry-go/api/propagation" + oteltrace "github.com/InVisionApp/opentelemetry-go/api/trace" + otelparent "github.com/InVisionApp/opentelemetry-go/internal/trace/parent" + + "github.com/InVisionApp/opentelemetry-go/bridge/opentracing/migration" ) type bridgeSpanContext struct { @@ -401,7 +401,7 @@ func (t *BridgeTracer) StartSpan(operationName string, opts ...ot.StartSpanOptio }) if checkCtx != checkCtx2 { t.warnOnce.Do(func() { - t.warningHandler("SDK should have deferred the context setup, see the documentation of go.opentelemetry.io/otel/bridge/opentracing/migration\n") + t.warningHandler("SDK should have deferred the context setup, see the documentation of github.com/InVisionApp/opentelemetry-go/bridge/opentracing/migration\n") }) } if hadTrueErrorTag { diff --git a/bridge/opentracing/doc.go b/bridge/opentracing/doc.go index 2747ec03409..0b6720c3c87 100644 --- a/bridge/opentracing/doc.go +++ b/bridge/opentracing/doc.go @@ -97,4 +97,4 @@ // LogFields() function, so when the call to the function gets // translated to OpenTelemetry AddEvent() function, an empty context // is passed. -package opentracing // import "go.opentelemetry.io/otel/bridge/opentracing" +package opentracing // import "github.com/InVisionApp/opentelemetry-go/bridge/opentracing" diff --git a/bridge/opentracing/internal/doc.go b/bridge/opentracing/internal/doc.go index 96f94d7242e..aac9639bf02 100644 --- a/bridge/opentracing/internal/doc.go +++ b/bridge/opentracing/internal/doc.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal // import "go.opentelemetry.io/otel/bridge/opentracing/internal" +package internal // import "github.com/InVisionApp/opentelemetry-go/bridge/opentracing/internal" diff --git a/bridge/opentracing/internal/mock.go b/bridge/opentracing/internal/mock.go index 1264dce44b8..612d5646700 100644 --- a/bridge/opentracing/internal/mock.go +++ b/bridge/opentracing/internal/mock.go @@ -23,13 +23,13 @@ import ( "google.golang.org/grpc/codes" - otelcore "go.opentelemetry.io/otel/api/core" - otelcorrelation "go.opentelemetry.io/otel/api/correlation" - otelkey "go.opentelemetry.io/otel/api/key" - oteltrace "go.opentelemetry.io/otel/api/trace" - otelparent "go.opentelemetry.io/otel/internal/trace/parent" + otelcore "github.com/InVisionApp/opentelemetry-go/api/core" + otelcorrelation "github.com/InVisionApp/opentelemetry-go/api/correlation" + otelkey "github.com/InVisionApp/opentelemetry-go/api/key" + oteltrace "github.com/InVisionApp/opentelemetry-go/api/trace" + otelparent "github.com/InVisionApp/opentelemetry-go/internal/trace/parent" - "go.opentelemetry.io/otel/bridge/opentracing/migration" + "github.com/InVisionApp/opentelemetry-go/bridge/opentracing/migration" ) var ( diff --git a/bridge/opentracing/migration/api.go b/bridge/opentracing/migration/api.go index e08689872b5..81e3b4c9f4f 100644 --- a/bridge/opentracing/migration/api.go +++ b/bridge/opentracing/migration/api.go @@ -15,12 +15,12 @@ // This package provides interfaces and functions that are useful for // providing a cooperation of the OpenTelemetry tracers with the // OpenTracing API. -package migration // import "go.opentelemetry.io/otel/bridge/opentracing/migration" +package migration // import "github.com/InVisionApp/opentelemetry-go/bridge/opentracing/migration" import ( "context" - oteltrace "go.opentelemetry.io/otel/api/trace" + oteltrace "github.com/InVisionApp/opentelemetry-go/api/trace" ) // DeferredContextSetupTracerExtension is an interface an diff --git a/bridge/opentracing/mix_test.go b/bridge/opentracing/mix_test.go index 013b57e4108..016296c5e19 100644 --- a/bridge/opentracing/mix_test.go +++ b/bridge/opentracing/mix_test.go @@ -21,13 +21,13 @@ import ( ot "github.com/opentracing/opentracing-go" - otelcore "go.opentelemetry.io/otel/api/core" - otelcorrelation "go.opentelemetry.io/otel/api/correlation" - otelglobal "go.opentelemetry.io/otel/api/global" - otelkey "go.opentelemetry.io/otel/api/key" - oteltrace "go.opentelemetry.io/otel/api/trace" + otelcore "github.com/InVisionApp/opentelemetry-go/api/core" + otelcorrelation "github.com/InVisionApp/opentelemetry-go/api/correlation" + otelglobal "github.com/InVisionApp/opentelemetry-go/api/global" + otelkey "github.com/InVisionApp/opentelemetry-go/api/key" + oteltrace "github.com/InVisionApp/opentelemetry-go/api/trace" - "go.opentelemetry.io/otel/bridge/opentracing/internal" + "github.com/InVisionApp/opentelemetry-go/bridge/opentracing/internal" ) type mixedAPIsTestCase struct { diff --git a/bridge/opentracing/util.go b/bridge/opentracing/util.go index 1863c34efb0..85635503f38 100644 --- a/bridge/opentracing/util.go +++ b/bridge/opentracing/util.go @@ -17,7 +17,7 @@ package opentracing import ( "context" - oteltrace "go.opentelemetry.io/otel/api/trace" + oteltrace "github.com/InVisionApp/opentelemetry-go/api/trace" ) // NewTracerPair is a utility function that creates a BridgeTracer diff --git a/bridge/opentracing/wrapper.go b/bridge/opentracing/wrapper.go index 5c650ad1957..2d4b0e8d814 100644 --- a/bridge/opentracing/wrapper.go +++ b/bridge/opentracing/wrapper.go @@ -17,9 +17,9 @@ package opentracing import ( "context" - oteltrace "go.opentelemetry.io/otel/api/trace" + oteltrace "github.com/InVisionApp/opentelemetry-go/api/trace" - "go.opentelemetry.io/otel/bridge/opentracing/migration" + "github.com/InVisionApp/opentelemetry-go/bridge/opentracing/migration" ) type WrapperProvider struct { diff --git a/example/basic/go.mod b/example/basic/go.mod index 3e3618320f8..11d9871f5a8 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -1,7 +1,7 @@ -module go.opentelemetry.io/otel/example/basic +module github.com/InVisionApp/opentelemetry-go/example/basic go 1.13 -replace go.opentelemetry.io/otel => ../.. +replace github.com/InVisionApp/opentelemetry-go => ../.. -require go.opentelemetry.io/otel v0.4.3 +require github.com/InVisionApp/opentelemetry-go v0.4.3 diff --git a/example/basic/main.go b/example/basic/main.go index 625f678f775..391975fd6c3 100644 --- a/example/basic/main.go +++ b/example/basic/main.go @@ -18,16 +18,16 @@ import ( "context" "log" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/trace" - metricstdout "go.opentelemetry.io/otel/exporters/metric/stdout" - tracestdout "go.opentelemetry.io/otel/exporters/trace/stdout" - "go.opentelemetry.io/otel/sdk/metric/controller/push" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/trace" + metricstdout "github.com/InVisionApp/opentelemetry-go/exporters/metric/stdout" + tracestdout "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) var ( diff --git a/example/grpc/client/main.go b/example/grpc/client/main.go index 6131c0bf9bb..60fbc37776a 100644 --- a/example/grpc/client/main.go +++ b/example/grpc/client/main.go @@ -20,10 +20,10 @@ import ( "log" "time" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/example/grpc/api" - "go.opentelemetry.io/otel/example/grpc/config" - "go.opentelemetry.io/otel/plugin/grpctrace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/example/grpc/api" + "github.com/InVisionApp/opentelemetry-go/example/grpc/config" + "github.com/InVisionApp/opentelemetry-go/plugin/grpctrace" "google.golang.org/grpc" "google.golang.org/grpc/metadata" diff --git a/example/grpc/config/config.go b/example/grpc/config/config.go index f15b5b6db07..257f46360d4 100644 --- a/example/grpc/config/config.go +++ b/example/grpc/config/config.go @@ -17,9 +17,9 @@ package config import ( "log" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/exporters/trace/stdout" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) // Init configures an OpenTelemetry exporter and trace provider diff --git a/example/grpc/go.mod b/example/grpc/go.mod index 59f87fa5040..12f4676553d 100644 --- a/example/grpc/go.mod +++ b/example/grpc/go.mod @@ -1,12 +1,12 @@ -module go.opentelemetry.io/otel/example/grpc +module github.com/InVisionApp/opentelemetry-go/example/grpc go 1.13 -replace go.opentelemetry.io/otel => ../.. +replace github.com/InVisionApp/opentelemetry-go => ../.. require ( github.com/golang/protobuf v1.3.2 - go.opentelemetry.io/otel v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 golang.org/x/net v0.0.0-20190311183353-d8887717615a google.golang.org/grpc v1.27.1 ) diff --git a/example/grpc/server/main.go b/example/grpc/server/main.go index d23da59374d..250f555c687 100644 --- a/example/grpc/server/main.go +++ b/example/grpc/server/main.go @@ -22,10 +22,10 @@ import ( "net" "time" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/example/grpc/api" - "go.opentelemetry.io/otel/example/grpc/config" - "go.opentelemetry.io/otel/plugin/grpctrace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/example/grpc/api" + "github.com/InVisionApp/opentelemetry-go/example/grpc/config" + "github.com/InVisionApp/opentelemetry-go/plugin/grpctrace" "google.golang.org/grpc" ) diff --git a/example/http/client/client.go b/example/http/client/client.go index 9fc1d485176..eb0c0b1e3a7 100644 --- a/example/http/client/client.go +++ b/example/http/client/client.go @@ -24,12 +24,12 @@ import ( "net/http" "time" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/exporters/trace/stdout" - "go.opentelemetry.io/otel/plugin/httptrace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" + "github.com/InVisionApp/opentelemetry-go/plugin/httptrace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func initTracer() { diff --git a/example/http/go.mod b/example/http/go.mod index 00f9d72807d..7404ec9324c 100644 --- a/example/http/go.mod +++ b/example/http/go.mod @@ -1,7 +1,7 @@ -module go.opentelemetry.io/otel/example/http +module github.com/InVisionApp/opentelemetry-go/example/http go 1.13 -replace go.opentelemetry.io/otel => ../.. +replace github.com/InVisionApp/opentelemetry-go => ../.. -require go.opentelemetry.io/otel v0.4.3 +require github.com/InVisionApp/opentelemetry-go v0.4.3 diff --git a/example/http/server/server.go b/example/http/server/server.go index 612b006d265..91ae53cd97a 100644 --- a/example/http/server/server.go +++ b/example/http/server/server.go @@ -19,12 +19,12 @@ import ( "log" "net/http" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/exporters/trace/stdout" - "go.opentelemetry.io/otel/plugin/httptrace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" + "github.com/InVisionApp/opentelemetry-go/plugin/httptrace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func initTracer() { diff --git a/example/jaeger/go.mod b/example/jaeger/go.mod index a36ff34e387..b4a5db8a208 100644 --- a/example/jaeger/go.mod +++ b/example/jaeger/go.mod @@ -1,13 +1,13 @@ -module go.opentelemetry.io/otel/example/jaeger +module github.com/InVisionApp/opentelemetry-go/example/jaeger go 1.13 replace ( - go.opentelemetry.io/otel => ../.. - go.opentelemetry.io/otel/exporters/trace/jaeger => ../../exporters/trace/jaeger + github.com/InVisionApp/opentelemetry-go => ../.. + github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger => ../../exporters/trace/jaeger ) require ( - go.opentelemetry.io/otel v0.4.3 - go.opentelemetry.io/otel/exporters/trace/jaeger v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 + github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger v0.4.3 ) diff --git a/example/jaeger/main.go b/example/jaeger/main.go index 24a8383c4eb..6e501f1012d 100644 --- a/example/jaeger/main.go +++ b/example/jaeger/main.go @@ -20,12 +20,12 @@ import ( "context" "log" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" - "go.opentelemetry.io/otel/exporters/trace/jaeger" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) // initTracer creates a new trace provider instance and registers it as global trace provider. diff --git a/example/namedtracer/foo/foo.go b/example/namedtracer/foo/foo.go index c6ec6af2c7b..5448305fac1 100644 --- a/example/namedtracer/foo/foo.go +++ b/example/namedtracer/foo/foo.go @@ -17,9 +17,9 @@ package foo import ( "context" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) var ( diff --git a/example/namedtracer/go.mod b/example/namedtracer/go.mod index 426b52a830e..93f6ce35914 100644 --- a/example/namedtracer/go.mod +++ b/example/namedtracer/go.mod @@ -1,7 +1,7 @@ -module go.opentelemetry.io/otel/example/namedtracer +module github.com/InVisionApp/opentelemetry-go/example/namedtracer go 1.13 -replace go.opentelemetry.io/otel => ../.. +replace github.com/InVisionApp/opentelemetry-go => ../.. -require go.opentelemetry.io/otel v0.4.3 +require github.com/InVisionApp/opentelemetry-go v0.4.3 diff --git a/example/namedtracer/main.go b/example/namedtracer/main.go index 98fdabef37a..b3b62bba65c 100644 --- a/example/namedtracer/main.go +++ b/example/namedtracer/main.go @@ -18,13 +18,13 @@ import ( "context" "log" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/example/namedtracer/foo" - "go.opentelemetry.io/otel/exporters/trace/stdout" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/example/namedtracer/foo" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) var ( diff --git a/example/prometheus/go.mod b/example/prometheus/go.mod index 1c33c5dc3dc..6963a3f8d86 100644 --- a/example/prometheus/go.mod +++ b/example/prometheus/go.mod @@ -1,13 +1,13 @@ -module go.opentelemetry.io/otel/example/prometheus +module github.com/InVisionApp/opentelemetry-go/example/prometheus go 1.13 replace ( - go.opentelemetry.io/otel => ../.. - go.opentelemetry.io/otel/exporters/metric/prometheus => ../../exporters/metric/prometheus + github.com/InVisionApp/opentelemetry-go => ../.. + github.com/InVisionApp/opentelemetry-go/exporters/metric/prometheus => ../../exporters/metric/prometheus ) require ( - go.opentelemetry.io/otel v0.4.3 - go.opentelemetry.io/otel/exporters/metric/prometheus v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 + github.com/InVisionApp/opentelemetry-go/exporters/metric/prometheus v0.4.3 ) diff --git a/example/prometheus/main.go b/example/prometheus/main.go index 28cd42e90f8..d48ca87ea14 100644 --- a/example/prometheus/main.go +++ b/example/prometheus/main.go @@ -21,12 +21,12 @@ import ( "sync" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/prometheus" - "go.opentelemetry.io/otel/sdk/metric/controller/push" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/prometheus" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" ) var ( diff --git a/example/zipkin/go.mod b/example/zipkin/go.mod index f5246b908c0..b661e0d00ad 100644 --- a/example/zipkin/go.mod +++ b/example/zipkin/go.mod @@ -3,11 +3,11 @@ module go.opentelemetry.go/otel/example/zipkin go 1.13 replace ( - go.opentelemetry.io/otel => ../.. - go.opentelemetry.io/otel/exporters/trace/zipkin => ../../exporters/trace/zipkin + github.com/InVisionApp/opentelemetry-go => ../.. + github.com/InVisionApp/opentelemetry-go/exporters/trace/zipkin => ../../exporters/trace/zipkin ) require ( - go.opentelemetry.io/otel v0.4.3 - go.opentelemetry.io/otel/exporters/trace/zipkin v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 + github.com/InVisionApp/opentelemetry-go/exporters/trace/zipkin v0.4.3 ) diff --git a/example/zipkin/main.go b/example/zipkin/main.go index badfae97130..ca10954fb66 100644 --- a/example/zipkin/main.go +++ b/example/zipkin/main.go @@ -23,10 +23,10 @@ import ( "os" "time" - "go.opentelemetry.io/otel/api/global" + "github.com/InVisionApp/opentelemetry-go/api/global" - "go.opentelemetry.io/otel/exporters/trace/zipkin" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/zipkin" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) var logger = log.New(os.Stderr, "zipkin-example", log.Ldate|log.Ltime|log.Llongfile) diff --git a/exporters/metric/prometheus/go.mod b/exporters/metric/prometheus/go.mod index 75230ec20b1..d1dd128ab7e 100644 --- a/exporters/metric/prometheus/go.mod +++ b/exporters/metric/prometheus/go.mod @@ -1,14 +1,14 @@ -module go.opentelemetry.io/otel/exporters/metric/prometheus +module github.com/InVisionApp/opentelemetry-go/exporters/metric/prometheus go 1.13 -replace go.opentelemetry.io/otel => ../../.. +replace github.com/InVisionApp/opentelemetry-go => ../../.. require ( github.com/golang/protobuf v1.3.4 // indirect github.com/prometheus/client_golang v1.5.0 github.com/prometheus/procfs v0.0.10 // indirect github.com/stretchr/testify v1.4.0 - go.opentelemetry.io/otel v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 // indirect ) diff --git a/exporters/metric/prometheus/prometheus.go b/exporters/metric/prometheus/prometheus.go index d79e22e3b79..a25e5293368 100644 --- a/exporters/metric/prometheus/prometheus.go +++ b/exporters/metric/prometheus/prometheus.go @@ -23,15 +23,15 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/label" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/batcher/ungrouped" - "go.opentelemetry.io/otel/sdk/metric/controller/push" - "go.opentelemetry.io/otel/sdk/metric/selector/simple" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/label" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/ungrouped" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/selector/simple" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // Exporter is an implementation of metric.Exporter that sends metrics to diff --git a/exporters/metric/prometheus/prometheus_test.go b/exporters/metric/prometheus/prometheus_test.go index 1572b0b5d84..41679f8a993 100644 --- a/exporters/metric/prometheus/prometheus_test.go +++ b/exporters/metric/prometheus/prometheus_test.go @@ -24,11 +24,11 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/prometheus" - "go.opentelemetry.io/otel/exporters/metric/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/prometheus" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/test" ) func TestPrometheusExporter(t *testing.T) { diff --git a/exporters/metric/stdout/example_test.go b/exporters/metric/stdout/example_test.go index 06e45790c95..6058abd6fba 100644 --- a/exporters/metric/stdout/example_test.go +++ b/exporters/metric/stdout/example_test.go @@ -19,10 +19,10 @@ import ( "log" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/stdout" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/stdout" ) func ExampleNewExportPipeline() { diff --git a/exporters/metric/stdout/stdout.go b/exporters/metric/stdout/stdout.go index 37365190626..7514deed0bb 100644 --- a/exporters/metric/stdout/stdout.go +++ b/exporters/metric/stdout/stdout.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package stdout // import "go.opentelemetry.io/otel/exporters/metric/stdout" +package stdout // import "github.com/InVisionApp/opentelemetry-go/exporters/metric/stdout" import ( "context" @@ -23,15 +23,15 @@ import ( "strings" "time" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/batcher/ungrouped" - "go.opentelemetry.io/otel/sdk/metric/controller/push" - "go.opentelemetry.io/otel/sdk/metric/selector/simple" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/ungrouped" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/selector/simple" ) type Exporter struct { diff --git a/exporters/metric/stdout/stdout_test.go b/exporters/metric/stdout/stdout_test.go index abb9ff26574..c6998538489 100644 --- a/exporters/metric/stdout/stdout_test.go +++ b/exporters/metric/stdout/stdout_test.go @@ -24,20 +24,20 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/stdout" - "go.opentelemetry.io/otel/exporters/metric/test" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/array" - "go.opentelemetry.io/otel/sdk/metric/aggregator/ddsketch" - "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" - aggtest "go.opentelemetry.io/otel/sdk/metric/aggregator/test" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/stdout" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/test" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/array" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/ddsketch" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" + aggtest "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) type testFixture struct { diff --git a/exporters/metric/test/test.go b/exporters/metric/test/test.go index f6842fda3f2..ca93faf71e9 100644 --- a/exporters/metric/test/test.go +++ b/exporters/metric/test/test.go @@ -18,15 +18,15 @@ import ( "context" "errors" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/array" - "go.opentelemetry.io/otel/sdk/metric/aggregator/histogram" - "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/array" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/histogram" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) type mapkey struct { diff --git a/exporters/otlp/alignment_test.go b/exporters/otlp/alignment_test.go index f20a0bd1b2d..ce13afc6a9a 100644 --- a/exporters/otlp/alignment_test.go +++ b/exporters/otlp/alignment_test.go @@ -19,7 +19,7 @@ import ( "testing" "unsafe" - ottest "go.opentelemetry.io/otel/internal/testing" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) // Ensure struct alignment prior to running tests. diff --git a/exporters/otlp/doc.go b/exporters/otlp/doc.go index f8d105d1cbd..a9a3b2424f7 100644 --- a/exporters/otlp/doc.go +++ b/exporters/otlp/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package otlp contains an OpenTelemetry tracing exporter for OpenTelemetry Collector. -package otlp // import "go.opentelemetry.io/otel/exporters/otlp" +package otlp // import "github.com/InVisionApp/opentelemetry-go/exporters/otlp" diff --git a/exporters/otlp/example_test.go b/exporters/otlp/example_test.go index 8c0a8b858fe..60196ea8eb7 100644 --- a/exporters/otlp/example_test.go +++ b/exporters/otlp/example_test.go @@ -22,9 +22,9 @@ import ( "google.golang.org/grpc/credentials" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/exporters/otlp" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/exporters/otlp" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func Example_insecure() { diff --git a/exporters/otlp/go.mod b/exporters/otlp/go.mod index b531257746e..e69b34ccfe3 100644 --- a/exporters/otlp/go.mod +++ b/exporters/otlp/go.mod @@ -1,6 +1,6 @@ -module go.opentelemetry.io/otel/exporters/otlp +module github.com/InVisionApp/opentelemetry-go/exporters/otlp -replace go.opentelemetry.io/otel => ../.. +replace github.com/InVisionApp/opentelemetry-go => ../.. require ( github.com/gogo/protobuf v1.3.1 @@ -9,7 +9,7 @@ require ( github.com/grpc-ecosystem/grpc-gateway v1.14.3 // indirect github.com/open-telemetry/opentelemetry-proto v0.3.0 github.com/stretchr/testify v1.4.0 - go.opentelemetry.io/otel v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 golang.org/x/text v0.3.2 // indirect google.golang.org/grpc v1.27.1 ) diff --git a/exporters/otlp/internal/transform/attribute.go b/exporters/otlp/internal/transform/attribute.go index 9b8fe996070..3f2b84ef406 100644 --- a/exporters/otlp/internal/transform/attribute.go +++ b/exporters/otlp/internal/transform/attribute.go @@ -17,8 +17,8 @@ package transform import ( commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // Attributes transforms a slice of KeyValues into a slice of OTLP attribute key-values. diff --git a/exporters/otlp/internal/transform/attribute_test.go b/exporters/otlp/internal/transform/attribute_test.go index 825cbf3c9b3..6257064ef1c 100644 --- a/exporters/otlp/internal/transform/attribute_test.go +++ b/exporters/otlp/internal/transform/attribute_test.go @@ -20,8 +20,8 @@ import ( commonpb "github.com/open-telemetry/opentelemetry-proto/gen/go/common/v1" "github.com/stretchr/testify/assert" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" ) func TestAttributes(t *testing.T) { diff --git a/exporters/otlp/internal/transform/metric.go b/exporters/otlp/internal/transform/metric.go index 1ed6436ac87..5232b0f0217 100644 --- a/exporters/otlp/internal/transform/metric.go +++ b/exporters/otlp/internal/transform/metric.go @@ -27,12 +27,12 @@ import ( metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) var ( diff --git a/exporters/otlp/internal/transform/metric_test.go b/exporters/otlp/internal/transform/metric_test.go index a7da3b9e6a8..ad06b22c40b 100644 --- a/exporters/otlp/internal/transform/metric_test.go +++ b/exporters/otlp/internal/transform/metric_test.go @@ -23,14 +23,14 @@ import ( metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" "github.com/stretchr/testify/assert" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/unit" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - sumAgg "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/unit" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + sumAgg "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) func TestStringKeyValues(t *testing.T) { diff --git a/exporters/otlp/internal/transform/resource.go b/exporters/otlp/internal/transform/resource.go index f9559932b12..764b3662599 100644 --- a/exporters/otlp/internal/transform/resource.go +++ b/exporters/otlp/internal/transform/resource.go @@ -17,7 +17,7 @@ package transform import ( resourcepb "github.com/open-telemetry/opentelemetry-proto/gen/go/resource/v1" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // Resource transforms a Resource into an OTLP Resource. diff --git a/exporters/otlp/internal/transform/resource_test.go b/exporters/otlp/internal/transform/resource_test.go index 7dcf135197e..c07663665ab 100644 --- a/exporters/otlp/internal/transform/resource_test.go +++ b/exporters/otlp/internal/transform/resource_test.go @@ -19,9 +19,9 @@ import ( "github.com/stretchr/testify/assert" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) func TestNilResource(t *testing.T) { diff --git a/exporters/otlp/internal/transform/span.go b/exporters/otlp/internal/transform/span.go index 5a58b835362..f7ebcafa308 100644 --- a/exporters/otlp/internal/transform/span.go +++ b/exporters/otlp/internal/transform/span.go @@ -19,9 +19,9 @@ import ( tracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/trace/v1" - "go.opentelemetry.io/otel/api/label" - apitrace "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/api/label" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) const ( diff --git a/exporters/otlp/internal/transform/span_test.go b/exporters/otlp/internal/transform/span_test.go index 938d384a10f..d0aada89f9c 100644 --- a/exporters/otlp/internal/transform/span_test.go +++ b/exporters/otlp/internal/transform/span_test.go @@ -25,11 +25,11 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - apitrace "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) func TestSpanKind(t *testing.T) { diff --git a/exporters/otlp/otlp.go b/exporters/otlp/otlp.go index 0c06676beaa..bdfa6974cd1 100644 --- a/exporters/otlp/otlp.go +++ b/exporters/otlp/otlp.go @@ -28,10 +28,10 @@ import ( colmetricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/metrics/v1" coltracepb "github.com/open-telemetry/opentelemetry-proto/gen/go/collector/trace/v1" - "go.opentelemetry.io/otel/exporters/otlp/internal/transform" - metricsdk "go.opentelemetry.io/otel/sdk/export/metric" - tracesdk "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/exporters/otlp/internal/transform" + metricsdk "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + tracesdk "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) type Exporter struct { @@ -209,7 +209,7 @@ func (e *Exporter) Stop() error { return err } -// Export implements the "go.opentelemetry.io/otel/sdk/export/metric".Exporter +// Export implements the "github.com/InVisionApp/opentelemetry-go/sdk/export/metric".Exporter // interface. It transforms and batches metric Records into OTLP Metrics and // transmits them to the configured collector. func (e *Exporter) Export(parent context.Context, resource *resource.Resource, cps metricsdk.CheckpointSet) error { diff --git a/exporters/otlp/otlp_integration_test.go b/exporters/otlp/otlp_integration_test.go index cb1dc826f48..31783e5a928 100644 --- a/exporters/otlp/otlp_integration_test.go +++ b/exporters/otlp/otlp_integration_test.go @@ -26,16 +26,16 @@ import ( metricpb "github.com/open-telemetry/opentelemetry-proto/gen/go/metrics/v1" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - metricapi "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/otlp" - exporttrace "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/metric/batcher/ungrouped" - "go.opentelemetry.io/otel/sdk/metric/controller/push" - "go.opentelemetry.io/otel/sdk/metric/selector/simple" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + metricapi "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/otlp" + exporttrace "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/ungrouped" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/selector/simple" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func TestNewExporter_endToEnd(t *testing.T) { diff --git a/exporters/otlp/otlp_metric_test.go b/exporters/otlp/otlp_metric_test.go index db25667f459..4eadd54f49d 100644 --- a/exporters/otlp/otlp_metric_test.go +++ b/exporters/otlp/otlp_metric_test.go @@ -25,15 +25,15 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - metricsdk "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + metricsdk "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" "google.golang.org/grpc" ) diff --git a/exporters/otlp/otlp_span_test.go b/exporters/otlp/otlp_span_test.go index 97dba1f7a28..45995d02469 100644 --- a/exporters/otlp/otlp_span_test.go +++ b/exporters/otlp/otlp_span_test.go @@ -27,11 +27,11 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - apitrace "go.opentelemetry.io/otel/api/trace" - tracesdk "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + tracesdk "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) type traceServiceClientStub struct { diff --git a/exporters/trace/jaeger/agent.go b/exporters/trace/jaeger/agent.go index 7010e962629..e8ef785463f 100644 --- a/exporters/trace/jaeger/agent.go +++ b/exporters/trace/jaeger/agent.go @@ -21,7 +21,7 @@ import ( "github.com/apache/thrift/lib/go/thrift" - gen "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger" + gen "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger/internal/gen-go/jaeger" ) // udpPacketMaxLength is the max size of UDP packet we want to send, synced with jaeger-agent diff --git a/exporters/trace/jaeger/doc.go b/exporters/trace/jaeger/doc.go index 99bbcf5e74c..5643cc024ce 100644 --- a/exporters/trace/jaeger/doc.go +++ b/exporters/trace/jaeger/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package jaeger contains an OpenTelemetry tracing exporter for Jaeger. -package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger" +package jaeger // import "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger" diff --git a/exporters/trace/jaeger/go.mod b/exporters/trace/jaeger/go.mod index e849c623817..8fc8804daf3 100644 --- a/exporters/trace/jaeger/go.mod +++ b/exporters/trace/jaeger/go.mod @@ -1,14 +1,14 @@ -module go.opentelemetry.io/otel/exporters/trace/jaeger +module github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger go 1.13 -replace go.opentelemetry.io/otel => ../../.. +replace github.com/InVisionApp/opentelemetry-go => ../../.. require ( github.com/apache/thrift v0.13.0 github.com/google/go-cmp v0.4.0 github.com/stretchr/testify v1.4.0 - go.opentelemetry.io/otel v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e // indirect google.golang.org/api v0.20.0 google.golang.org/grpc v1.27.1 diff --git a/exporters/trace/jaeger/internal/gen-go/jaeger/collector-remote/collector-remote.go b/exporters/trace/jaeger/internal/gen-go/jaeger/collector-remote/collector-remote.go index 9f462d86ce0..0b236eb57a3 100755 --- a/exporters/trace/jaeger/internal/gen-go/jaeger/collector-remote/collector-remote.go +++ b/exporters/trace/jaeger/internal/gen-go/jaeger/collector-remote/collector-remote.go @@ -16,7 +16,7 @@ import ( "github.com/apache/thrift/lib/go/thrift" - "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger/internal/gen-go/jaeger" ) func Usage() { diff --git a/exporters/trace/jaeger/internal/gen-go/jaeger/jaeger.go b/exporters/trace/jaeger/internal/gen-go/jaeger/jaeger.go index 3dc6f6cbf4b..e3e15451570 100644 --- a/exporters/trace/jaeger/internal/gen-go/jaeger/jaeger.go +++ b/exporters/trace/jaeger/internal/gen-go/jaeger/jaeger.go @@ -1,7 +1,7 @@ // Autogenerated by Thrift Compiler (0.11.0) // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING -package jaeger // import "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger" +package jaeger // import "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger/internal/gen-go/jaeger" import ( "bytes" diff --git a/exporters/trace/jaeger/jaeger.go b/exporters/trace/jaeger/jaeger.go index 1e8092520f7..bd0dde675fd 100644 --- a/exporters/trace/jaeger/jaeger.go +++ b/exporters/trace/jaeger/jaeger.go @@ -22,11 +22,11 @@ import ( "google.golang.org/api/support/bundler" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - gen "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger" - export "go.opentelemetry.io/otel/sdk/export/trace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + gen "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger/internal/gen-go/jaeger" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) const defaultServiceName = "OpenTelemetry" diff --git a/exporters/trace/jaeger/jaeger_test.go b/exporters/trace/jaeger/jaeger_test.go index e623c76b3da..d8bde62eb6b 100644 --- a/exporters/trace/jaeger/jaeger_test.go +++ b/exporters/trace/jaeger/jaeger_test.go @@ -25,14 +25,14 @@ import ( "github.com/stretchr/testify/assert" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - apitrace "go.opentelemetry.io/otel/api/trace" - gen "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger" - export "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + gen "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger/internal/gen-go/jaeger" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func TestNewExporterPipelineWithRegistration(t *testing.T) { diff --git a/exporters/trace/jaeger/uploader.go b/exporters/trace/jaeger/uploader.go index 5b8233ae449..6173cba9061 100644 --- a/exporters/trace/jaeger/uploader.go +++ b/exporters/trace/jaeger/uploader.go @@ -24,7 +24,7 @@ import ( "github.com/apache/thrift/lib/go/thrift" - gen "go.opentelemetry.io/otel/exporters/trace/jaeger/internal/gen-go/jaeger" + gen "github.com/InVisionApp/opentelemetry-go/exporters/trace/jaeger/internal/gen-go/jaeger" ) // batchUploader send a batch of spans to Jaeger diff --git a/exporters/trace/stdout/doc.go b/exporters/trace/stdout/doc.go index d099942d88b..212745b6430 100644 --- a/exporters/trace/stdout/doc.go +++ b/exporters/trace/stdout/doc.go @@ -13,4 +13,4 @@ // limitations under the License. // Package stdout contains an OpenTelemetry tracing exporter for writing to stdout. -package stdout // import "go.opentelemetry.io/otel/exporters/trace/stdout" +package stdout // import "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" diff --git a/exporters/trace/stdout/stdout.go b/exporters/trace/stdout/stdout.go index 29f3d0eff04..74857b61391 100644 --- a/exporters/trace/stdout/stdout.go +++ b/exporters/trace/stdout/stdout.go @@ -20,7 +20,7 @@ import ( "io" "os" - export "go.opentelemetry.io/otel/sdk/export/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) // Options are the options to be used when initializing a stdout export. diff --git a/exporters/trace/stdout/stdout_test.go b/exporters/trace/stdout/stdout_test.go index 714b28fa3d5..59176029350 100644 --- a/exporters/trace/stdout/stdout_test.go +++ b/exporters/trace/stdout/stdout_test.go @@ -23,11 +23,11 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) func TestExporter_ExportSpan(t *testing.T) { diff --git a/exporters/trace/zipkin/exporter_test.go b/exporters/trace/zipkin/exporter_test.go index 848f388673d..838e1654b55 100644 --- a/exporters/trace/zipkin/exporter_test.go +++ b/exporters/trace/zipkin/exporter_test.go @@ -30,9 +30,9 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) type mockZipkinCollector struct { diff --git a/exporters/trace/zipkin/go.mod b/exporters/trace/zipkin/go.mod index aad3c458ef1..70e67881847 100644 --- a/exporters/trace/zipkin/go.mod +++ b/exporters/trace/zipkin/go.mod @@ -1,12 +1,12 @@ -module go.opentelemetry.io/otel/exporters/trace/zipkin +module github.com/InVisionApp/opentelemetry-go/exporters/trace/zipkin go 1.13 -replace go.opentelemetry.io/otel => ../../.. +replace github.com/InVisionApp/opentelemetry-go => ../../.. require ( github.com/openzipkin/zipkin-go v0.2.2 github.com/stretchr/testify v1.4.0 - go.opentelemetry.io/otel v0.4.3 + github.com/InVisionApp/opentelemetry-go v0.4.3 google.golang.org/grpc v1.27.1 ) diff --git a/exporters/trace/zipkin/model.go b/exporters/trace/zipkin/model.go index 30a5e50426f..e7831d48c75 100644 --- a/exporters/trace/zipkin/model.go +++ b/exporters/trace/zipkin/model.go @@ -21,9 +21,9 @@ import ( zkmodel "github.com/openzipkin/zipkin-go/model" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) func toZipkinSpanModels(batch []*export.SpanData, serviceName string) []zkmodel.SpanModel { diff --git a/exporters/trace/zipkin/model_test.go b/exporters/trace/zipkin/model_test.go index 52a0215843b..6c53ccf9eb3 100644 --- a/exporters/trace/zipkin/model_test.go +++ b/exporters/trace/zipkin/model_test.go @@ -22,10 +22,10 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) func TestModelConversion(t *testing.T) { diff --git a/exporters/trace/zipkin/zipkin.go b/exporters/trace/zipkin/zipkin.go index 525a33bdf8d..665fae422eb 100644 --- a/exporters/trace/zipkin/zipkin.go +++ b/exporters/trace/zipkin/zipkin.go @@ -23,7 +23,7 @@ import ( "net/http" "net/url" - export "go.opentelemetry.io/otel/sdk/export/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) // Exporter exports SpanData to the zipkin collector. It implements diff --git a/go.mod b/go.mod index 6e0f86d995e..71f1b7339d6 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ -module go.opentelemetry.io/otel +module github.com/InVisionApp/opentelemetry-go -go 1.13 +go 1.16 require ( github.com/DataDog/sketches-go v0.0.0-20190923095040-43f19ad77ff7 diff --git a/internal/matchers/package.go b/internal/matchers/package.go index 4868fedef7c..6ba0237bcf7 100644 --- a/internal/matchers/package.go +++ b/internal/matchers/package.go @@ -12,4 +12,4 @@ // See the License for the specific language governing permissions and // limitations under the License. -package matchers // import "go.opentelemetry.io/otel/internal/matchers" +package matchers // import "github.com/InVisionApp/opentelemetry-go/internal/matchers" diff --git a/internal/metric/mock.go b/internal/metric/mock.go index 2793c19ac0e..8309c25efe7 100644 --- a/internal/metric/mock.go +++ b/internal/metric/mock.go @@ -18,10 +18,10 @@ import ( "context" "sync" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - apimetric "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/metric/registry" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + apimetric "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/metric/registry" ) type ( diff --git a/internal/metric/mock_test.go b/internal/metric/mock_test.go index 01566ab9c53..7925074885a 100644 --- a/internal/metric/mock_test.go +++ b/internal/metric/mock_test.go @@ -19,7 +19,7 @@ import ( "testing" "unsafe" - ottest "go.opentelemetry.io/otel/internal/testing" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) // Ensure struct alignment prior to running tests. diff --git a/internal/trace/mock_span.go b/internal/trace/mock_span.go index 732643989d7..ad4b2285573 100644 --- a/internal/trace/mock_span.go +++ b/internal/trace/mock_span.go @@ -20,8 +20,8 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" ) // MockSpan is a mock span used in association with MockTracer for testing purpose only. diff --git a/internal/trace/mock_tracer.go b/internal/trace/mock_tracer.go index a15975439a2..97526d9c86e 100644 --- a/internal/trace/mock_tracer.go +++ b/internal/trace/mock_tracer.go @@ -20,9 +20,9 @@ import ( "encoding/binary" "sync/atomic" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/internal/trace/parent" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/internal/trace/parent" ) // MockTracer is a simple tracer used for testing purpose only. diff --git a/internal/trace/mock_tracer_test.go b/internal/trace/mock_tracer_test.go index 4b2eb949244..faa3e180c2c 100644 --- a/internal/trace/mock_tracer_test.go +++ b/internal/trace/mock_tracer_test.go @@ -19,7 +19,7 @@ import ( "testing" "unsafe" - ottest "go.opentelemetry.io/otel/internal/testing" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) // Ensure struct alignment prior to running tests. diff --git a/internal/trace/parent/parent.go b/internal/trace/parent/parent.go index 19184c9477b..e963acfae14 100644 --- a/internal/trace/parent/parent.go +++ b/internal/trace/parent/parent.go @@ -17,9 +17,9 @@ package parent import ( "context" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) func GetSpanContextAndLinks(ctx context.Context, ignoreContext bool) (core.SpanContext, bool, []trace.Link) { diff --git a/plugin/grpctrace/grpctrace.go b/plugin/grpctrace/grpctrace.go index 4efc9ccd813..b158031c690 100644 --- a/plugin/grpctrace/grpctrace.go +++ b/plugin/grpctrace/grpctrace.go @@ -19,11 +19,11 @@ import ( "google.golang.org/grpc/metadata" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) type metadataSupplier struct { diff --git a/plugin/grpctrace/interceptor.go b/plugin/grpctrace/interceptor.go index 344dccfd080..e3594cc79d6 100644 --- a/plugin/grpctrace/interceptor.go +++ b/plugin/grpctrace/interceptor.go @@ -28,10 +28,10 @@ import ( "google.golang.org/grpc/peer" "google.golang.org/grpc/status" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) var ( diff --git a/plugin/httptrace/clienttrace.go b/plugin/httptrace/clienttrace.go index f7e86402c9d..a4cfb35b8c2 100644 --- a/plugin/httptrace/clienttrace.go +++ b/plugin/httptrace/clienttrace.go @@ -24,10 +24,10 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) var ( @@ -68,7 +68,7 @@ func NewClientTrace(ctx context.Context) *httptrace.ClientTrace { activeHooks: make(map[string]context.Context), } - ct.tr = global.Tracer("go.opentelemetry.io/otel/plugin/httptrace") + ct.tr = global.Tracer("github.com/InVisionApp/opentelemetry-go/plugin/httptrace") return &httptrace.ClientTrace{ GetConn: ct.getConn, diff --git a/plugin/httptrace/clienttrace_test.go b/plugin/httptrace/clienttrace_test.go index b4508cfcbed..6cd4d6126b7 100644 --- a/plugin/httptrace/clienttrace_test.go +++ b/plugin/httptrace/clienttrace_test.go @@ -23,12 +23,12 @@ import ( "github.com/google/go-cmp/cmp" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/plugin/httptrace" - export "go.opentelemetry.io/otel/sdk/export/trace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/plugin/httptrace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) type testExporter struct { diff --git a/plugin/httptrace/httptrace.go b/plugin/httptrace/httptrace.go index d8153dc12e0..3abaf00e691 100644 --- a/plugin/httptrace/httptrace.go +++ b/plugin/httptrace/httptrace.go @@ -18,12 +18,12 @@ import ( "context" "net/http" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/correlation" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/correlation" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) var ( diff --git a/plugin/othttp/filters/filters.go b/plugin/othttp/filters/filters.go index de8b888dedc..5ad0000b8dd 100644 --- a/plugin/othttp/filters/filters.go +++ b/plugin/othttp/filters/filters.go @@ -20,7 +20,7 @@ import ( "net/http" "strings" - "go.opentelemetry.io/otel/plugin/othttp" + "github.com/InVisionApp/opentelemetry-go/plugin/othttp" ) // Any takes a list of Filters and returns a Filter that diff --git a/plugin/othttp/filters/filters_test.go b/plugin/othttp/filters/filters_test.go index b880df0248d..37f99e0e625 100644 --- a/plugin/othttp/filters/filters_test.go +++ b/plugin/othttp/filters/filters_test.go @@ -19,7 +19,7 @@ import ( "net/url" "testing" - "go.opentelemetry.io/otel/plugin/othttp" + "github.com/InVisionApp/opentelemetry-go/plugin/othttp" ) type scenario struct { diff --git a/plugin/othttp/filters/header_go14.go b/plugin/othttp/filters/header_go14.go index 9d0a61cb213..cb680d2cd51 100644 --- a/plugin/othttp/filters/header_go14.go +++ b/plugin/othttp/filters/header_go14.go @@ -20,7 +20,7 @@ import ( "net/http" "strings" - "go.opentelemetry.io/otel/plugin/othttp" + "github.com/InVisionApp/opentelemetry-go/plugin/othttp" ) // Header returns a Filter that returns true if the request diff --git a/plugin/othttp/filters/header_nongo14.go b/plugin/othttp/filters/header_nongo14.go index a36d759098f..f47d61b6b0b 100644 --- a/plugin/othttp/filters/header_nongo14.go +++ b/plugin/othttp/filters/header_nongo14.go @@ -21,7 +21,7 @@ import ( "net/textproto" "strings" - "go.opentelemetry.io/otel/plugin/othttp" + "github.com/InVisionApp/opentelemetry-go/plugin/othttp" ) // Header returns a Filter that returns true if the request diff --git a/plugin/othttp/handler.go b/plugin/othttp/handler.go index b1a610ed238..a385469e088 100644 --- a/plugin/othttp/handler.go +++ b/plugin/othttp/handler.go @@ -18,10 +18,10 @@ import ( "io" "net/http" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/propagation" - "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/trace" ) var _ http.Handler = &Handler{} @@ -85,7 +85,7 @@ func WithPublicEndpoint() Option { // WithPropagators configures the Handler with specific propagators. If this // option isn't specified then -// go.opentelemetry.io/otel/api/global.Propagators are used. +// github.com/InVisionApp/opentelemetry-go/api/global.Propagators are used. func WithPropagators(ps propagation.Propagators) Option { return func(h *Handler) { h.props = ps diff --git a/plugin/othttp/handler_example_test.go b/plugin/othttp/handler_example_test.go index 63e610834fb..7faa241428b 100644 --- a/plugin/othttp/handler_example_test.go +++ b/plugin/othttp/handler_example_test.go @@ -22,12 +22,12 @@ import ( "net/http" "strings" - "go.opentelemetry.io/otel/api/global" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/exporters/trace/stdout" - "go.opentelemetry.io/otel/plugin/othttp" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/global" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/exporters/trace/stdout" + "github.com/InVisionApp/opentelemetry-go/plugin/othttp" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func ExampleNewHandler() { diff --git a/plugin/othttp/handler_test.go b/plugin/othttp/handler_test.go index fb8836a4301..021d4d361ca 100644 --- a/plugin/othttp/handler_test.go +++ b/plugin/othttp/handler_test.go @@ -20,7 +20,7 @@ import ( "net/http/httptest" "testing" - mocktrace "go.opentelemetry.io/otel/internal/trace" + mocktrace "github.com/InVisionApp/opentelemetry-go/internal/trace" ) func TestBasics(t *testing.T) { diff --git a/plugin/othttp/wrap.go b/plugin/othttp/wrap.go index 02d9f74ed98..783aa27e269 100644 --- a/plugin/othttp/wrap.go +++ b/plugin/othttp/wrap.go @@ -19,7 +19,7 @@ import ( "io" "net/http" - "go.opentelemetry.io/otel/api/propagation" + "github.com/InVisionApp/opentelemetry-go/api/propagation" ) var _ io.ReadCloser = &bodyWrapper{} diff --git a/sdk/export/metric/aggregator/aggregator.go b/sdk/export/metric/aggregator/aggregator.go index 3922aad8eaf..b2314e3fd5e 100644 --- a/sdk/export/metric/aggregator/aggregator.go +++ b/sdk/export/metric/aggregator/aggregator.go @@ -12,16 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. -package aggregator // import "go.opentelemetry.io/otel/sdk/export/metric/aggregator" +package aggregator // import "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" import ( "fmt" "math" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" ) // These interfaces describe the various ways to access state from an diff --git a/sdk/export/metric/aggregator/aggregator_test.go b/sdk/export/metric/aggregator/aggregator_test.go index 33db25954c4..4409016a0b2 100644 --- a/sdk/export/metric/aggregator/aggregator_test.go +++ b/sdk/export/metric/aggregator/aggregator_test.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package aggregator_test // import "go.opentelemetry.io/otel/sdk/export/metric/aggregator" +package aggregator_test // import "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" import ( "errors" @@ -21,11 +21,11 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) func TestInconsistentMergeErr(t *testing.T) { diff --git a/sdk/export/metric/metric.go b/sdk/export/metric/metric.go index f278731a8d9..be83a7195fa 100644 --- a/sdk/export/metric/metric.go +++ b/sdk/export/metric/metric.go @@ -12,15 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. -package metric // import "go.opentelemetry.io/otel/sdk/export/metric" +package metric // import "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" import ( "context" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // Batcher is responsible for deciding which kind of aggregation to diff --git a/sdk/export/metric/metric_test.go b/sdk/export/metric/metric_test.go index b172cf2e797..1180239570c 100644 --- a/sdk/export/metric/metric_test.go +++ b/sdk/export/metric/metric_test.go @@ -17,9 +17,9 @@ package metric import ( "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" "github.com/stretchr/testify/require" ) diff --git a/sdk/export/trace/trace.go b/sdk/export/trace/trace.go index 23ced06f4df..45190c786d7 100644 --- a/sdk/export/trace/trace.go +++ b/sdk/export/trace/trace.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package trace // import "go.opentelemetry.io/otel/sdk/export/trace" +package trace // import "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" import ( "context" @@ -20,9 +20,9 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // SpanSyncer is a type for functions that receive a single sampled trace span. diff --git a/sdk/internal/internal.go b/sdk/internal/internal.go index b9d318e93bb..a1f2d11f0bd 100644 --- a/sdk/internal/internal.go +++ b/sdk/internal/internal.go @@ -12,13 +12,13 @@ // See the License for the specific language governing permissions and // limitations under the License. -package internal // import "go.opentelemetry.io/otel/sdk/internal" +package internal // import "github.com/InVisionApp/opentelemetry-go/sdk/internal" import ( "fmt" "time" - opentelemetry "go.opentelemetry.io/otel/sdk" + opentelemetry "github.com/InVisionApp/opentelemetry-go/sdk" ) // UserAgent is the user agent to be added to the outgoing diff --git a/sdk/metric/aggregator/array/array.go b/sdk/metric/aggregator/array/array.go index 050424209c1..aa09a537478 100644 --- a/sdk/metric/aggregator/array/array.go +++ b/sdk/metric/aggregator/array/array.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package array // import "go.opentelemetry.io/otel/sdk/metric/aggregator/array" +package array // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/array" import ( "context" @@ -21,10 +21,10 @@ import ( "sync" "unsafe" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) type ( diff --git a/sdk/metric/aggregator/array/array_test.go b/sdk/metric/aggregator/array/array_test.go index 6773ca6826d..b1f471cfa70 100644 --- a/sdk/metric/aggregator/array/array_test.go +++ b/sdk/metric/aggregator/array/array_test.go @@ -24,11 +24,11 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - ottest "go.opentelemetry.io/otel/internal/testing" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" ) // Ensure struct alignment prior to running tests. diff --git a/sdk/metric/aggregator/ddsketch/ddsketch.go b/sdk/metric/aggregator/ddsketch/ddsketch.go index b44e67c1f0f..0a57ff3ef1f 100644 --- a/sdk/metric/aggregator/ddsketch/ddsketch.go +++ b/sdk/metric/aggregator/ddsketch/ddsketch.go @@ -11,7 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -package ddsketch // import "go.opentelemetry.io/otel/sdk/metric/aggregator/ddsketch" +package ddsketch // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/ddsketch" import ( "context" @@ -20,11 +20,11 @@ import ( sdk "github.com/DataDog/sketches-go/ddsketch" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) // Config is an alias for the underlying DDSketch config object. diff --git a/sdk/metric/aggregator/ddsketch/ddsketch_test.go b/sdk/metric/aggregator/ddsketch/ddsketch_test.go index 22a39b56811..a7fc7d5abab 100644 --- a/sdk/metric/aggregator/ddsketch/ddsketch_test.go +++ b/sdk/metric/aggregator/ddsketch/ddsketch_test.go @@ -21,8 +21,8 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" ) const count = 1000 diff --git a/sdk/metric/aggregator/histogram/histogram.go b/sdk/metric/aggregator/histogram/histogram.go index e5fa397f269..b2790bef801 100644 --- a/sdk/metric/aggregator/histogram/histogram.go +++ b/sdk/metric/aggregator/histogram/histogram.go @@ -12,17 +12,17 @@ // See the License for the specific language governing permissions and // limitations under the License. -package histogram // import "go.opentelemetry.io/otel/sdk/metric/aggregator/histogram" +package histogram // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/histogram" import ( "context" "sort" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/internal" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/internal" ) type ( diff --git a/sdk/metric/aggregator/histogram/histogram_test.go b/sdk/metric/aggregator/histogram/histogram_test.go index 68eaf2f0f62..013e1bbc293 100644 --- a/sdk/metric/aggregator/histogram/histogram_test.go +++ b/sdk/metric/aggregator/histogram/histogram_test.go @@ -25,10 +25,10 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - ottest "go.opentelemetry.io/otel/internal/testing" - "go.opentelemetry.io/otel/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" ) const count = 100 diff --git a/sdk/metric/aggregator/lastvalue/lastvalue.go b/sdk/metric/aggregator/lastvalue/lastvalue.go index adeee934962..0b0e3d57dc2 100644 --- a/sdk/metric/aggregator/lastvalue/lastvalue.go +++ b/sdk/metric/aggregator/lastvalue/lastvalue.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package lastvalue // import "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" +package lastvalue // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" import ( "context" @@ -20,10 +20,10 @@ import ( "time" "unsafe" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) type ( diff --git a/sdk/metric/aggregator/lastvalue/lastvalue_test.go b/sdk/metric/aggregator/lastvalue/lastvalue_test.go index 8580da7c203..20db88f4ffb 100644 --- a/sdk/metric/aggregator/lastvalue/lastvalue_test.go +++ b/sdk/metric/aggregator/lastvalue/lastvalue_test.go @@ -23,12 +23,12 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - ottest "go.opentelemetry.io/otel/internal/testing" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" ) const count = 100 diff --git a/sdk/metric/aggregator/minmaxsumcount/mmsc.go b/sdk/metric/aggregator/minmaxsumcount/mmsc.go index 57a5cc885f0..eea4fb118de 100644 --- a/sdk/metric/aggregator/minmaxsumcount/mmsc.go +++ b/sdk/metric/aggregator/minmaxsumcount/mmsc.go @@ -12,16 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. -package minmaxsumcount // import "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" +package minmaxsumcount // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" import ( "context" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/internal" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/internal" ) type ( diff --git a/sdk/metric/aggregator/minmaxsumcount/mmsc_test.go b/sdk/metric/aggregator/minmaxsumcount/mmsc_test.go index 80f0cec4e03..912f0323e1f 100644 --- a/sdk/metric/aggregator/minmaxsumcount/mmsc_test.go +++ b/sdk/metric/aggregator/minmaxsumcount/mmsc_test.go @@ -24,11 +24,11 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - ottest "go.opentelemetry.io/otel/internal/testing" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" ) const count = 100 diff --git a/sdk/metric/aggregator/sum/sum.go b/sdk/metric/aggregator/sum/sum.go index 86f99d522e0..f6329e79fa2 100644 --- a/sdk/metric/aggregator/sum/sum.go +++ b/sdk/metric/aggregator/sum/sum.go @@ -12,15 +12,15 @@ // See the License for the specific language governing permissions and // limitations under the License. -package sum // import "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" +package sum // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" import ( "context" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) // Aggregator aggregates counter events. diff --git a/sdk/metric/aggregator/sum/sum_test.go b/sdk/metric/aggregator/sum/sum_test.go index b8f1c512b62..0e364058c46 100644 --- a/sdk/metric/aggregator/sum/sum_test.go +++ b/sdk/metric/aggregator/sum/sum_test.go @@ -22,10 +22,10 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - ottest "go.opentelemetry.io/otel/internal/testing" - "go.opentelemetry.io/otel/sdk/metric/aggregator/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/test" ) const count = 100 diff --git a/sdk/metric/aggregator/test/test.go b/sdk/metric/aggregator/test/test.go index 8fcd3dcfaae..3ee1fa23db8 100644 --- a/sdk/metric/aggregator/test/test.go +++ b/sdk/metric/aggregator/test/test.go @@ -22,11 +22,11 @@ import ( "testing" "unsafe" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - ottest "go.opentelemetry.io/otel/internal/testing" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) const Magnitude = 1000 diff --git a/sdk/metric/alignment_test.go b/sdk/metric/alignment_test.go index a260ca02fdd..bd4a457a372 100644 --- a/sdk/metric/alignment_test.go +++ b/sdk/metric/alignment_test.go @@ -18,7 +18,7 @@ import ( "os" "testing" - ottest "go.opentelemetry.io/otel/internal/testing" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" ) // Ensure struct alignment prior to running tests. diff --git a/sdk/metric/batcher/test/test.go b/sdk/metric/batcher/test/test.go index d64d50126f1..47bc12a5389 100644 --- a/sdk/metric/batcher/test/test.go +++ b/sdk/metric/batcher/test/test.go @@ -19,14 +19,14 @@ import ( "fmt" "strings" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) type ( diff --git a/sdk/metric/batcher/ungrouped/ungrouped.go b/sdk/metric/batcher/ungrouped/ungrouped.go index 5f6e836ddc6..58d674a24bc 100644 --- a/sdk/metric/batcher/ungrouped/ungrouped.go +++ b/sdk/metric/batcher/ungrouped/ungrouped.go @@ -12,16 +12,16 @@ // See the License for the specific language governing permissions and // limitations under the License. -package ungrouped // import "go.opentelemetry.io/otel/sdk/metric/batcher/ungrouped" +package ungrouped // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/ungrouped" import ( "context" "errors" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) type ( diff --git a/sdk/metric/batcher/ungrouped/ungrouped_test.go b/sdk/metric/batcher/ungrouped/ungrouped_test.go index 49756c0e351..e74a63b5e7c 100644 --- a/sdk/metric/batcher/ungrouped/ungrouped_test.go +++ b/sdk/metric/batcher/ungrouped/ungrouped_test.go @@ -20,10 +20,10 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/metric/batcher/test" - "go.opentelemetry.io/otel/sdk/metric/batcher/ungrouped" + "github.com/InVisionApp/opentelemetry-go/api/core" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/test" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/ungrouped" ) // These tests use the ../test label encoding. diff --git a/sdk/metric/benchmark_test.go b/sdk/metric/benchmark_test.go index a707e47a39a..acc7702a844 100644 --- a/sdk/metric/benchmark_test.go +++ b/sdk/metric/benchmark_test.go @@ -21,16 +21,16 @@ import ( "strings" "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - sdk "go.opentelemetry.io/otel/sdk/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/ddsketch" - "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + sdk "github.com/InVisionApp/opentelemetry-go/sdk/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/ddsketch" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) type processFunc func(context.Context, export.Record) error diff --git a/sdk/metric/controller/push/config.go b/sdk/metric/controller/push/config.go index 2b2b86b7112..5878519bd92 100644 --- a/sdk/metric/controller/push/config.go +++ b/sdk/metric/controller/push/config.go @@ -15,8 +15,8 @@ package push import ( - sdk "go.opentelemetry.io/otel/sdk/metric" - "go.opentelemetry.io/otel/sdk/resource" + sdk "github.com/InVisionApp/opentelemetry-go/sdk/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // Config contains configuration for a push Controller. diff --git a/sdk/metric/controller/push/config_test.go b/sdk/metric/controller/push/config_test.go index e0d5986d7d5..2868b315eba 100644 --- a/sdk/metric/controller/push/config_test.go +++ b/sdk/metric/controller/push/config_test.go @@ -20,9 +20,9 @@ import ( "github.com/stretchr/testify/assert" - "go.opentelemetry.io/otel/api/key" - sdk "go.opentelemetry.io/otel/sdk/metric" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/key" + sdk "github.com/InVisionApp/opentelemetry-go/sdk/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) func TestWithErrorHandler(t *testing.T) { diff --git a/sdk/metric/controller/push/push.go b/sdk/metric/controller/push/push.go index 152c5f115f5..7b658414030 100644 --- a/sdk/metric/controller/push/push.go +++ b/sdk/metric/controller/push/push.go @@ -12,18 +12,18 @@ // See the License for the specific language governing permissions and // limitations under the License. -package push // import "go.opentelemetry.io/otel/sdk/metric/controller/push" +package push // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" import ( "context" "sync" "time" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/api/metric/registry" - export "go.opentelemetry.io/otel/sdk/export/metric" - sdk "go.opentelemetry.io/otel/sdk/metric" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/api/metric/registry" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + sdk "github.com/InVisionApp/opentelemetry-go/sdk/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) // Controller organizes a periodic push of metric data. diff --git a/sdk/metric/controller/push/push_test.go b/sdk/metric/controller/push/push_test.go index 24d6f62b50e..997ee14084d 100644 --- a/sdk/metric/controller/push/push_test.go +++ b/sdk/metric/controller/push/push_test.go @@ -25,13 +25,13 @@ import ( "github.com/benbjohnson/clock" "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/test" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" - "go.opentelemetry.io/otel/sdk/metric/controller/push" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/test" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/controller/push" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) type testBatcher struct { diff --git a/sdk/metric/correct_test.go b/sdk/metric/correct_test.go index bcc0f53a524..cf38f3adab1 100644 --- a/sdk/metric/correct_test.go +++ b/sdk/metric/correct_test.go @@ -24,16 +24,16 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - metricsdk "go.opentelemetry.io/otel/sdk/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/array" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" - batchTest "go.opentelemetry.io/otel/sdk/metric/batcher/test" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + metricsdk "github.com/InVisionApp/opentelemetry-go/sdk/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/array" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" + batchTest "github.com/InVisionApp/opentelemetry-go/sdk/metric/batcher/test" ) var Must = metric.Must diff --git a/sdk/metric/doc.go b/sdk/metric/doc.go index 40bdeae377a..a07b762f21f 100644 --- a/sdk/metric/doc.go +++ b/sdk/metric/doc.go @@ -90,7 +90,7 @@ Export Pipeline While the SDK serves to maintain a current set of records and coordinate collection, the behavior of a metrics export pipeline is configured through the export types in -go.opentelemetry.io/otel/sdk/export/metric. It is important to keep +github.com/InVisionApp/opentelemetry-go/sdk/export/metric. It is important to keep in mind the context these interfaces are called from. There are two contexts, instrumentation context, where a user-level goroutine that enters the SDK resulting in a new record, and collection context, @@ -163,4 +163,4 @@ Controllers are expected to implement the public metric.MeterProvider API, meaning they can be installed as the global Meter provider. */ -package metric // import "go.opentelemetry.io/otel/sdk/metric" +package metric // import "github.com/InVisionApp/opentelemetry-go/sdk/metric" diff --git a/sdk/metric/example_test.go b/sdk/metric/example_test.go index 7c84ca7f2c7..656f204eb55 100644 --- a/sdk/metric/example_test.go +++ b/sdk/metric/example_test.go @@ -19,9 +19,9 @@ import ( "fmt" "time" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/exporters/metric/stdout" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/exporters/metric/stdout" ) func ExampleNew() { diff --git a/sdk/metric/histogram_stress_test.go b/sdk/metric/histogram_stress_test.go index 32b3f593d5a..3f802288e7c 100644 --- a/sdk/metric/histogram_stress_test.go +++ b/sdk/metric/histogram_stress_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/histogram" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/histogram" ) func TestStressInt64Histogram(t *testing.T) { diff --git a/sdk/metric/minmaxsumcount_stress_test.go b/sdk/metric/minmaxsumcount_stress_test.go index b5a7e6eab89..8d8f671a0eb 100644 --- a/sdk/metric/minmaxsumcount_stress_test.go +++ b/sdk/metric/minmaxsumcount_stress_test.go @@ -24,9 +24,9 @@ import ( "testing" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" ) func TestStressInt64MinMaxSumCount(t *testing.T) { diff --git a/sdk/metric/sdk.go b/sdk/metric/sdk.go index 844c8194fc6..7da2a51dbd2 100644 --- a/sdk/metric/sdk.go +++ b/sdk/metric/sdk.go @@ -22,12 +22,12 @@ import ( "sync" "sync/atomic" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/label" - "go.opentelemetry.io/otel/api/metric" - api "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/label" + "github.com/InVisionApp/opentelemetry-go/api/metric" + api "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" ) type ( diff --git a/sdk/metric/selector/simple/simple.go b/sdk/metric/selector/simple/simple.go index efd2592671c..e9eacf8375a 100644 --- a/sdk/metric/selector/simple/simple.go +++ b/sdk/metric/selector/simple/simple.go @@ -12,17 +12,17 @@ // See the License for the specific language governing permissions and // limitations under the License. -package simple // import "go.opentelemetry.io/otel/sdk/metric/selector/simple" +package simple // import "github.com/InVisionApp/opentelemetry-go/sdk/metric/selector/simple" import ( - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/array" - "go.opentelemetry.io/otel/sdk/metric/aggregator/ddsketch" - "go.opentelemetry.io/otel/sdk/metric/aggregator/histogram" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/array" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/ddsketch" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/histogram" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) type ( diff --git a/sdk/metric/selector/simple/simple_test.go b/sdk/metric/selector/simple/simple_test.go index 0815e5ecc33..6efd558f3b3 100644 --- a/sdk/metric/selector/simple/simple_test.go +++ b/sdk/metric/selector/simple/simple_test.go @@ -19,14 +19,14 @@ import ( "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/metric" - "go.opentelemetry.io/otel/sdk/metric/aggregator/array" - "go.opentelemetry.io/otel/sdk/metric/aggregator/ddsketch" - "go.opentelemetry.io/otel/sdk/metric/aggregator/histogram" - "go.opentelemetry.io/otel/sdk/metric/aggregator/minmaxsumcount" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" - "go.opentelemetry.io/otel/sdk/metric/selector/simple" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/array" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/ddsketch" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/histogram" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/minmaxsumcount" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/selector/simple" ) var ( diff --git a/sdk/metric/stress_test.go b/sdk/metric/stress_test.go index fd2d18fd6cc..74c241f46ba 100644 --- a/sdk/metric/stress_test.go +++ b/sdk/metric/stress_test.go @@ -31,14 +31,14 @@ import ( "testing" "time" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/metric" - api "go.opentelemetry.io/otel/api/metric" - export "go.opentelemetry.io/otel/sdk/export/metric" - "go.opentelemetry.io/otel/sdk/export/metric/aggregator" - "go.opentelemetry.io/otel/sdk/metric/aggregator/lastvalue" - "go.opentelemetry.io/otel/sdk/metric/aggregator/sum" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/metric" + api "github.com/InVisionApp/opentelemetry-go/api/metric" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/metric" + "github.com/InVisionApp/opentelemetry-go/sdk/export/metric/aggregator" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/lastvalue" + "github.com/InVisionApp/opentelemetry-go/sdk/metric/aggregator/sum" ) const ( diff --git a/sdk/opentelemetry.go b/sdk/opentelemetry.go index 2393ef770e1..59463f845d9 100644 --- a/sdk/opentelemetry.go +++ b/sdk/opentelemetry.go @@ -13,7 +13,7 @@ // limitations under the License. // Package opentelemetry contains Go support for OpenTelemetry. -package opentelemetry // import "go.opentelemetry.io/otel/sdk" +package opentelemetry // import "github.com/InVisionApp/opentelemetry-go/sdk" // Version is the current release version of OpenTelemetry in use. func Version() string { diff --git a/sdk/resource/resource.go b/sdk/resource/resource.go index c6c71f265d0..58cef112d54 100644 --- a/sdk/resource/resource.go +++ b/sdk/resource/resource.go @@ -17,8 +17,8 @@ package resource import ( - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/label" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/label" ) // Resource describes an entity about which identifying information diff --git a/sdk/resource/resource_test.go b/sdk/resource/resource_test.go index ae45de443d2..179aa92bbcf 100644 --- a/sdk/resource/resource_test.go +++ b/sdk/resource/resource_test.go @@ -22,9 +22,9 @@ import ( "github.com/google/go-cmp/cmp" "github.com/stretchr/testify/require" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) var ( diff --git a/sdk/resource/resourcekeys/const.go b/sdk/resource/resourcekeys/const.go index 5adc993ddda..2181bd49695 100644 --- a/sdk/resource/resourcekeys/const.go +++ b/sdk/resource/resourcekeys/const.go @@ -13,7 +13,7 @@ // limitations under the License. // Package resourcekeys contains well known type and label keys for resources. -package resourcekeys // import "go.opentelemetry.io/otel/sdk/resource/resourcekeys" +package resourcekeys // import "github.com/InVisionApp/opentelemetry-go/sdk/resource/resourcekeys" // Constants for Service resources. const ( diff --git a/sdk/trace/attributesMap.go b/sdk/trace/attributesMap.go index 9eea73f1a0b..df056230d13 100644 --- a/sdk/trace/attributesMap.go +++ b/sdk/trace/attributesMap.go @@ -17,8 +17,8 @@ package trace import ( "container/list" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) // attributesMap is a capped map of attributes, holding the most recent attributes. diff --git a/sdk/trace/batch_span_processor.go b/sdk/trace/batch_span_processor.go index a66d2d65e4c..2bd8c14b836 100644 --- a/sdk/trace/batch_span_processor.go +++ b/sdk/trace/batch_span_processor.go @@ -21,7 +21,7 @@ import ( "sync/atomic" "time" - export "go.opentelemetry.io/otel/sdk/export/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) const ( diff --git a/sdk/trace/batch_span_processor_test.go b/sdk/trace/batch_span_processor_test.go index df77f3937d4..1cf71c5b63b 100644 --- a/sdk/trace/batch_span_processor_test.go +++ b/sdk/trace/batch_span_processor_test.go @@ -21,10 +21,10 @@ import ( "testing" "time" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) type testBatchExporter struct { diff --git a/sdk/trace/benchmark_test.go b/sdk/trace/benchmark_test.go index dad9a7531b2..81db8969ae3 100644 --- a/sdk/trace/benchmark_test.go +++ b/sdk/trace/benchmark_test.go @@ -18,10 +18,10 @@ import ( "context" "testing" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - apitrace "go.opentelemetry.io/otel/api/trace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func BenchmarkStartEndSpan(b *testing.B) { diff --git a/sdk/trace/config.go b/sdk/trace/config.go index f919019467a..d078afbefd6 100644 --- a/sdk/trace/config.go +++ b/sdk/trace/config.go @@ -15,8 +15,8 @@ package trace import ( - "go.opentelemetry.io/otel/sdk/resource" - "go.opentelemetry.io/otel/sdk/trace/internal" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/sdk/trace/internal" ) // Config represents the global tracing configuration. diff --git a/sdk/trace/doc.go b/sdk/trace/doc.go index 0285e99be07..900c95c2e23 100644 --- a/sdk/trace/doc.go +++ b/sdk/trace/doc.go @@ -18,4 +18,4 @@ Package trace contains support for OpenTelemetry distributed tracing. The following assumes a basic familiarity with OpenTelemetry concepts. See https://opentelemetry.io. */ -package trace // import "go.opentelemetry.io/otel/sdk/trace" +package trace // import "github.com/InVisionApp/opentelemetry-go/sdk/trace" diff --git a/sdk/trace/id_generator.go b/sdk/trace/id_generator.go index 028fd0787e6..e58db4ac651 100644 --- a/sdk/trace/id_generator.go +++ b/sdk/trace/id_generator.go @@ -18,8 +18,8 @@ import ( "math/rand" "sync" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/sdk/trace/internal" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/sdk/trace/internal" ) type defaultIDGenerator struct { diff --git a/sdk/trace/internal/internal.go b/sdk/trace/internal/internal.go index 38190025fb1..ae0d6918feb 100644 --- a/sdk/trace/internal/internal.go +++ b/sdk/trace/internal/internal.go @@ -15,7 +15,7 @@ // Package internal provides trace internals. package internal -import "go.opentelemetry.io/otel/api/core" +import "github.com/InVisionApp/opentelemetry-go/api/core" // IDGenerator allows custom generators for TraceId and SpanId. type IDGenerator interface { diff --git a/sdk/trace/provider.go b/sdk/trace/provider.go index fe4b8a7a7c9..292163e1311 100644 --- a/sdk/trace/provider.go +++ b/sdk/trace/provider.go @@ -18,15 +18,15 @@ import ( "sync" "sync/atomic" - export "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" ) const ( - defaultTracerName = "go.opentelemetry.io/otel/sdk/tracer" + defaultTracerName = "github.com/InVisionApp/opentelemetry-go/sdk/tracer" ) // batcher contains export.SpanBatcher and its options. diff --git a/sdk/trace/sampling.go b/sdk/trace/sampling.go index 30e0f180919..67a2aa0b4cc 100644 --- a/sdk/trace/sampling.go +++ b/sdk/trace/sampling.go @@ -18,8 +18,8 @@ import ( "encoding/binary" "fmt" - "go.opentelemetry.io/otel/api/core" - api "go.opentelemetry.io/otel/api/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + api "github.com/InVisionApp/opentelemetry-go/api/trace" ) // Sampler decides whether a trace should be sampled and exported. diff --git a/sdk/trace/sampling_test.go b/sdk/trace/sampling_test.go index 5a83a183c1e..b23cf22c9b4 100644 --- a/sdk/trace/sampling_test.go +++ b/sdk/trace/sampling_test.go @@ -17,8 +17,8 @@ package trace_test import ( "testing" - "go.opentelemetry.io/otel/api/core" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) func TestAlwaysParentSampleWithParentSampled(t *testing.T) { diff --git a/sdk/trace/simple_span_processor.go b/sdk/trace/simple_span_processor.go index dcf410b9714..e87b51c800c 100644 --- a/sdk/trace/simple_span_processor.go +++ b/sdk/trace/simple_span_processor.go @@ -17,7 +17,7 @@ package trace import ( "context" - export "go.opentelemetry.io/otel/sdk/export/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) // SimpleSpanProcessor implements SpanProcessor interfaces. It is used by diff --git a/sdk/trace/simple_span_processor_test.go b/sdk/trace/simple_span_processor_test.go index d6d209d63dd..80f8726f5d3 100644 --- a/sdk/trace/simple_span_processor_test.go +++ b/sdk/trace/simple_span_processor_test.go @@ -18,10 +18,10 @@ import ( "context" "testing" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) type testExporter struct { diff --git a/sdk/trace/span.go b/sdk/trace/span.go index 5b9e2bc5df0..bf2c96443b3 100644 --- a/sdk/trace/span.go +++ b/sdk/trace/span.go @@ -23,10 +23,10 @@ import ( "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - apitrace "go.opentelemetry.io/otel/api/trace" - export "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/internal" + "github.com/InVisionApp/opentelemetry-go/api/core" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/internal" ) const ( diff --git a/sdk/trace/span_processor.go b/sdk/trace/span_processor.go index 40c9fa3861b..369f10a6033 100644 --- a/sdk/trace/span_processor.go +++ b/sdk/trace/span_processor.go @@ -18,7 +18,7 @@ import ( "sync" "sync/atomic" - export "go.opentelemetry.io/otel/sdk/export/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) // SpanProcessor is interface to add hooks to start and end method invocations. diff --git a/sdk/trace/span_processor_test.go b/sdk/trace/span_processor_test.go index bf5cacaadf5..56c4e4b0f9d 100644 --- a/sdk/trace/span_processor_test.go +++ b/sdk/trace/span_processor_test.go @@ -18,7 +18,7 @@ import ( "context" "testing" - export "go.opentelemetry.io/otel/sdk/export/trace" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" ) type testSpanProcesor struct { diff --git a/sdk/trace/trace.go b/sdk/trace/trace.go index b406bf99555..d7e07a5fe99 100644 --- a/sdk/trace/trace.go +++ b/sdk/trace/trace.go @@ -19,7 +19,7 @@ import ( "encoding/binary" "math/rand" - "go.opentelemetry.io/otel/sdk/trace/internal" + "github.com/InVisionApp/opentelemetry-go/sdk/trace/internal" ) func defIDGenerator() internal.IDGenerator { diff --git a/sdk/trace/trace_test.go b/sdk/trace/trace_test.go index 811d1fd6649..dc95b2bb390 100644 --- a/sdk/trace/trace_test.go +++ b/sdk/trace/trace_test.go @@ -27,14 +27,14 @@ import ( "github.com/google/go-cmp/cmp" "google.golang.org/grpc/codes" - "go.opentelemetry.io/otel/api/core" - "go.opentelemetry.io/otel/api/key" - "go.opentelemetry.io/otel/api/testharness" - "go.opentelemetry.io/otel/api/trace" - apitrace "go.opentelemetry.io/otel/api/trace" - ottest "go.opentelemetry.io/otel/internal/testing" - export "go.opentelemetry.io/otel/sdk/export/trace" - "go.opentelemetry.io/otel/sdk/resource" + "github.com/InVisionApp/opentelemetry-go/api/core" + "github.com/InVisionApp/opentelemetry-go/api/key" + "github.com/InVisionApp/opentelemetry-go/api/testharness" + "github.com/InVisionApp/opentelemetry-go/api/trace" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + ottest "github.com/InVisionApp/opentelemetry-go/internal/testing" + export "github.com/InVisionApp/opentelemetry-go/sdk/export/trace" + "github.com/InVisionApp/opentelemetry-go/sdk/resource" ) var ( @@ -899,7 +899,7 @@ func TestRecordError(t *testing.T) { }{ { err: ottest.NewTestError("test error"), - typ: "go.opentelemetry.io/otel/internal/testing.TestError", + typ: "github.com/InVisionApp/opentelemetry-go/internal/testing.TestError", msg: "test error", }, { @@ -984,7 +984,7 @@ func TestRecordErrorWithStatus(t *testing.T) { Name: errorEventName, Time: errTime, Attributes: []core.KeyValue{ - errorTypeKey.String("go.opentelemetry.io/otel/internal/testing.TestError"), + errorTypeKey.String("github.com/InVisionApp/opentelemetry-go/internal/testing.TestError"), errorMessageKey.String("test error"), }, }, diff --git a/sdk/trace/tracer.go b/sdk/trace/tracer.go index 402893e2899..fd3b7746eb3 100644 --- a/sdk/trace/tracer.go +++ b/sdk/trace/tracer.go @@ -17,8 +17,8 @@ package trace import ( "context" - apitrace "go.opentelemetry.io/otel/api/trace" - "go.opentelemetry.io/otel/internal/trace/parent" + apitrace "github.com/InVisionApp/opentelemetry-go/api/trace" + "github.com/InVisionApp/opentelemetry-go/internal/trace/parent" ) type tracer struct { diff --git a/sdk/trace/util_test.go b/sdk/trace/util_test.go index 5e2af9bc7ef..f67a4546dd7 100644 --- a/sdk/trace/util_test.go +++ b/sdk/trace/util_test.go @@ -17,7 +17,7 @@ package trace_test import ( "testing" - sdktrace "go.opentelemetry.io/otel/sdk/trace" + sdktrace "github.com/InVisionApp/opentelemetry-go/sdk/trace" ) var testConfig = sdktrace.Config{DefaultSampler: sdktrace.AlwaysSample()} diff --git a/tools/go.mod b/tools/go.mod index 25914eb073c..d9c7de90181 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,4 +1,4 @@ -module go.opentelemetry.io/otel/tools +module github.com/InVisionApp/opentelemetry-go/tools go 1.13