diff --git a/_examples/basic/main.go b/_examples/basic/main.go index 9833cf456..5c4c99760 100644 --- a/_examples/basic/main.go +++ b/_examples/basic/main.go @@ -19,7 +19,7 @@ import ( "os" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) // release is the release of this program that will be reported to Sentry. diff --git a/_examples/feature-showcase/main.go b/_examples/feature-showcase/main.go index 42f75d264..516db73e0 100644 --- a/_examples/feature-showcase/main.go +++ b/_examples/feature-showcase/main.go @@ -7,7 +7,7 @@ import ( "strconv" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func prettyPrint(v interface{}) string { diff --git a/_examples/flush/main.go b/_examples/flush/main.go index 44442ac79..44e6907f3 100644 --- a/_examples/flush/main.go +++ b/_examples/flush/main.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func main() { diff --git a/_examples/http/main.go b/_examples/http/main.go index 9c22f66b7..a65fa5592 100644 --- a/_examples/http/main.go +++ b/_examples/http/main.go @@ -24,7 +24,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" sentryhttp "github.com/getsentry/sentry-go/http" ) diff --git a/_examples/multiclient/main.go b/_examples/multiclient/main.go index 55b00f6ab..421c88f45 100644 --- a/_examples/multiclient/main.go +++ b/_examples/multiclient/main.go @@ -4,7 +4,7 @@ import ( "fmt" "log" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) type pickleIntegration struct{} diff --git a/_examples/recover-repanic/main.go b/_examples/recover-repanic/main.go index 5344f0933..866b68289 100644 --- a/_examples/recover-repanic/main.go +++ b/_examples/recover-repanic/main.go @@ -20,7 +20,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func main() { diff --git a/_examples/recover/main.go b/_examples/recover/main.go index 5caff7e0c..ed3c59fcb 100644 --- a/_examples/recover/main.go +++ b/_examples/recover/main.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func prettyPrint(v interface{}) string { diff --git a/_examples/synctransport/main.go b/_examples/synctransport/main.go index 81b9d8b2d..e649c57a6 100644 --- a/_examples/synctransport/main.go +++ b/_examples/synctransport/main.go @@ -4,7 +4,7 @@ import ( "log" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func main() { diff --git a/_examples/with_extra/main.go b/_examples/with_extra/main.go index 4dee8f816..55e1a7a10 100644 --- a/_examples/with_extra/main.go +++ b/_examples/with_extra/main.go @@ -5,7 +5,7 @@ import ( "fmt" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func prettyPrint(v interface{}) string { diff --git a/client.go b/client.go index c20159568..e8785f5d5 100644 --- a/client.go +++ b/client.go @@ -14,7 +14,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go/internal/debug" + "github.com/cdn77/sentry-go/internal/debug" ) // maxErrorDepth is the maximum number of errors reported in a chain of errors. diff --git a/dynamic_sampling_context.go b/dynamic_sampling_context.go index fda6fdf31..eafb58a5d 100644 --- a/dynamic_sampling_context.go +++ b/dynamic_sampling_context.go @@ -4,7 +4,7 @@ import ( "strconv" "strings" - "github.com/getsentry/sentry-go/internal/otel/baggage" + "github.com/cdn77/sentry-go/internal/otel/baggage" ) const ( diff --git a/dynamic_sampling_context_test.go b/dynamic_sampling_context_test.go index ac791bb24..3af650bb7 100644 --- a/dynamic_sampling_context_test.go +++ b/dynamic_sampling_context_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/cdn77/sentry-go/internal/testutils" ) func TestDynamicSamplingContextFromHeader(t *testing.T) { diff --git a/example_transportwithhooks_test.go b/example_transportwithhooks_test.go index c9828e12d..247c25930 100644 --- a/example_transportwithhooks_test.go +++ b/example_transportwithhooks_test.go @@ -7,7 +7,7 @@ import ( "os" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) // TransportWithHooks is an http.RoundTripper that wraps an existing diff --git a/helpers_test.go b/helpers_test.go index 5821f5b46..8d4d45100 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -1,7 +1,7 @@ package sentry import ( - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/cdn77/sentry-go/internal/testutils" ) var assertEqual = testutils.AssertEqual diff --git a/http/example_test.go b/http/example_test.go index 957ee3dfa..f00ff4061 100644 --- a/http/example_test.go +++ b/http/example_test.go @@ -4,8 +4,8 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" - sentryhttp "github.com/getsentry/sentry-go/http" + "github.com/cdn77/sentry-go" + sentryhttp "github.com/cdn77/sentry-go/http" ) // For a longer and executable example, see diff --git a/http/sentryhttp.go b/http/sentryhttp.go index 629e25d45..e82cc056f 100644 --- a/http/sentryhttp.go +++ b/http/sentryhttp.go @@ -8,7 +8,7 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) // A Handler is an HTTP middleware factory that provides integration with diff --git a/http/sentryhttp_test.go b/http/sentryhttp_test.go index 1d965613d..63e6a097d 100644 --- a/http/sentryhttp_test.go +++ b/http/sentryhttp_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go" - sentryhttp "github.com/getsentry/sentry-go/http" + "github.com/cdn77/sentry-go" + sentryhttp "github.com/cdn77/sentry-go/http" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" ) diff --git a/internal/otel/baggage/baggage.go b/internal/otel/baggage/baggage.go index 180655506..57ca61550 100644 --- a/internal/otel/baggage/baggage.go +++ b/internal/otel/baggage/baggage.go @@ -24,7 +24,7 @@ import ( "strings" "unicode/utf8" - "github.com/getsentry/sentry-go/internal/otel/baggage/internal/baggage" + "github.com/cdn77/sentry-go/internal/otel/baggage/internal/baggage" ) const ( diff --git a/internal/otel/baggage/baggage_test.go b/internal/otel/baggage/baggage_test.go index a900c91db..b923d07a4 100644 --- a/internal/otel/baggage/baggage_test.go +++ b/internal/otel/baggage/baggage_test.go @@ -26,7 +26,7 @@ import ( "github.com/stretchr/testify/assert" - "github.com/getsentry/sentry-go/internal/otel/baggage/internal/baggage" + "github.com/cdn77/sentry-go/internal/otel/baggage/internal/baggage" ) var rng *rand.Rand diff --git a/internal/testutils/asserts.go b/internal/testutils/asserts.go index 405901683..0ef44fac8 100644 --- a/internal/testutils/asserts.go +++ b/internal/testutils/asserts.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "github.com/getsentry/sentry-go/internal/otel/baggage" + "github.com/cdn77/sentry-go/internal/otel/baggage" "github.com/google/go-cmp/cmp" ) diff --git a/logrus/logrusentry.go b/logrus/logrusentry.go index 0a3a72216..c007e3909 100644 --- a/logrus/logrusentry.go +++ b/logrus/logrusentry.go @@ -6,7 +6,7 @@ import ( "net/http" "time" - sentry "github.com/getsentry/sentry-go" + sentry "github.com/cdn77/sentry-go" "github.com/sirupsen/logrus" ) diff --git a/logrus/logrusentry_test.go b/logrus/logrusentry_test.go index 2ffb67b8c..8b19314f2 100644 --- a/logrus/logrusentry_test.go +++ b/logrus/logrusentry_test.go @@ -14,7 +14,7 @@ import ( pkgerr "github.com/pkg/errors" "github.com/sirupsen/logrus" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func TestNew(t *testing.T) { diff --git a/otel/event_processor.go b/otel/event_processor.go index d171b7d6b..a929851fa 100644 --- a/otel/event_processor.go +++ b/otel/event_processor.go @@ -3,7 +3,7 @@ package sentryotel import ( - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" "go.opentelemetry.io/otel/trace" ) diff --git a/otel/event_processor_test.go b/otel/event_processor_test.go index 692f462fd..586ce6e75 100644 --- a/otel/event_processor_test.go +++ b/otel/event_processor_test.go @@ -7,7 +7,7 @@ import ( "fmt" "testing" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func TestLinkTraceContextToErrorEventSetsContext(t *testing.T) { diff --git a/otel/go.mod b/otel/go.mod index 0db0cb62d..469a34b4f 100644 --- a/otel/go.mod +++ b/otel/go.mod @@ -1,16 +1,16 @@ -module github.com/getsentry/sentry-go/otel +module github.com/cdn77/sentry-go/otel go 1.18 require ( - github.com/getsentry/sentry-go v0.21.0 + github.com/cdn77/sentry-go v0.21.78 github.com/google/go-cmp v0.5.9 go.opentelemetry.io/otel v1.11.0 go.opentelemetry.io/otel/sdk v1.11.0 go.opentelemetry.io/otel/trace v1.11.0 ) -replace github.com/getsentry/sentry-go => ../ +replace github.com/cdn77/sentry-go => ../ require ( github.com/go-logr/logr v1.2.3 // indirect diff --git a/otel/helpers_test.go b/otel/helpers_test.go index e06274578..1c9362620 100644 --- a/otel/helpers_test.go +++ b/otel/helpers_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/internal/otel/baggage" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/cdn77/sentry-go" + "github.com/cdn77/sentry-go/internal/otel/baggage" + "github.com/cdn77/sentry-go/internal/testutils" "github.com/google/go-cmp/cmp" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" diff --git a/otel/internal/utils/mapotelstatus.go b/otel/internal/utils/mapotelstatus.go index 70f43342f..1c3fa9c0a 100644 --- a/otel/internal/utils/mapotelstatus.go +++ b/otel/internal/utils/mapotelstatus.go @@ -3,7 +3,7 @@ package utils import ( - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/sdk/trace" semconv "go.opentelemetry.io/otel/semconv/v1.12.0" diff --git a/otel/internal/utils/sentryrequest.go b/otel/internal/utils/sentryrequest.go index 8b078d5ee..08e3b7919 100644 --- a/otel/internal/utils/sentryrequest.go +++ b/otel/internal/utils/sentryrequest.go @@ -6,7 +6,7 @@ import ( "context" "strings" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" "go.opentelemetry.io/otel/sdk/trace" semconv "go.opentelemetry.io/otel/semconv/v1.12.0" ) diff --git a/otel/internal/utils/spanattributes.go b/otel/internal/utils/spanattributes.go index 0571d23d3..3498a4028 100644 --- a/otel/internal/utils/spanattributes.go +++ b/otel/internal/utils/spanattributes.go @@ -6,7 +6,7 @@ import ( "fmt" "net/url" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" otelSdkTrace "go.opentelemetry.io/otel/sdk/trace" semconv "go.opentelemetry.io/otel/semconv/v1.12.0" otelTrace "go.opentelemetry.io/otel/trace" diff --git a/otel/propagator.go b/otel/propagator.go index 8a5d3e626..84688856b 100644 --- a/otel/propagator.go +++ b/otel/propagator.go @@ -5,8 +5,8 @@ package sentryotel import ( "context" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/internal/otel/baggage" + "github.com/cdn77/sentry-go" + "github.com/cdn77/sentry-go/internal/otel/baggage" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" ) diff --git a/otel/propagator_test.go b/otel/propagator_test.go index fe7abb699..0a4bec093 100644 --- a/otel/propagator_test.go +++ b/otel/propagator_test.go @@ -6,8 +6,8 @@ import ( "context" "testing" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/internal/otel/baggage" + "github.com/cdn77/sentry-go" + "github.com/cdn77/sentry-go/internal/otel/baggage" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" ) diff --git a/otel/span_map.go b/otel/span_map.go index 9390a8a74..1f1caff8b 100644 --- a/otel/span_map.go +++ b/otel/span_map.go @@ -5,7 +5,7 @@ package sentryotel import ( "sync" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" otelTrace "go.opentelemetry.io/otel/trace" ) diff --git a/otel/span_processor.go b/otel/span_processor.go index 1e7fc6406..49be91844 100644 --- a/otel/span_processor.go +++ b/otel/span_processor.go @@ -6,8 +6,8 @@ import ( "context" "time" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/otel/internal/utils" + "github.com/cdn77/sentry-go" + "github.com/cdn77/sentry-go/otel/internal/utils" "go.opentelemetry.io/otel/attribute" otelSdkTrace "go.opentelemetry.io/otel/sdk/trace" ) diff --git a/otel/span_processor_test.go b/otel/span_processor_test.go index 6c6483331..683e8fc3b 100644 --- a/otel/span_processor_test.go +++ b/otel/span_processor_test.go @@ -7,8 +7,8 @@ import ( "log" "testing" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/cdn77/sentry-go" + "github.com/cdn77/sentry-go/internal/testutils" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/sdk/resource" otelSdkTrace "go.opentelemetry.io/otel/sdk/trace" diff --git a/scope_concurrency_test.go b/scope_concurrency_test.go index c00313687..a36a5ea95 100644 --- a/scope_concurrency_test.go +++ b/scope_concurrency_test.go @@ -6,7 +6,7 @@ import ( "sync" "testing" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func TestConcurrentScopeUsage(t *testing.T) { diff --git a/stacktrace.go b/stacktrace.go index c3c5f5d55..5f4ca6ed4 100644 --- a/stacktrace.go +++ b/stacktrace.go @@ -288,7 +288,7 @@ func filterFrames(frames []Frame) []Frame { } // Skip Sentry internal frames, except for frames in _test packages (for // testing). - if strings.HasPrefix(frame.Module, "github.com/getsentry/sentry-go") && + if strings.HasPrefix(frame.Module, "github.com/cdn77/sentry-go") && !strings.HasSuffix(frame.Module, "_test") { continue } diff --git a/stacktrace_external_test.go b/stacktrace_external_test.go index d12f42132..d9d227624 100644 --- a/stacktrace_external_test.go +++ b/stacktrace_external_test.go @@ -9,7 +9,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "github.com/getsentry/sentry-go" + "github.com/cdn77/sentry-go" ) func f1() *sentry.Stacktrace { diff --git a/transport.go b/transport.go index a6abf1d32..4d6ea67d0 100644 --- a/transport.go +++ b/transport.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go/internal/ratelimit" + "github.com/cdn77/sentry-go/internal/ratelimit" ) const defaultBufferSize = 30