Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
simitt committed Jun 30, 2021
1 parent d859e0b commit 33d655d
Show file tree
Hide file tree
Showing 16 changed files with 95 additions and 90 deletions.
44 changes: 22 additions & 22 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,11 @@ SOFTWARE.

--------------------------------------------------------------------------------
Dependency : github.com/elastic/beats/v7
Version: v7.0.0-alpha2.0.20210601231209-d95f6bab8554
Version: v7.0.0-alpha2.0.20210630190704-9361be46ebf2
Licence type (autodetected): Elastic
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/elastic/beats/v7@v7.0.0-alpha2.0.20210601231209-d95f6bab8554/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/github.com/elastic/beats/v7@v7.0.0-alpha2.0.20210630190704-9361be46ebf2/LICENSE.txt:

Source code in this repository is variously licensed under the Apache License
Version 2.0, an Apache compatible license, or the Elastic License. Outside of
Expand All @@ -599,11 +599,11 @@ License Version 2.0.

--------------------------------------------------------------------------------
Dependency : github.com/elastic/ecs
Version: v1.8.0
Version: v1.10.0
Licence type (autodetected): Apache-2.0
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/elastic/ecs@v1.8.0/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/github.com/elastic/ecs@v1.10.0/LICENSE.txt:


Apache License
Expand Down Expand Up @@ -4601,11 +4601,11 @@ Contents of probable licence file LICENSE:

--------------------------------------------------------------------------------
Dependency : go.uber.org/atomic
Version: v1.7.0
Version: v1.8.0
Licence type (autodetected): MIT
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/go.uber.org/atomic@v1.7.0/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/go.uber.org/atomic@v1.8.0/LICENSE.txt:

Copyright (c) 2016 Uber Technologies, Inc.

Expand All @@ -4630,11 +4630,11 @@ THE SOFTWARE.

--------------------------------------------------------------------------------
Dependency : go.uber.org/zap
Version: v1.17.0
Version: v1.18.1
Licence type (autodetected): MIT
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/go.uber.org/zap@v1.17.0/LICENSE.txt:
Contents of probable licence file $GOMODCACHE/go.uber.org/zap@v1.18.1/LICENSE.txt:

Copyright (c) 2016-2017 Uber Technologies, Inc.

Expand All @@ -4659,11 +4659,11 @@ THE SOFTWARE.

--------------------------------------------------------------------------------
Dependency : golang.org/x/net
Version: v0.0.0-20210525063256-abc453219eb5
Version: v0.0.0-20210614182718-04defd469f4e
Licence type (autodetected): BSD-3-Clause
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/golang.org/x/net@v0.0.0-20210525063256-abc453219eb5/LICENSE:
Contents of probable licence file $GOMODCACHE/golang.org/x/net@v0.0.0-20210614182718-04defd469f4e/LICENSE:

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

Expand Down Expand Up @@ -4770,11 +4770,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Dependency : google.golang.org/grpc
Version: v1.38.0
Version: v1.39.0
Licence type (autodetected): Apache-2.0
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/google.golang.org/grpc@v1.38.0/LICENSE:
Contents of probable licence file $GOMODCACHE/google.golang.org/grpc@v1.39.0/LICENSE:


Apache License
Expand Down Expand Up @@ -8812,11 +8812,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/go-seccomp-bpf@

--------------------------------------------------------------------------------
Dependency : github.com/elastic/go-structform
Version: v0.0.8
Version: v0.0.9
Licence type (autodetected): Apache-2.0
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/github.com/elastic/go-structform@v0.0.8/LICENSE:
Contents of probable licence file $GOMODCACHE/github.com/elastic/go-structform@v0.0.9/LICENSE:

Apache License
Version 2.0, January 2004
Expand Down Expand Up @@ -17870,11 +17870,11 @@ THE SOFTWARE.

--------------------------------------------------------------------------------
Dependency : golang.org/x/crypto
Version: v0.0.0-20210513164829-c07d793c2f9a
Version: v0.0.0-20210616213533-5ff15b29337e
Licence type (autodetected): BSD-3-Clause
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/golang.org/x/crypto@v0.0.0-20210513164829-c07d793c2f9a/LICENSE:
Contents of probable licence file $GOMODCACHE/golang.org/x/crypto@v0.0.0-20210616213533-5ff15b29337e/LICENSE:

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

