Skip to content

Commit

Permalink
Upgrade apm-agent-go to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
pebrc committed May 12, 2022
1 parent 15e7e87 commit 12aa428
Show file tree
Hide file tree
Showing 55 changed files with 116 additions and 146 deletions.
85 changes: 24 additions & 61 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2567,12 +2567,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


--------------------------------------------------------------------------------
Module : go.elastic.co/apm
Version : v1.15.0
Time : 2021-12-08T03:18:47Z
Module : go.elastic.co/apm/module/apmelasticsearch/v2
Version : v2.0.0
Time : 2022-03-17T05:06:42Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/go.elastic.co/apm@v1.15.0/LICENSE:
Contents of probable licence file $GOMODCACHE/go.elastic.co/apm/module/apmelasticsearch/v2@v2.0.0/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -2778,12 +2778,12 @@ Contents of probable licence file $GOMODCACHE/go.elastic.co/apm@v1.15.0/LICENSE:


--------------------------------------------------------------------------------
Module : go.elastic.co/apm/module/apmelasticsearch
Version : v1.15.0
Time : 2021-12-08T03:18:47Z
Module : go.elastic.co/apm/module/apmhttp/v2
Version : v2.0.0
Time : 2022-03-17T05:06:42Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/go.elastic.co/apm/module/apmelasticsearch@v1.15.0/LICENSE:
Contents of probable licence file $GOMODCACHE/go.elastic.co/apm/module/apmhttp/v2@v2.0.0/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -2989,12 +2989,12 @@ Contents of probable licence file $GOMODCACHE/go.elastic.co/apm/module/apmelasti


--------------------------------------------------------------------------------
Module : go.elastic.co/apm/module/apmhttp
Version : v1.15.0
Time : 2021-12-08T03:18:47Z
Module : go.elastic.co/apm/v2
Version : v2.0.0
Time : 2022-03-17T05:06:42Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/go.elastic.co/apm/module/apmhttp@v1.15.0/LICENSE:
Contents of probable licence file $GOMODCACHE/go.elastic.co/apm/v2@v2.0.0/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -6620,11 +6620,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

--------------------------------------------------------------------------------
Module : github.com/elastic/go-licenser
Version : v0.3.1
Time : 2019-10-14T11:24:07Z
Version : v0.4.0
Time : 2021-11-03T09:41:34Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/github.com/elastic/go-licenser@v0.3.1/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/elastic/go-licenser@v0.4.0/LICENSE:


Apache License
Expand Down Expand Up @@ -6832,11 +6832,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/go-licenser@v0.

--------------------------------------------------------------------------------
Module : github.com/elastic/go-sysinfo
Version : v1.1.1
Time : 2019-10-29T16:55:22Z
Version : v1.7.1
Time : 2021-10-11T20:19:28Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/github.com/elastic/go-sysinfo@v1.1.1/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/github.com/elastic/go-sysinfo@v1.7.1/LICENSE.txt:


Apache License
Expand Down Expand Up @@ -7044,11 +7044,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/go-sysinfo@v1.1

--------------------------------------------------------------------------------
Module : github.com/elastic/go-windows
Version : v1.0.0
Time : 2019-04-26T12:19:22Z
Version : v1.0.1
Time : 2019-08-28T22:26:57Z
Licence : Apache-2.0

Contents of probable licence file $GOMODCACHE/github.com/elastic/go-windows@v1.0.0/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/github.com/elastic/go-windows@v1.0.1/LICENSE.txt:


Apache License
Expand Down Expand Up @@ -18821,43 +18821,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


--------------------------------------------------------------------------------
Module : golang.org/x/lint
Version : v0.0.0-20210508222113-6edffad5e616
Time : 2021-05-08T22:21:13Z
Licence : BSD-3-Clause

Contents of probable licence file $GOMODCACHE/golang.org/x/lint@v0.0.0-20210508222113-6edffad5e616/LICENSE:

Copyright (c) 2013 The Go Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


--------------------------------------------------------------------------------
Module : golang.org/x/mod
Version : v0.6.0-dev.0.20220106191415-9b9b3d81d5e3
Expand Down Expand Up @@ -20658,11 +20621,11 @@ limitations under the License.

--------------------------------------------------------------------------------
Module : howett.net/plist
Version : v0.0.0-20181124034731-591f970eefbb
Time : 2018-11-24T03:47:31Z
Version : v1.0.0
Time : 2021-11-27T22:07:39Z
Licence : BSD-2-Clause

