diff --git a/receiver/gitlabreceiver/go.mod b/receiver/gitlabreceiver/go.mod index 6c293eb1..36a9549d 100644 --- a/receiver/gitlabreceiver/go.mod +++ b/receiver/gitlabreceiver/go.mod @@ -1,6 +1,6 @@ module github.com/liatrio/liatrio-otel-collector/receiver/gitlabreceiver -go 1.23 +go 1.23.4 require ( github.com/Khan/genqlient v0.7.0 @@ -8,7 +8,7 @@ require ( github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden v0.116.0 github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.116.0 github.com/stretchr/testify v1.10.0 - github.com/xanzy/go-gitlab v0.114.0 + gitlab.com/gitlab-org/api/client-go v0.117.0 go.opentelemetry.io/collector/component v0.116.0 go.opentelemetry.io/collector/component/componenttest v0.116.0 go.opentelemetry.io/collector/config/confighttp v0.116.0 @@ -146,6 +146,6 @@ require ( google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect google.golang.org/grpc v1.68.1 // indirect - google.golang.org/protobuf v1.35.2 // indirect + google.golang.org/protobuf v1.36.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/receiver/gitlabreceiver/go.sum b/receiver/gitlabreceiver/go.sum index 827d3858..00b80a9f 100644 --- a/receiver/gitlabreceiver/go.sum +++ b/receiver/gitlabreceiver/go.sum @@ -134,12 +134,12 @@ github.com/tklauser/numcpus v0.7.0 h1:yjuerZP127QG9m5Zh/mSO4wqurYil27tHrqwRoRjpr github.com/tklauser/numcpus v0.7.0/go.mod h1:bb6dMVcj8A42tSE7i32fsIUCbQNllK5iDguyOZRUzAY= github.com/vektah/gqlparser/v2 v2.5.16 h1:1gcmLTvs3JLKXckwCwlUagVn/IlV2bwqle0vJ0vy5p8= github.com/vektah/gqlparser/v2 v2.5.16/go.mod h1:1lz1OeCqgQbQepsGxPVywrjdBHW2T08PUS3pJqepRww= -github.com/xanzy/go-gitlab v0.114.0 h1:0wQr/KBckwrZPfEMjRqpUz0HmsKKON9UhCYv9KDy19M= -github.com/xanzy/go-gitlab v0.114.0/go.mod h1:wKNKh3GkYDMOsGmnfuX+ITCmDuSDWFO0G+C4AygL9RY= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= +gitlab.com/gitlab-org/api/client-go v0.117.0 h1:HsbKxlTjVgfYmyCU+NRQk2G42RlMOKs6gF+/o0DL+TI= +gitlab.com/gitlab-org/api/client-go v0.117.0/go.mod h1:E+X2dndIYDuUfKVP0C3jhkWvTSE00BkLbCsXTY3edDo= go.opentelemetry.io/collector v0.116.0 h1:Dscd6Nsnc7hjFQosO0SofcPQsXRfcj5N5PjQAslnmj4= go.opentelemetry.io/collector v0.116.0/go.mod h1:Ug2hpW0SINPmJAGVEALRlux78NTZc3YXSuh5/Q/hFrA= go.opentelemetry.io/collector/client v1.22.0 h1:AAUzHuqYQqxoNqacw1WXgGF/MxtBTwNZuhBvJIorgA0= @@ -348,8 +348,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1: google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0= google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw= -google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io= -google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= +google.golang.org/protobuf v1.36.0 h1:mjIs9gYtt56AzC4ZaffQuh88TZurBGhIJMBZGSxNerQ= +google.golang.org/protobuf v1.36.0/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= diff --git a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper.go b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper.go index f0e53f6a..d150669d 100644 --- a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper.go +++ b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper.go @@ -11,7 +11,7 @@ import ( "time" "github.com/Khan/genqlient/graphql" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/pmetric" diff --git a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper_test.go b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper_test.go index e52ad3c2..778156b5 100644 --- a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper_test.go +++ b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/gitlab_scraper_test.go @@ -17,7 +17,7 @@ import ( "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest/pmetrictest" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.opentelemetry.io/collector/component/componenttest" "go.opentelemetry.io/collector/receiver" "go.opentelemetry.io/collector/receiver/receivertest" diff --git a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers.go b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers.go index 187e46a1..3ec652ed 100644 --- a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers.go +++ b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers.go @@ -7,7 +7,7 @@ import ( "strconv" "time" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.uber.org/zap" "github.com/Khan/genqlient/graphql" diff --git a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers_test.go b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers_test.go index 0a2a1b54..54899dd3 100644 --- a/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers_test.go +++ b/receiver/gitlabreceiver/internal/scraper/gitlabscraper/helpers_test.go @@ -11,7 +11,7 @@ import ( "time" "github.com/stretchr/testify/assert" - "github.com/xanzy/go-gitlab" + "gitlab.com/gitlab-org/api/client-go" "go.opentelemetry.io/collector/receiver/receivertest" "github.com/Khan/genqlient/graphql"