Expand Down Expand Up @@ -17944,11 +17944,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Dependency : golang.org/x/sys
Version: v0.0.0-20210601080250-7ecdf8ef093b
Version: v0.0.0-20210630005230-0f9fa26af87c
Licence type (autodetected): BSD-3-Clause
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/golang.org/x/sys@v0.0.0-20210601080250-7ecdf8ef093b/LICENSE:
Contents of probable licence file $GOMODCACHE/golang.org/x/sys@v0.0.0-20210630005230-0f9fa26af87c/LICENSE:

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

Expand Down Expand Up @@ -18055,11 +18055,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Dependency : google.golang.org/genproto
Version: v0.0.0-20210601170153-0befbe3492e2
Version: v0.0.0-20210630183607-d20f26d13c79
Licence type (autodetected): Apache-2.0
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/google.golang.org/genproto@v0.0.0-20210601170153-0befbe3492e2/LICENSE:
Contents of probable licence file $GOMODCACHE/google.golang.org/genproto@v0.0.0-20210630183607-d20f26d13c79/LICENSE:


Apache License
Expand Down Expand Up @@ -18267,11 +18267,11 @@ Contents of probable licence file $GOMODCACHE/google.golang.org/genproto@v0.0.0-

--------------------------------------------------------------------------------
Dependency : google.golang.org/protobuf
Version: v1.26.0
Version: v1.27.1
Licence type (autodetected): BSD-3-Clause
--------------------------------------------------------------------------------

Contents of probable licence file $GOMODCACHE/google.golang.org/protobuf@v1.26.0/LICENSE:
Contents of probable licence file $GOMODCACHE/google.golang.org/protobuf@v1.27.1/LICENSE:

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