Contents of probable licence file $GOMODCACHE/howett.net/plist@v0.0.0-20181124034731-591f970eefbb/LICENSE:
Contents of probable licence file $GOMODCACHE/howett.net/plist@v1.0.0/LICENSE:

Copyright (c) 2013, Dustin L. Howett. All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/go-logr/logr"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"go.elastic.co/apm"
"go.elastic.co/apm/v2"
"go.uber.org/automaxprocs/maxprocs"
corev1 "k8s.io/api/core/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
Expand Down
15 changes: 7 additions & 8 deletions docs/reference/dependencies.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ This page lists the third-party dependencies used to build {n}.
| link:https://github.com/spf13/viper[$$github.com/spf13/viper$$] | v1.11.0 | MIT
| link:https://github.com/stretchr/testify[$$github.com/stretchr/testify$$] | v1.7.1 | MIT
| link:https://github.com/tsenart/vegeta[$$github.com/tsenart/vegeta$$] | v12.7.0+incompatible | MIT
| link:https://go.elastic.co/apm[$$go.elastic.co/apm$$] | v1.15.0 | Apache-2.0
| link:https://go.elastic.co/apm/module/apmelasticsearch[$$go.elastic.co/apm/module/apmelasticsearch$$] | v1.15.0 | Apache-2.0
| link:https://go.elastic.co/apm/module/apmhttp[$$go.elastic.co/apm/module/apmhttp$$] | v1.15.0 | Apache-2.0
| link:https://go.elastic.co/apm/module/apmelasticsearch/v2[$$go.elastic.co/apm/module/apmelasticsearch/v2$$] | v2.0.0 | Apache-2.0
| link:https://go.elastic.co/apm/module/apmhttp/v2[$$go.elastic.co/apm/module/apmhttp/v2$$] | v2.0.0 | Apache-2.0
| link:https://go.elastic.co/apm/v2[$$go.elastic.co/apm/v2$$] | v2.0.0 | Apache-2.0
| link:https://go.uber.org/automaxprocs[$$go.uber.org/automaxprocs$$] | v1.5.1 | MIT
| link:https://go.uber.org/zap[$$go.uber.org/zap$$] | v1.21.0 | MIT
| link:https://golang.org/x/crypto[$$golang.org/x/crypto$$] | v0.0.0-20220411220226-7b82a4e95df4 | BSD-3-Clause
Expand Down Expand Up @@ -87,9 +87,9 @@ This page lists the third-party dependencies used to build {n}.
| link:https://github.com/docker/distribution[$$github.com/docker/distribution$$] | v2.8.0+incompatible | Apache-2.0
| link:https://github.com/docker/docker[$$github.com/docker/docker$$] | v20.10.12+incompatible | Apache-2.0
| link:https://github.com/docker/docker-credential-helpers[$$github.com/docker/docker-credential-helpers$$] | v0.6.4 | MIT
| link:https://github.com/elastic/go-licenser[$$github.com/elastic/go-licenser$$] | v0.3.1 | Apache-2.0
| link:https://github.com/elastic/go-sysinfo[$$github.com/elastic/go-sysinfo$$] | v1.1.1 | Apache-2.0
| link:https://github.com/elastic/go-windows[$$github.com/elastic/go-windows$$] | v1.0.0 | Apache-2.0
| link:https://github.com/elastic/go-licenser[$$github.com/elastic/go-licenser$$] | v0.4.0 | Apache-2.0
| link:https://github.com/elastic/go-sysinfo[$$github.com/elastic/go-sysinfo$$] | v1.7.1 | Apache-2.0
| link:https://github.com/elastic/go-windows[$$github.com/elastic/go-windows$$] | v1.0.1 | Apache-2.0
| link:https://github.com/elazarl/goproxy[$$github.com/elazarl/goproxy$$] | v0.0.0-20190711103511-473e67f1d7d2 | BSD-3-Clause
| link:https://github.com/evanphx/json-patch[$$github.com/evanphx/json-patch$$] | v4.12.0+incompatible | BSD-3-Clause
| link:https://github.com/fatih/color[$$github.com/fatih/color$$] | v1.13.0 | MIT
Expand Down Expand Up @@ -173,7 +173,6 @@ This page lists the third-party dependencies used to build {n}.
| link:https://go.uber.org/goleak[$$go.uber.org/goleak$$] | v1.1.12 | MIT
| link:https://go.uber.org/multierr[$$go.uber.org/multierr$$] | v1.6.0 | MIT
| link:https://golang.org/x/exp[$$golang.org/x/exp$$] | v0.0.0-20200224162631-6cc2880d07d6 | BSD-3-Clause
| link:https://golang.org/x/lint[$$golang.org/x/lint$$] | v0.0.0-20210508222113-6edffad5e616 | BSD-3-Clause
| link:https://golang.org/x/mod[$$golang.org/x/mod$$] | v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 | BSD-3-Clause
| link:https://golang.org/x/net[$$golang.org/x/net$$] | v0.0.0-20220412020605-290c469a71a5 | BSD-3-Clause
| link:https://golang.org/x/oauth2[$$golang.org/x/oauth2$$] | v0.0.0-20220411215720-9780585627b5 | BSD-3-Clause
Expand All @@ -195,7 +194,7 @@ This page lists the third-party dependencies used to build {n}.
| link:https://gopkg.in/square/go-jose.v2[$$gopkg.in/square/go-jose.v2$$] | v2.5.1 | Apache-2.0
| link:https://gopkg.in/tomb.v1[$$gopkg.in/tomb.v1$$] | v1.0.0-20141024135613-dd632973f1e7 | BSD-3-Clause
| link:https://gotest.tools/v3[$$gotest.tools/v3$$] | v3.0.3 | Apache-2.0
| link:https://gitlab.howett.net/go/plist[$$howett.net/plist$$] | v0.0.0-20181124034731-591f970eefbb | BSD-2-Clause
| link:https://gitlab.howett.net/go/plist[$$howett.net/plist$$] | v1.0.0 | BSD-2-Clause
| link:https://github.com/kubernetes/apiextensions-apiserver[$$k8s.io/apiextensions-apiserver$$] | v0.23.5 | Apache-2.0
| link:https://github.com/kubernetes/component-base[$$k8s.io/component-base$$] | v0.23.5 | Apache-2.0
| link:https://github.com/kubernetes/kube-openapi[$$k8s.io/kube-openapi$$] | v0.0.0-20211115234752-e816edb12b65 | Apache-2.0
Expand Down
15 changes: 7 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ require (
github.com/spf13/viper v1.11.0
github.com/stretchr/testify v1.7.1
github.com/tsenart/vegeta v12.7.0+incompatible
go.elastic.co/apm v1.15.0
go.elastic.co/apm/module/apmelasticsearch v1.15.0
go.elastic.co/apm/module/apmhttp v1.15.0
go.elastic.co/apm/module/apmelasticsearch/v2 v2.0.0
go.elastic.co/apm/module/apmhttp/v2 v2.0.0
go.elastic.co/apm/v2 v2.0.0
go.uber.org/automaxprocs v1.5.1
go.uber.org/zap v1.21.0
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
Expand Down Expand Up @@ -62,9 +62,9 @@ require (
github.com/docker/distribution v2.8.0+incompatible // indirect
github.com/docker/docker v20.10.12+incompatible // indirect
github.com/docker/docker-credential-helpers v0.6.4 // indirect
github.com/elastic/go-licenser v0.3.1 // indirect
github.com/elastic/go-sysinfo v1.1.1 // indirect
github.com/elastic/go-windows v1.0.0 // indirect
github.com/elastic/go-licenser v0.4.0 // indirect
github.com/elastic/go-sysinfo v1.7.1 // indirect
github.com/elastic/go-windows v1.0.1 // indirect
github.com/elazarl/goproxy v0.0.0-20190711103511-473e67f1d7d2 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/fatih/color v1.13.0 // indirect
Expand Down Expand Up @@ -134,7 +134,6 @@ require (
go.elastic.co/fastjson v1.1.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3 // indirect
golang.org/x/net v0.0.0-20220412020605-290c469a71a5 // indirect
golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect
Expand All @@ -152,7 +151,7 @@ require (
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
howett.net/plist v0.0.0-20181124034731-591f970eefbb // indirect
howett.net/plist v1.0.0 // indirect
k8s.io/apiextensions-apiserver v0.23.5 // indirect
k8s.io/component-base v0.23.5 // indirect
k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65 // indirect
Expand Down
Loading

0 comments on commit 12aa428

Please sign in to comment.