Skip to content

Commit 54932dc

Browse files
authored
add metricbeat receiver (#6182)
* Add metricbeat receiver
1 parent a7a1b74 commit 54932dc

File tree

6 files changed

+3409
-2343
lines changed

6 files changed

+3409
-2343
lines changed

NOTICE.txt

Lines changed: 3172 additions & 2279 deletions
Large diffs are not rendered by default.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Kind can be one of:
2+
# - breaking-change: a change to previously-documented behavior
3+
# - deprecation: functionality that is being removed in a later release
4+
# - bug-fix: fixes a problem in a previous version
5+
# - enhancement: extends functionality but does not break or fix existing behavior
6+
# - feature: new functionality
7+
# - known-issue: problems that we are aware of in a given version
8+
# - security: impacts on the security of a product or a user’s deployment.
9+
# - upgrade: important information for someone upgrading from a prior version
10+
# - other: does not fit into any of the other categories
11+
kind: feature
12+
13+
# Change summary; a 80ish characters long description of the change.
14+
summary: add metricbeat otel receiver
15+
16+
# Long description; in case the summary is not enough to describe the change
17+
# this field accommodate a description without length limits.
18+
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
19+
#description:
20+
21+
# Affected component; a word indicating the component this changeset affects.
22+
component: elastic-agent
23+
24+
# PR URL; optional; the PR number that added the changeset.
25+
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
26+
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
27+
# Please provide it if you are adding a fragment for a different PR.
28+
pr: https://github.com/elastic/elastic-agent/pull/6182
29+
30+
# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
31+
# If not present is automatically filled by the tooling with the issue linked to the PR number.
32+
issue: https://github.com/elastic/elastic-agent/issues/6138

go.mod

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ require (
1212
github.com/docker/docker v27.3.1+incompatible
1313
github.com/docker/go-units v0.5.0
1414
github.com/dolmen-go/contextio v0.0.0-20200217195037-68fc5150bcd5
15-
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20241111113032-56dca4bbda40
15+
github.com/elastic/beats/v7 v7.0.0-alpha2.0.20241202144630-0eb63c16f21a
1616
github.com/elastic/elastic-agent-autodiscover v0.9.0
1717
github.com/elastic/elastic-agent-client/v7 v7.17.0
18-
github.com/elastic/elastic-agent-libs v0.17.2
18+
github.com/elastic/elastic-agent-libs v0.17.3
1919
github.com/elastic/elastic-agent-system-metrics v0.11.4
2020
github.com/elastic/elastic-transport-go/v8 v8.6.0
2121
github.com/elastic/go-elasticsearch/v8 v8.16.0
@@ -184,16 +184,16 @@ require (
184184
github.com/Microsoft/hcsshim v0.12.5 // indirect
185185
github.com/PaesslerAG/gval v1.2.2 // indirect
186186
github.com/PaesslerAG/jsonpath v0.1.1 // indirect
187-
github.com/Shopify/sarama v1.37.2 // indirect
188187
github.com/Showmax/go-fqdn v1.0.0 // indirect
189188
github.com/StackExchange/wmi v1.2.1 // indirect
189+
github.com/aerospike/aerospike-client-go/v7 v7.7.1 // indirect
190190
github.com/akavel/rsrc v0.10.2 // indirect
191191
github.com/alecthomas/participle/v2 v2.1.1 // indirect
192192
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect
193-
github.com/andybalholm/brotli v1.0.5 // indirect
193+
github.com/andybalholm/brotli v1.1.0 // indirect
194194
github.com/antchfx/xmlquery v1.4.2 // indirect
195195
github.com/antchfx/xpath v1.3.2 // indirect
196-
github.com/apache/arrow/go/v14 v14.0.2 // indirect
196+
github.com/apache/arrow/go/v17 v17.0.0 // indirect
197197
github.com/apache/thrift v0.21.0 // indirect
198198
github.com/armon/go-metrics v0.4.1 // indirect
199199
github.com/armon/go-radix v1.0.0 // indirect
@@ -237,13 +237,15 @@ require (
237237
github.com/containerd/containerd v1.7.18 // indirect
238238
github.com/containerd/errdefs v0.1.0 // indirect
239239
github.com/containerd/log v0.1.0 // indirect
240+
github.com/coreos/go-systemd/v22 v22.5.0 // indirect
240241
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
241242
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
242243
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
243244
github.com/dennwc/varint v1.0.0 // indirect
244245
github.com/devigned/tab v0.1.2-0.20190607222403-0c15cf42f9a2 // indirect
245-
github.com/dgraph-io/badger/v4 v4.3.0 // indirect
246-
github.com/dgraph-io/ristretto v0.1.2-0.20240116140435-c67e07994f91 // indirect
246+
github.com/dgraph-io/badger/v4 v4.4.0 // indirect
247+
github.com/dgraph-io/ristretto/v2 v2.0.0 // indirect
248+
github.com/digitalocean/go-libvirt v0.0.0-20240709142323-d8406205c752 // indirect
247249
github.com/digitalocean/godo v1.122.0 // indirect
248250
github.com/dlclark/regexp2 v1.4.0 // indirect
249251
github.com/dnephin/pflag v1.0.7 // indirect
@@ -275,13 +277,16 @@ require (
275277
github.com/elastic/mito v1.16.0 // indirect
276278
github.com/elastic/opentelemetry-lib v0.13.0 // indirect
277279
github.com/elastic/pkcs8 v1.0.0 // indirect
280+
github.com/elastic/sarama v1.19.1-0.20241120141909-c7eabfcee7e5 // indirect
278281
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
279282
github.com/envoyproxy/go-control-plane v0.13.0 // indirect
280283
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
281284
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
282285
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
283286
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
284287
github.com/expr-lang/expr v1.16.9 // indirect
288+
github.com/fearful-symmetry/gomsr v0.0.1 // indirect
289+
github.com/fearful-symmetry/gorapl v0.0.4 // indirect
285290
github.com/felixge/httpsnoop v1.0.4 // indirect
286291
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
287292
github.com/getsentry/sentry-go v0.27.0 // indirect
@@ -300,9 +305,12 @@ require (
300305
github.com/go-openapi/swag v0.22.9 // indirect
301306
github.com/go-resty/resty/v2 v2.13.1 // indirect
302307
github.com/go-sourcemap/sourcemap v2.1.2+incompatible // indirect
308+
github.com/go-sql-driver/mysql v1.6.0 // indirect
303309
github.com/go-zookeeper/zk v1.0.3 // indirect
304310
github.com/gobwas/glob v0.2.3 // indirect
311+
github.com/gocarina/gocsv v0.0.0-20170324095351-ffef3ffc77be // indirect
305312
github.com/goccy/go-json v0.10.3 // indirect
313+
github.com/godbus/dbus/v5 v5.1.0 // indirect
306314
github.com/gogo/googleapis v1.4.1 // indirect
307315
github.com/gogo/protobuf v1.3.2 // indirect
308316
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
@@ -313,7 +321,7 @@ require (
313321
github.com/gomodule/redigo v1.8.3 // indirect
314322
github.com/google/btree v1.1.2 // indirect
315323
github.com/google/cel-go v0.20.1 // indirect
316-
github.com/google/flatbuffers v23.5.26+incompatible // indirect
324+
github.com/google/flatbuffers v24.3.25+incompatible // indirect
317325
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
318326
github.com/google/go-querystring v1.1.0 // indirect
319327
github.com/google/gofuzz v1.2.0 // indirect
@@ -357,6 +365,7 @@ require (
357365
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
358366
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
359367
github.com/jcmturner/gofork v1.7.6 // indirect
368+
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect
360369
github.com/jcmturner/gokrb5/v8 v8.4.4 // indirect
361370
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
362371
github.com/jmespath/go-jmespath v0.4.0 // indirect
@@ -368,7 +377,7 @@ require (
368377
github.com/karrick/godirwalk v1.17.0 // indirect
369378
github.com/klauspost/asmfmt v1.3.2 // indirect
370379
github.com/klauspost/compress v1.17.11 // indirect
371-
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
380+
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
372381
github.com/knadh/koanf/maps v0.1.1 // indirect
373382
github.com/knadh/koanf/providers/confmap v0.1.0 // indirect
374383
github.com/knadh/koanf/v2 v2.1.2 // indirect
@@ -409,6 +418,7 @@ require (
409418
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
410419
github.com/modern-go/reflect2 v1.0.2 // indirect
411420
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
421+
github.com/montanaflynn/stats v0.7.0 // indirect
412422
github.com/mostynb/go-grpc-compression v1.2.3 // indirect
413423
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
414424
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
@@ -440,7 +450,6 @@ require (
440450
github.com/openzipkin/zipkin-go v0.4.3 // indirect
441451
github.com/ovh/go-ovh v1.6.0 // indirect
442452
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
443-
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
444453
github.com/pierrec/lz4/v4 v4.1.21 // indirect
445454
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
446455
github.com/pkg/errors v0.9.1 // indirect
@@ -462,9 +471,7 @@ require (
462471
github.com/russross/blackfriday/v2 v2.1.0 // indirect
463472
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30 // indirect
464473
github.com/sergi/go-diff v1.3.1 // indirect
465-
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
466474
github.com/shirou/gopsutil/v4 v4.24.10 // indirect
467-
github.com/shoenig/go-m1cpu v0.1.6 // indirect
468475
github.com/shopspring/decimal v1.3.1 // indirect
469476
github.com/sirupsen/logrus v1.9.3 // indirect
470477
github.com/spf13/cast v1.6.0 // indirect
@@ -476,6 +483,7 @@ require (
476483
github.com/ugorji/go/codec v1.2.7 // indirect
477484
github.com/urfave/cli/v2 v2.27.4 // indirect
478485
github.com/valyala/fastjson v1.6.4 // indirect
486+
github.com/vmware/govmomi v0.39.0 // indirect
479487
github.com/vultr/govultr/v2 v2.17.2 // indirect
480488
github.com/x448/float16 v0.8.4 // indirect
481489
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
@@ -486,7 +494,9 @@ require (
486494
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
487495
github.com/xlab/treeprint v1.2.0 // indirect
488496
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
497+
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
489498
github.com/yuin/goldmark v1.7.4 // indirect
499+
github.com/yuin/gopher-lua v1.1.1 // indirect
490500
github.com/yusufpapurcu/wmi v1.2.4 // indirect
491501
github.com/zeebo/xxh3 v1.0.2 // indirect
492502
github.com/zyedidia/generic v1.2.1 // indirect
@@ -495,6 +505,7 @@ require (
495505
go.elastic.co/apm/module/apmzap/v2 v2.6.2 // indirect
496506
go.elastic.co/fastjson v1.4.0 // indirect
497507
go.etcd.io/bbolt v1.3.11 // indirect
508+
go.mongodb.org/mongo-driver v1.14.0 // indirect
498509
go.opencensus.io v0.24.0 // indirect
499510
go.opentelemetry.io/collector v0.114.0 // indirect
500511
go.opentelemetry.io/collector/client v1.20.0 // indirect
@@ -575,11 +586,6 @@ require (
575586
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
576587
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
577588
gopkg.in/inf.v0 v0.9.1 // indirect
578-
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect
579-
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 // indirect
580-
gopkg.in/jcmturner/goidentity.v3 v3.0.0 // indirect
581-
gopkg.in/jcmturner/gokrb5.v7 v7.5.0 // indirect
582-
gopkg.in/jcmturner/rpc.v1 v1.1.0 // indirect
583589
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
584590
howett.net/plist v1.0.1 // indirect
585591
k8s.io/apiextensions-apiserver v0.30.3 // indirect

0 commit comments

Comments
 (0)