diff --git a/_examples/basic/main.go b/_examples/basic/main.go index bb1c51da6..d8c4845eb 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/exaring/sentry-go" ) // release is the release of this program that will be reported to Sentry. diff --git a/_examples/crons/main.go b/_examples/crons/main.go index 9fbda32bc..dff429843 100644 --- a/_examples/crons/main.go +++ b/_examples/crons/main.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" ) func runTask(monitorSlug string, duration time.Duration, shouldFail bool) { diff --git a/_examples/echo/main.go b/_examples/echo/main.go index 5d971f3b4..d95abbd56 100644 --- a/_examples/echo/main.go +++ b/_examples/echo/main.go @@ -4,8 +4,8 @@ import ( "fmt" "net/http" - "github.com/getsentry/sentry-go" - sentryecho "github.com/getsentry/sentry-go/echo" + "github.com/exaring/sentry-go" + sentryecho "github.com/exaring/sentry-go/echo" "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" ) diff --git a/_examples/fasthttp/main.go b/_examples/fasthttp/main.go index 8ced31107..f27711aaa 100644 --- a/_examples/fasthttp/main.go +++ b/_examples/fasthttp/main.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/getsentry/sentry-go" - sentryfasthttp "github.com/getsentry/sentry-go/fasthttp" + "github.com/exaring/sentry-go" + sentryfasthttp "github.com/exaring/sentry-go/fasthttp" "github.com/valyala/fasthttp" ) diff --git a/_examples/feature-showcase/main.go b/_examples/feature-showcase/main.go index 42f75d264..730ce8ce3 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/exaring/sentry-go" ) func prettyPrint(v interface{}) string { diff --git a/_examples/flush/main.go b/_examples/flush/main.go index 44442ac79..185b73f0e 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/exaring/sentry-go" ) func main() { diff --git a/_examples/gin/main.go b/_examples/gin/main.go index c08e6e81b..7ee570540 100644 --- a/_examples/gin/main.go +++ b/_examples/gin/main.go @@ -4,8 +4,8 @@ import ( "fmt" "net/http" - "github.com/getsentry/sentry-go" - sentrygin "github.com/getsentry/sentry-go/gin" + "github.com/exaring/sentry-go" + sentrygin "github.com/exaring/sentry-go/gin" "github.com/gin-gonic/gin" ) diff --git a/_examples/http/main.go b/_examples/http/main.go index 9c22f66b7..3eb5f1ec8 100644 --- a/_examples/http/main.go +++ b/_examples/http/main.go @@ -24,8 +24,8 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go" - sentryhttp "github.com/getsentry/sentry-go/http" + "github.com/exaring/sentry-go" + sentryhttp "github.com/exaring/sentry-go/http" ) var addr = flag.String("addr", "127.0.0.1:3000", "bind address") diff --git a/_examples/iris/main.go b/_examples/iris/main.go index deaf249e0..3e323875d 100644 --- a/_examples/iris/main.go +++ b/_examples/iris/main.go @@ -7,8 +7,8 @@ import ( "fmt" "net/http" - "github.com/getsentry/sentry-go" - sentryiris "github.com/getsentry/sentry-go/iris" + "github.com/exaring/sentry-go" + sentryiris "github.com/exaring/sentry-go/iris" "github.com/kataras/iris/v12" ) diff --git a/_examples/logrus/main.go b/_examples/logrus/main.go index d28b93a29..d685b5669 100644 --- a/_examples/logrus/main.go +++ b/_examples/logrus/main.go @@ -8,8 +8,8 @@ import ( "github.com/sirupsen/logrus" - "github.com/getsentry/sentry-go" - sentrylogrus "github.com/getsentry/sentry-go/logrus" + "github.com/exaring/sentry-go" + sentrylogrus "github.com/exaring/sentry-go/logrus" ) func main() { diff --git a/_examples/martini/main.go b/_examples/martini/main.go index 2deb9151f..8da577a5d 100644 --- a/_examples/martini/main.go +++ b/_examples/martini/main.go @@ -4,9 +4,9 @@ import ( "fmt" "net/http" - sentrymartini "github.com/getsentry/sentry-go/martini" + sentrymartini "github.com/exaring/sentry-go/martini" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/go-martini/martini" ) diff --git a/_examples/multiclient/main.go b/_examples/multiclient/main.go index 55b00f6ab..6c34093f4 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/exaring/sentry-go" ) type pickleIntegration struct{} diff --git a/_examples/negroni/main.go b/_examples/negroni/main.go index c478224f7..ed8562a4b 100644 --- a/_examples/negroni/main.go +++ b/_examples/negroni/main.go @@ -4,9 +4,9 @@ import ( "fmt" "net/http" - sentrynegroni "github.com/getsentry/sentry-go/negroni" + sentrynegroni "github.com/exaring/sentry-go/negroni" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/urfave/negroni" ) diff --git a/_examples/profiling/main.go b/_examples/profiling/main.go index 5f33ce9c3..ba94a7d16 100644 --- a/_examples/profiling/main.go +++ b/_examples/profiling/main.go @@ -13,7 +13,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" ) func main() { diff --git a/_examples/recover-repanic/main.go b/_examples/recover-repanic/main.go index a35bc7482..c24da815e 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/exaring/sentry-go" ) func main() { diff --git a/_examples/recover/main.go b/_examples/recover/main.go index 5caff7e0c..dd4c2ccbd 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/exaring/sentry-go" ) func prettyPrint(v interface{}) string { diff --git a/_examples/synctransport/main.go b/_examples/synctransport/main.go index 81b9d8b2d..6c3b1e193 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/exaring/sentry-go" ) func main() { diff --git a/_examples/with_extra/main.go b/_examples/with_extra/main.go index 4dee8f816..601a7da61 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/exaring/sentry-go" ) func prettyPrint(v interface{}) string { diff --git a/client.go b/client.go index 6f7b62f59..b5c83462e 100644 --- a/client.go +++ b/client.go @@ -14,7 +14,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go/internal/debug" + "github.com/exaring/sentry-go/internal/debug" ) // The identifier of the SDK. diff --git a/doc.go b/doc.go index 973020ae8..dd9a4447e 100644 --- a/doc.go +++ b/doc.go @@ -1,5 +1,5 @@ /* -Package repository: https://github.com/getsentry/sentry-go/ +Package repository: https://github.com/exaring/sentry-go/ For more information about Sentry and SDK features, please have a look at the official documentation site: https://docs.sentry.io/platforms/go/ */ diff --git a/dynamic_sampling_context.go b/dynamic_sampling_context.go index 365072607..6cf2f541f 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/exaring/sentry-go/internal/otel/baggage" ) const ( diff --git a/dynamic_sampling_context_test.go b/dynamic_sampling_context_test.go index a6604ee18..d473ba1ba 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/exaring/sentry-go/internal/testutils" ) func TestDynamicSamplingContextFromHeader(t *testing.T) { diff --git a/echo/sentryecho.go b/echo/sentryecho.go index 46fe96526..2dd43d403 100644 --- a/echo/sentryecho.go +++ b/echo/sentryecho.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/labstack/echo/v4" ) diff --git a/example_transportwithhooks_test.go b/example_transportwithhooks_test.go index 1318a3807..fffd4d46c 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/exaring/sentry-go" ) // TransportWithHooks is an http.RoundTripper that wraps an existing diff --git a/fasthttp/sentryfasthttp.go b/fasthttp/sentryfasthttp.go index f6b6787af..ea7fae3dd 100644 --- a/fasthttp/sentryfasthttp.go +++ b/fasthttp/sentryfasthttp.go @@ -9,7 +9,7 @@ import ( "net/url" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/valyala/fasthttp" ) diff --git a/fasthttp/sentryfasthttp_test.go b/fasthttp/sentryfasthttp_test.go index 25187acb9..7e5ee70dc 100644 --- a/fasthttp/sentryfasthttp_test.go +++ b/fasthttp/sentryfasthttp_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go" - sentryfasthttp "github.com/getsentry/sentry-go/fasthttp" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/exaring/sentry-go" + sentryfasthttp "github.com/exaring/sentry-go/fasthttp" + "github.com/exaring/sentry-go/internal/testutils" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" "github.com/valyala/fasthttp" diff --git a/gin/sentrygin.go b/gin/sentrygin.go index 387699109..e53df333b 100644 --- a/gin/sentrygin.go +++ b/gin/sentrygin.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/gin-gonic/gin" ) diff --git a/gin/sentrygin_test.go b/gin/sentrygin_test.go index b75e0f1f0..82ba8f62c 100644 --- a/gin/sentrygin_test.go +++ b/gin/sentrygin_test.go @@ -10,9 +10,9 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go" - sentrygin "github.com/getsentry/sentry-go/gin" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/exaring/sentry-go" + sentrygin "github.com/exaring/sentry-go/gin" + "github.com/exaring/sentry-go/internal/testutils" "github.com/gin-gonic/gin" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" diff --git a/go.mod b/go.mod index ba844a7e5..277a875bb 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/getsentry/sentry-go +module github.com/exaring/sentry-go go 1.18 diff --git a/go.work b/go.work new file mode 100644 index 000000000..99a2dbcf0 --- /dev/null +++ b/go.work @@ -0,0 +1,6 @@ +go 1.20 + +use ( + . + ./otel +) diff --git a/go.work.sum b/go.work.sum new file mode 100644 index 000000000..f6c65d695 --- /dev/null +++ b/go.work.sum @@ -0,0 +1,25 @@ +github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= +github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/ugorji/go v1.2.7 h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= +go.opentelemetry.io/otel v1.16.0/go.mod h1:vl0h9NUa1D5s1nv3A5vZOYWn8av4K8Ml6JDeHrT/bx4= +go.opentelemetry.io/otel/metric v1.16.0/go.mod h1:QE47cpOmkwipPiefDwo2wDzwJrlfxxNYodqc4xnGCo4= +go.opentelemetry.io/otel/sdk v1.16.0/go.mod h1:tMsIuKXuuIWPBAOrH+eHtvhTL+SntFtXF9QD68aP6p4= +go.opentelemetry.io/otel/trace v1.16.0/go.mod h1:Yt9vYq1SdNz3xdjZZK7wcXv1qv2pwLkqr2QVwea0ef0= +golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= diff --git a/helpers_test.go b/helpers_test.go index 5821f5b46..9c6bcf59e 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/exaring/sentry-go/internal/testutils" ) var assertEqual = testutils.AssertEqual diff --git a/http/example_test.go b/http/example_test.go index 957ee3dfa..8598233fb 100644 --- a/http/example_test.go +++ b/http/example_test.go @@ -4,12 +4,12 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" - sentryhttp "github.com/getsentry/sentry-go/http" + "github.com/exaring/sentry-go" + sentryhttp "github.com/exaring/sentry-go/http" ) // For a longer and executable example, see -// https://github.com/getsentry/sentry-go/tree/master/_examples/http. +// https://github.com/exaring/sentry-go/tree/master/_examples/http. func Example() { // Initialize the Sentry SDK once in the main function. // sentry.Init(...) diff --git a/http/sentryhttp.go b/http/sentryhttp.go index 290b22470..3b838748c 100644 --- a/http/sentryhttp.go +++ b/http/sentryhttp.go @@ -8,7 +8,7 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" ) // The identifier of the Gin SDK. diff --git a/http/sentryhttp_test.go b/http/sentryhttp_test.go index 45c3eb039..1a533438b 100644 --- a/http/sentryhttp_test.go +++ b/http/sentryhttp_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go" - sentryhttp "github.com/getsentry/sentry-go/http" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/exaring/sentry-go" + sentryhttp "github.com/exaring/sentry-go/http" + "github.com/exaring/sentry-go/internal/testutils" "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" ) diff --git a/integrations_test.go b/integrations_test.go index 0b97a9b5e..6cbb7b144 100644 --- a/integrations_test.go +++ b/integrations_test.go @@ -220,7 +220,7 @@ func TestContextifyFrames(t *testing.T) { frames := cfi.contextify([]Frame{{ Function: "Trace", - Module: "github.com/getsentry/sentry-go", + Module: "github.com/exaring/sentry-go", Filename: filename, AbsPath: abspath, Lineno: 12, @@ -304,7 +304,7 @@ func TestExtractModules(t *testing.T) { }, Deps: []*debug.Module{ { - Path: "github.com/getsentry/sentry-go", + Path: "github.com/exaring/sentry-go", Version: "v0.5.1", }, { @@ -314,9 +314,9 @@ func TestExtractModules(t *testing.T) { }, }, want: map[string]string{ - "my/module": "(devel)", - "github.com/getsentry/sentry-go": "v0.5.1", - "github.com/gin-gonic/gin": "v1.4.0", + "my/module": "(devel)", + "github.com/exaring/sentry-go": "v0.5.1", + "github.com/gin-gonic/gin": "v1.4.0", }, }, { @@ -328,7 +328,7 @@ func TestExtractModules(t *testing.T) { }, Deps: []*debug.Module{ { - Path: "github.com/getsentry/sentry-go", + Path: "github.com/exaring/sentry-go", Version: "v0.5.1", Replace: &debug.Module{ Path: "pkg/sentry", @@ -337,8 +337,8 @@ func TestExtractModules(t *testing.T) { }, }, want: map[string]string{ - "my/module": "(devel)", - "github.com/getsentry/sentry-go": "v0.5.1 => pkg/sentry", + "my/module": "(devel)", + "github.com/exaring/sentry-go": "v0.5.1 => pkg/sentry", }, }, { diff --git a/internal/otel/baggage/baggage.go b/internal/otel/baggage/baggage.go index 180655506..7a3b6937b 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/exaring/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..8134b5df1 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/exaring/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..351698449 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/exaring/sentry-go/internal/otel/baggage" "github.com/google/go-cmp/cmp" ) diff --git a/internal/traceparser/parser_test.go b/internal/traceparser/parser_test.go index 7393517ae..519c3710b 100644 --- a/internal/traceparser/parser_test.go +++ b/internal/traceparser/parser_test.go @@ -45,9 +45,9 @@ func TestParseEmpty(t *testing.T) { var tracetext = []byte(` goroutine 7 [running]: -github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace.func1() +github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace.func1() c:/dev/sentry-go/internal/traceparser/parser_test.go:23 +0x6c -created by github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace in goroutine 6 +created by github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace in goroutine 6 c:/dev/sentry-go/internal/traceparser/parser_test.go:17 +0x7f goroutine 1 [chan receive]: @@ -65,9 +65,9 @@ main.main() _testmain.go:465 +0x1aa goroutine 6 [chan send]: -github.com/getsentry/sentry-go.startProfiling.func3() +github.com/exaring/sentry-go.startProfiling.func3() c:/dev/sentry-go/profiler.go:46 +0x2b -github.com/getsentry/sentry-go.TestStart(0x0?) +github.com/exaring/sentry-go.TestStart(0x0?) c:/dev/sentry-go/profiler_test.go:13 +0x3e testing.tRunner(0xc00006f860, 0x6b5f98) C:/Users/name/scoop/apps/go/current/src/testing/testing.go:1576 +0x10b @@ -77,15 +77,15 @@ created by testing.(*T).Run goroutine 7 [stopping the world]: runtime.Stack({0xc000200000, 0x100000, 0x100000}, 0x1) C:/Users/name/scoop/apps/go/current/src/runtime/mprof.go:1193 +0x4d -github.com/getsentry/sentry-go.(*profileRecorder).Collect(0xc00008a820) +github.com/exaring/sentry-go.(*profileRecorder).Collect(0xc00008a820) c:/dev/sentry-go/profiler.go:73 +0x3b -github.com/getsentry/sentry-go.startProfiling.func2() +github.com/exaring/sentry-go.startProfiling.func2() c:/dev/sentry-go/profiler.go:38 +0xb1 -created by github.com/getsentry/sentry-go.startProfiling +created by github.com/exaring/sentry-go.startProfiling c:/dev/sentry-go/profiler.go:31 +0x36c goroutine 19 [chan send]: -github.com/getsentry/sentry-go.startProfiling.func1() +github.com/exaring/sentry-go.startProfiling.func1() c:/dev/sentry-go/profiler.go:29 +0x25 ...additional frames elided... created by time.goFunc @@ -105,9 +105,9 @@ func TestParse(t *testing.T) { i++ } - checkTrace(7, `github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace.func1() + checkTrace(7, `github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace.func1() c:/dev/sentry-go/internal/traceparser/parser_test.go:23 +0x6c -created by github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace in goroutine 6 +created by github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace in goroutine 6 c:/dev/sentry-go/internal/traceparser/parser_test.go:17 +0x7f`) checkTrace(1, `testing.(*T).Run(0xc00006f6c0, {0x672288?, 0x180fd3?}, 0x6b5f98) @@ -123,9 +123,9 @@ testing.(*M).Run(0xc000035ea0) main.main() _testmain.go:465 +0x1aa`) - checkTrace(6, `github.com/getsentry/sentry-go.startProfiling.func3() + checkTrace(6, `github.com/exaring/sentry-go.startProfiling.func3() c:/dev/sentry-go/profiler.go:46 +0x2b -github.com/getsentry/sentry-go.TestStart(0x0?) +github.com/exaring/sentry-go.TestStart(0x0?) c:/dev/sentry-go/profiler_test.go:13 +0x3e testing.tRunner(0xc00006f860, 0x6b5f98) C:/Users/name/scoop/apps/go/current/src/testing/testing.go:1576 +0x10b @@ -134,14 +134,14 @@ created by testing.(*T).Run checkTrace(7, `runtime.Stack({0xc000200000, 0x100000, 0x100000}, 0x1) C:/Users/name/scoop/apps/go/current/src/runtime/mprof.go:1193 +0x4d -github.com/getsentry/sentry-go.(*profileRecorder).Collect(0xc00008a820) +github.com/exaring/sentry-go.(*profileRecorder).Collect(0xc00008a820) c:/dev/sentry-go/profiler.go:73 +0x3b -github.com/getsentry/sentry-go.startProfiling.func2() +github.com/exaring/sentry-go.startProfiling.func2() c:/dev/sentry-go/profiler.go:38 +0xb1 -created by github.com/getsentry/sentry-go.startProfiling +created by github.com/exaring/sentry-go.startProfiling c:/dev/sentry-go/profiler.go:31 +0x36c`) - checkTrace(19, `github.com/getsentry/sentry-go.startProfiling.func1() + checkTrace(19, `github.com/exaring/sentry-go.startProfiling.func1() c:/dev/sentry-go/profiler.go:29 +0x25 ...additional frames elided... created by time.goFunc @@ -172,10 +172,10 @@ func TestFrames(t *testing.T) { var expected = strings.Split(strings.TrimLeft(` Trace 0: goroutine 7 with at most 2 frames - Func = github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace.func1 + Func = github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace.func1 File = c:/dev/sentry-go/internal/traceparser/parser_test.go Line = 23 - Func = github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace + Func = github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace File = c:/dev/sentry-go/internal/traceparser/parser_test.go Line = 17 Trace 1: goroutine 1 with at most 6 frames @@ -198,10 +198,10 @@ Trace 1: goroutine 1 with at most 6 frames File = _testmain.go Line = 465 Trace 2: goroutine 6 with at most 4 frames - Func = github.com/getsentry/sentry-go.startProfiling.func3 + Func = github.com/exaring/sentry-go.startProfiling.func3 File = c:/dev/sentry-go/profiler.go Line = 46 - Func = github.com/getsentry/sentry-go.TestStart + Func = github.com/exaring/sentry-go.TestStart File = c:/dev/sentry-go/profiler_test.go Line = 13 Func = testing.tRunner @@ -214,17 +214,17 @@ Trace 3: goroutine 7 with at most 4 frames Func = runtime.Stack File = C:/Users/name/scoop/apps/go/current/src/runtime/mprof.go Line = 1193 - Func = github.com/getsentry/sentry-go.(*profileRecorder).Collect + Func = github.com/exaring/sentry-go.(*profileRecorder).Collect File = c:/dev/sentry-go/profiler.go Line = 73 - Func = github.com/getsentry/sentry-go.startProfiling.func2 + Func = github.com/exaring/sentry-go.startProfiling.func2 File = c:/dev/sentry-go/profiler.go Line = 38 - Func = github.com/getsentry/sentry-go.startProfiling + Func = github.com/exaring/sentry-go.startProfiling File = c:/dev/sentry-go/profiler.go Line = 31 Trace 4: goroutine 19 with at most 2 frames - Func = github.com/getsentry/sentry-go.startProfiling.func1 + Func = github.com/exaring/sentry-go.startProfiling.func1 File = c:/dev/sentry-go/profiler.go Line = 29 Func = time.goFunc @@ -256,10 +256,10 @@ func TestFramesReversed(t *testing.T) { var expected = strings.Split(strings.TrimLeft(` Trace 0: goroutine 7 with at most 2 frames - Func = github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace + Func = github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace File = c:/dev/sentry-go/internal/traceparser/parser_test.go Line = 17 - Func = github.com/getsentry/sentry-go/internal/traceparser.TestGenerateTrace.func1 + Func = github.com/exaring/sentry-go/internal/traceparser.TestGenerateTrace.func1 File = c:/dev/sentry-go/internal/traceparser/parser_test.go Line = 23 Trace 1: goroutine 1 with at most 6 frames @@ -288,20 +288,20 @@ Trace 2: goroutine 6 with at most 4 frames Func = testing.tRunner File = C:/Users/name/scoop/apps/go/current/src/testing/testing.go Line = 1576 - Func = github.com/getsentry/sentry-go.TestStart + Func = github.com/exaring/sentry-go.TestStart File = c:/dev/sentry-go/profiler_test.go Line = 13 - Func = github.com/getsentry/sentry-go.startProfiling.func3 + Func = github.com/exaring/sentry-go.startProfiling.func3 File = c:/dev/sentry-go/profiler.go Line = 46 Trace 3: goroutine 7 with at most 4 frames - Func = github.com/getsentry/sentry-go.startProfiling + Func = github.com/exaring/sentry-go.startProfiling File = c:/dev/sentry-go/profiler.go Line = 31 - Func = github.com/getsentry/sentry-go.startProfiling.func2 + Func = github.com/exaring/sentry-go.startProfiling.func2 File = c:/dev/sentry-go/profiler.go Line = 38 - Func = github.com/getsentry/sentry-go.(*profileRecorder).Collect + Func = github.com/exaring/sentry-go.(*profileRecorder).Collect File = c:/dev/sentry-go/profiler.go Line = 73 Func = runtime.Stack @@ -311,7 +311,7 @@ Trace 4: goroutine 19 with at most 2 frames Func = time.goFunc File = C:/Users/name/scoop/apps/go/current/src/time/sleep.go Line = 176 - Func = github.com/getsentry/sentry-go.startProfiling.func1 + Func = github.com/exaring/sentry-go.startProfiling.func1 File = c:/dev/sentry-go/profiler.go Line = 29 `, "\n"), "\n") diff --git a/iris/sentryiris.go b/iris/sentryiris.go index c70784090..8849019f5 100644 --- a/iris/sentryiris.go +++ b/iris/sentryiris.go @@ -8,7 +8,7 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/kataras/iris/v12" ) diff --git a/logrus/logrusentry.go b/logrus/logrusentry.go index b4695f0c9..4359c0500 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/exaring/sentry-go" "github.com/sirupsen/logrus" ) diff --git a/logrus/logrusentry_test.go b/logrus/logrusentry_test.go index f36250ac9..ad46b9309 100644 --- a/logrus/logrusentry_test.go +++ b/logrus/logrusentry_test.go @@ -14,8 +14,8 @@ import ( pkgerr "github.com/pkg/errors" "github.com/sirupsen/logrus" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/exaring/sentry-go" + "github.com/exaring/sentry-go/internal/testutils" ) func TestNew(t *testing.T) { diff --git a/martini/sentrymartini.go b/martini/sentrymartini.go index 425289fd0..1fcf3fe69 100644 --- a/martini/sentrymartini.go +++ b/martini/sentrymartini.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/go-martini/martini" ) diff --git a/negroni/sentrynegroni.go b/negroni/sentrynegroni.go index 1e94fa37a..8eb829c1d 100644 --- a/negroni/sentrynegroni.go +++ b/negroni/sentrynegroni.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "github.com/urfave/negroni" ) diff --git a/otel/event_processor.go b/otel/event_processor.go index d171b7d6b..bd59bbbb8 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/exaring/sentry-go" "go.opentelemetry.io/otel/trace" ) diff --git a/otel/event_processor_test.go b/otel/event_processor_test.go index 692f462fd..2511ef75f 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/exaring/sentry-go" ) func TestLinkTraceContextToErrorEventSetsContext(t *testing.T) { diff --git a/otel/go.mod b/otel/go.mod index 2bc885d25..0f919f1b0 100644 --- a/otel/go.mod +++ b/otel/go.mod @@ -1,16 +1,16 @@ -module github.com/getsentry/sentry-go/otel +module github.com/exaring/sentry-go/otel go 1.18 require ( - github.com/getsentry/sentry-go v0.24.1 + github.com/exaring/sentry-go v0.24.1 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/exaring/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..da4ab2eda 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/exaring/sentry-go" + "github.com/exaring/sentry-go/internal/otel/baggage" + "github.com/exaring/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 2d4614869..6e30c6941 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/exaring/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/mapotelstatus_test.go b/otel/internal/utils/mapotelstatus_test.go index 7629403e8..9b40147b2 100644 --- a/otel/internal/utils/mapotelstatus_test.go +++ b/otel/internal/utils/mapotelstatus_test.go @@ -2,14 +2,15 @@ package utils_test import ( "fmt" - "github.com/getsentry/sentry-go" - "github.com/getsentry/sentry-go/otel/internal/utils" + "strconv" + "testing" + + "github.com/exaring/sentry-go" + "github.com/exaring/sentry-go/otel/internal/utils" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/sdk/trace" semconv "go.opentelemetry.io/otel/semconv/v1.12.0" - "strconv" - "testing" ) type mockReadOnlySpan struct { diff --git a/otel/internal/utils/sentryrequest.go b/otel/internal/utils/sentryrequest.go index 8b078d5ee..f7aa301ee 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/exaring/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..5a59aee66 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/exaring/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/middleware_test.go b/otel/middleware_test.go index 345fe0ad0..8661acf69 100644 --- a/otel/middleware_test.go +++ b/otel/middleware_test.go @@ -6,8 +6,8 @@ import ( "net/http/httptest" "testing" - "github.com/getsentry/sentry-go" - sentryhttp "github.com/getsentry/sentry-go/http" + "github.com/exaring/sentry-go" + sentryhttp "github.com/exaring/sentry-go/http" "go.opentelemetry.io/otel" otelSdkTrace "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/trace" diff --git a/otel/mittleware.go b/otel/mittleware.go index 3f982001a..87df7477d 100644 --- a/otel/mittleware.go +++ b/otel/mittleware.go @@ -3,7 +3,7 @@ package sentryotel import ( "net/http" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" "go.opentelemetry.io/otel/trace" ) diff --git a/otel/propagator.go b/otel/propagator.go index 8a5d3e626..034e33af1 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/exaring/sentry-go" + "github.com/exaring/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 0941aa3bd..06cb2a6e7 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/exaring/sentry-go" + "github.com/exaring/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..3b2fa3223 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/exaring/sentry-go" otelTrace "go.opentelemetry.io/otel/trace" ) diff --git a/otel/span_processor.go b/otel/span_processor.go index bc57b8197..4dc530859 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/exaring/sentry-go" + "github.com/exaring/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 3154b4e54..928663035 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/exaring/sentry-go" + "github.com/exaring/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/profiler.go b/profiler.go index 5517c11d1..4c6a9ba8a 100644 --- a/profiler.go +++ b/profiler.go @@ -9,7 +9,7 @@ import ( "sync/atomic" "time" - "github.com/getsentry/sentry-go/internal/traceparser" + "github.com/exaring/sentry-go/internal/traceparser" ) // Start a profiler that collects samples continuously, with a buffer of up to 30 seconds. diff --git a/profiler_test.go b/profiler_test.go index b0d6ffd95..d563726ea 100644 --- a/profiler_test.go +++ b/profiler_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/exaring/sentry-go/internal/testutils" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) @@ -159,7 +159,7 @@ func TestProfilerStackTrace(t *testing.T) { // Note: we can't check the exact stack trace because the profiler runs its own goroutine // And this test goroutine may be interrupted at multiple points. require.True(strings.HasSuffix(actual, ` -github.com/getsentry/sentry-go TestProfilerStackTrace +github.com/exaring/sentry-go TestProfilerStackTrace testing tRunner testing (*T).Run`)) } @@ -494,7 +494,7 @@ func TestProfilerTimeSleep(t *testing.T) { // // goos: windows // goarch: amd64 -// pkg: github.com/getsentry/sentry-go +// pkg: github.com/exaring/sentry-go // cpu: 12th Gen Intel(R) Core(TM) i7-12700K // BenchmarkProfilerStartStop/Wait-20 12507 94991 ns/op 130506 B/op 3166 allocs/op // BenchmarkProfilerStartStop/NoWait-20 9600 112354 ns/op 131125 B/op 3166 allocs/op diff --git a/scope_concurrency_test.go b/scope_concurrency_test.go index d4e56d49c..279efd3ed 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/exaring/sentry-go" ) func TestConcurrentScopeUsage(t *testing.T) { diff --git a/stacktrace.go b/stacktrace.go index 4c288ab72..b960d26df 100644 --- a/stacktrace.go +++ b/stacktrace.go @@ -321,7 +321,7 @@ func shouldSkipFrame(module string) bool { } // Skip Sentry internal frames, except for frames in _test packages (for testing). - if strings.HasPrefix(module, "github.com/getsentry/sentry-go") && + if strings.HasPrefix(module, "github.com/exaring/sentry-go") && !strings.HasSuffix(module, "_test") { return true } diff --git a/stacktrace_external_test.go b/stacktrace_external_test.go index 4b609a8b5..6c6d8440b 100644 --- a/stacktrace_external_test.go +++ b/stacktrace_external_test.go @@ -11,7 +11,7 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "github.com/getsentry/sentry-go" + "github.com/exaring/sentry-go" ) func f1() *sentry.Stacktrace { @@ -59,7 +59,7 @@ func TestNewStacktrace(t *testing.T) { Frames: []sentry.Frame{ { Function: "f1", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 18, InApp: true, }, @@ -69,13 +69,13 @@ func TestNewStacktrace(t *testing.T) { Frames: []sentry.Frame{ { Function: "f2", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 22, InApp: true, }, { Function: "f1", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 18, InApp: true, }, @@ -90,7 +90,7 @@ func TestNewStacktrace(t *testing.T) { Frames: []sentry.Frame{ { Function: "f3", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 25, InApp: true, }, @@ -119,13 +119,13 @@ func TestExtractStacktrace(t *testing.T) { Frames: []sentry.Frame{ { Function: "RedPkgErrorsRanger", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 29, InApp: true, }, { Function: "BluePkgErrorsRanger", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 33, InApp: true, }, @@ -136,13 +136,13 @@ func TestExtractStacktrace(t *testing.T) { Frames: []sentry.Frame{ { Function: "RedPingcapErrorsRanger", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 37, InApp: true, }, { Function: "BluePingcapErrorsRanger", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 41, InApp: true, }, @@ -153,13 +153,13 @@ func TestExtractStacktrace(t *testing.T) { Frames: []sentry.Frame{ { Function: "RedGoErrorsRanger", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 45, InApp: true, }, { Function: "BlueGoErrorsRanger", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", Lineno: 49, InApp: true, }, @@ -168,7 +168,7 @@ func TestExtractStacktrace(t *testing.T) { // FIXME: The tests below are commented out to avoid introducing a // dependency on golang.org/x/xerrors. We should enable them when we // move tests with external dependencies to a separate module. - // See https://github.com/getsentry/sentry-go/issues/238. + // See https://github.com/exaring/sentry-go/issues/238. // // https://golang.org/x/xerrors // "xerrors.errorString": { @@ -184,7 +184,7 @@ func TestExtractStacktrace(t *testing.T) { // Frames: []sentry.Frame{ // { // Function: "TestExtractStacktrace.func1", - // Module: "github.com/getsentry/sentry-go_test", + // Module: "github.com/exaring/sentry-go_test", // Lineno: 178, // InApp: true, // }, @@ -204,7 +204,7 @@ func TestExtractStacktrace(t *testing.T) { // Frames: []sentry.Frame{ // { // Function: "TestExtractStacktrace.func2", - // Module: "github.com/getsentry/sentry-go_test", + // Module: "github.com/exaring/sentry-go_test", // Lineno: 198, // InApp: true, // }, @@ -224,7 +224,7 @@ func TestExtractStacktrace(t *testing.T) { // Frames: []sentry.Frame{ // { // Function: "TestExtractStacktrace.func3", - // Module: "github.com/getsentry/sentry-go_test", + // Module: "github.com/exaring/sentry-go_test", // Lineno: 218, // InApp: true, // }, diff --git a/stacktrace_test.go b/stacktrace_test.go index 96d682801..69c8b4f5d 100644 --- a/stacktrace_test.go +++ b/stacktrace_test.go @@ -36,18 +36,18 @@ func TestSplitQualifiedFunctionName(t *testing.T) { {"runtime.Callers", "runtime", "Callers"}, {"main.main.func1", "main", "main.func1"}, { - "github.com/getsentry/sentry-go.Init", - "github.com/getsentry/sentry-go", + "github.com/exaring/sentry-go.Init", + "github.com/exaring/sentry-go", "Init", }, { - "github.com/getsentry/sentry-go.(*Hub).Flush", - "github.com/getsentry/sentry-go", + "github.com/exaring/sentry-go.(*Hub).Flush", + "github.com/exaring/sentry-go", "(*Hub).Flush", }, { - "github.com/getsentry/sentry-go.Test.func2.1.1", - "github.com/getsentry/sentry-go", + "github.com/exaring/sentry-go.Test.func2.1.1", + "github.com/exaring/sentry-go", "Test.func2.1.1", }, { @@ -90,22 +90,22 @@ func TestCreateFrames(t *testing.T) { File: "/goroot/src/testing/testing.go", }, { - Function: "github.com/getsentry/sentry-go_test.TestNewStacktrace.func1", + Function: "github.com/exaring/sentry-go_test.TestNewStacktrace.func1", File: "/somewhere/sentry/sentry-go/stacktrace_external_test.go", }, { - Function: "github.com/getsentry/sentry-go.StacktraceTestHelper.NewStacktrace", + Function: "github.com/exaring/sentry-go.StacktraceTestHelper.NewStacktrace", File: "/somewhere/sentry/sentry-go/stacktrace_test.go", }, { - Function: "github.com/getsentry/sentry-go.NewStacktrace", + Function: "github.com/exaring/sentry-go.NewStacktrace", File: "/somewhere/sentry/sentry-go/stacktrace.go", }, }, out: []Frame{ { Function: "TestNewStacktrace.func1", - Module: "github.com/getsentry/sentry-go_test", + Module: "github.com/exaring/sentry-go_test", AbsPath: "/somewhere/sentry/sentry-go/stacktrace_external_test.go", InApp: true, }, @@ -115,11 +115,11 @@ func TestCreateFrames(t *testing.T) { { in: []runtime.Frame{ { - Function: "github.com/getsentry/sentry-go/http/integration.Example.Integration", + Function: "github.com/exaring/sentry-go/http/integration.Example.Integration", File: "/somewhere/sentry/sentry-go/http/integration/integration.go", }, { - Function: "github.com/getsentry/sentry-go/http.(*Handler).Handle", + Function: "github.com/exaring/sentry-go/http.(*Handler).Handle", File: "/somewhere/sentry/sentry-go/http/sentryhttp.go", }, { diff --git a/traces_profiler.go b/traces_profiler.go index 2655fe848..2d1627a64 100644 --- a/traces_profiler.go +++ b/traces_profiler.go @@ -43,7 +43,7 @@ func collectTransactionProfile(span *Span) *profileInfo { info := &profileInfo{ Version: "1", EventID: uuid(), - // See https://github.com/getsentry/sentry-go/pull/626#discussion_r1204870340 for explanation why we use the Transaction time. + // See https://github.com/exaring/sentry-go/pull/626#discussion_r1204870340 for explanation why we use the Transaction time. Timestamp: span.StartTime, Trace: result.trace, Transaction: profileTransaction{ diff --git a/tracing_test.go b/tracing_test.go index 61848cb0a..79f4448fd 100644 --- a/tracing_test.go +++ b/tracing_test.go @@ -897,7 +897,7 @@ func TestDeprecatedSpanOptionTransctionSource(t *testing.T) { // This test checks that there are no concurrent reads/writes to // substructures in scope.contexts. -// See https://github.com/getsentry/sentry-go/issues/570 for more details. +// See https://github.com/exaring/sentry-go/issues/570 for more details. func TestConcurrentContextAccess(t *testing.T) { ctx := NewTestContext(ClientOptions{ EnableTracing: true, @@ -984,7 +984,7 @@ func TestAdjustingTransactionSourceBeforeSending(t *testing.T) { } } -// This is a regression test for https://github.com/getsentry/sentry-go/issues/587 +// This is a regression test for https://github.com/exaring/sentry-go/issues/587 // Without the "spans can be finished only once" fix, this test will fail // when run with race detection ("-race"). func TestSpanFinishConcurrentlyWithoutRaces(t *testing.T) { diff --git a/transport.go b/transport.go index 3eee45845..a082adc7e 100644 --- a/transport.go +++ b/transport.go @@ -12,7 +12,7 @@ import ( "sync" "time" - "github.com/getsentry/sentry-go/internal/ratelimit" + "github.com/exaring/sentry-go/internal/ratelimit" ) const defaultBufferSize = 30 diff --git a/transport_test.go b/transport_test.go index 112bc6130..312d4303b 100644 --- a/transport_test.go +++ b/transport_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "github.com/getsentry/sentry-go/internal/testutils" + "github.com/exaring/sentry-go/internal/testutils" "github.com/google/go-cmp/cmp" ) diff --git a/util_test.go b/util_test.go index e6a5568fb..2f35b54b1 100644 --- a/util_test.go +++ b/util_test.go @@ -54,7 +54,7 @@ func TestRevisionFromBuildInfo(t *testing.T) { }, Deps: []*debug.Module{ { - Path: "github.com/getsentry/sentry-go", + Path: "github.com/exaring/sentry-go", Version: "v0.23.1", Replace: &debug.Module{ Path: "pkg/sentry", @@ -80,7 +80,7 @@ func TestRevisionFromBuildInfoNoVcsInformation(t *testing.T) { }, Deps: []*debug.Module{ { - Path: "github.com/getsentry/sentry-go", + Path: "github.com/exaring/sentry-go", Version: "v0.23.1", Replace: &debug.Module{ Path: "pkg/sentry",