Expand Down
6 changes: 6 additions & 0 deletions apmpackage/apm/data_stream/app_metrics/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
type: keyword
description: Cloud region name
ignore_above: 1024
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: container.id
type: keyword
description: |
Expand Down
6 changes: 0 additions & 6 deletions apmpackage/apm/data_stream/app_metrics/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: experimental
type: object
description: Additional experimental data sent by the agents.
Expand Down
6 changes: 6 additions & 0 deletions apmpackage/apm/data_stream/error_logs/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
type: keyword
description: Cloud region name
ignore_above: 1024
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: container.id
type: keyword
description: |
Expand Down
6 changes: 0 additions & 6 deletions apmpackage/apm/data_stream/error_logs/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: error.culprit
type: keyword
description: Function call which was the primary perpetrator of this event.
Expand Down
6 changes: 6 additions & 0 deletions apmpackage/apm/data_stream/internal_metrics/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
type: keyword
description: Cloud region name
ignore_above: 1024
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: container.id
type: keyword
description: |
Expand Down
6 changes: 0 additions & 6 deletions apmpackage/apm/data_stream/internal_metrics/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: experimental
type: object
description: Additional experimental data sent by the agents.
Expand Down
6 changes: 6 additions & 0 deletions apmpackage/apm/data_stream/profile_metrics/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
type: keyword
description: Cloud region name
ignore_above: 1024
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: container.id
type: keyword
description: |
Expand Down
6 changes: 0 additions & 6 deletions apmpackage/apm/data_stream/profile_metrics/fields/fields.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: experimental
type: object
description: Additional experimental data sent by the agents.
Expand Down
6 changes: 6 additions & 0 deletions apmpackage/apm/data_stream/traces/fields/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@
type: keyword
description: Cloud region name
ignore_above: 1024
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: container.id
type: keyword
description: |
Expand Down
6 changes: 0 additions & 6 deletions apmpackage/apm/data_stream/traces/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
type: keyword
description: |
The ID(s) of the child event(s).
- name: cloud.service.name
level: extended
type: keyword
description: |
Cloud service name, intended to distinguish services running on different platforms within a provider.
ignore_above: 1024
- name: experimental
type: object
description: Additional experimental data sent by the agents.
Expand Down
6 changes: 3 additions & 3 deletions apmpackage/apm/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Traces are written to `traces-apm.*` indices.
|cloud.project.name|Cloud project name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.provider|Cloud provider name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.region|Cloud region name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.service.name|Cloud service name, intended to distinguish services running on different platforms within a provider.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-no.png) |
|cloud.service.name|Cloud service name, intended to distinguish services running on different platforms within a provider.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|container.id|Unique container id.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|destination.address|Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the \`.address\` field. Then it should be duplicated to \`.ip\` or \`.domain\`, depending on which one it is.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|destination.ip|IP addess of the destination. Can be one of multiple IPv4 or IPv6 addresses.|ip| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
Expand Down Expand Up @@ -447,7 +447,7 @@ Metrics are written to `metrics-apm.app.*`, `metrics-apm.internal.*`, and `metri
|cloud.project.name|Cloud project name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.provider|Cloud provider name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.region|Cloud region name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.service.name|Cloud service name, intended to distinguish services running on different platforms within a provider.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-no.png) |
|cloud.service.name|Cloud service name, intended to distinguish services running on different platforms within a provider.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|container.id|Unique container id.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|destination.address|Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the \`.address\` field. Then it should be duplicated to \`.ip\` or \`.domain\`, depending on which one it is.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|destination.ip|IP addess of the destination. Can be one of multiple IPv4 or IPv6 addresses.|ip| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
Expand Down Expand Up @@ -620,7 +620,7 @@ Logs are written to `logs-apm.error.*` indices.
|cloud.project.name|Cloud project name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.provider|Cloud provider name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.region|Cloud region name|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|cloud.service.name|Cloud service name, intended to distinguish services running on different platforms within a provider.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-no.png) |
|cloud.service.name|Cloud service name, intended to distinguish services running on different platforms within a provider.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|container.id|Unique container id.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|destination.address|Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the \`.address\` field. Then it should be duplicated to \`.ip\` or \`.domain\`, depending on which one it is.|keyword| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
|destination.ip|IP addess of the destination. Can be one of multiple IPv4 or IPv6 addresses.|ip| ![](https://doc-icons.s3.us-east-2.amazonaws.com/icon-yes.png) |
Expand Down
5 changes: 1 addition & 4 deletions elasticsearch/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,7 @@ func httpTransport(cfg *Config) (*http.Transport, error) {
}
}
dialer := transport.NetDialer(cfg.Timeout)
tlsDialer, err := transport.TLSDialer(dialer, tlsConfig, cfg.Timeout)
if err != nil {
return nil, err
}
tlsDialer := transport.TLSDialer(dialer, tlsConfig, cfg.Timeout)
return &http.Transport{
Proxy: proxy,
Dial: dialer.Dial,
Expand Down
21 changes: 10 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ require (
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/dgraph-io/badger/v2 v2.2007.3-0.20201012072640-f5a7e0a1c83b
github.com/dlclark/regexp2 v1.4.0 // indirect
github.com/dop251/goja v0.0.0-20210427212725-462d53687b0d // indirect
github.com/dop251/goja v0.0.0-20210630164231-8f81471d5d0b // indirect
github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7 // indirect
github.com/dustin/go-humanize v1.0.0
github.com/elastic/apm-server/approvaltest v0.0.0-00010101000000-000000000000
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20210601231209-d95f6bab8554
github.com/elastic/ecs v1.8.0
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20210630190704-9361be46ebf2
github.com/elastic/ecs v1.10.0
github.com/elastic/elastic-agent-client/v7 v7.0.0-20210407144825-cc1c33cfa1d0 // indirect
github.com/elastic/elastic-package v0.0.0-20210310173719-3b8f76516ae3
github.com/elastic/gmux v0.1.0
Expand Down Expand Up @@ -62,17 +62,16 @@ require (
go.elastic.co/fastjson v1.1.0
go.elastic.co/go-licence-detector v0.5.0
go.opentelemetry.io/collector v0.28.0
go.uber.org/atomic v1.7.0
go.uber.org/atomic v1.8.0
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.17.0
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a // indirect
golang.org/x/net v0.0.0-20210525063256-abc453219eb5
go.uber.org/zap v1.18.1
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20210601080250-7ecdf8ef093b // indirect
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
golang.org/x/tools v0.1.2
google.golang.org/genproto v0.0.0-20210601170153-0befbe3492e2 // indirect
google.golang.org/grpc v1.38.0
golang.org/x/tools v0.1.4
google.golang.org/genproto v0.0.0-20210630183607-d20f26d13c79 // indirect
google.golang.org/grpc v1.39.0
gopkg.in/yaml.v2 v2.4.0
gotest.tools/gotestsum v0.6.0
honnef.co/go/tools v0.2.0
Expand Down
Loading

0 comments on commit 33d655d

Please sign in to comment.