-
Notifications
You must be signed in to change notification settings - Fork 328
Add Beyla integration test #3404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,15 @@ permissions: | |
|
||
jobs: | ||
run_tests: | ||
runs-on: ubuntu-latest | ||
runs-on: github-hosted-ubuntu-x64-large | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
persist-credentials: false | ||
- name: Setup Go | ||
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
- name: Set OTEL Exporter Endpoint | ||
run: echo "OTEL_EXPORTER_ENDPOINT=172.17.0.1:4318" >> $GITHUB_ENV | ||
go-version: "1.22" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why was this changed? |
||
- name: Run tests | ||
run: make integration-test |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,7 @@ linters: | |
- examples$ | ||
- component/otelcol/extension/jaeger_remote_sampling/internal # Copied with attribution from OTel Collector | ||
- component/otelcol/receiver/prometheus/internal # Copied with attribution from OTel Collector | ||
- internal/cmd/integration-tests # Exclude all integration tests | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need to exclude them from the lint? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it was complaining about not checking the defers in the code of tests, so i'd say so |
||
issues: | ||
max-issues-per-linter: 0 | ||
max-same-issues: 0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -307,6 +307,8 @@ require ( | |
filippo.io/edwards25519 v1.1.0 // indirect | ||
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect | ||
github.com/99designs/keyring v1.2.2 // indirect | ||
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect | ||
github.com/AlecAivazis/survey/v2 v2.3.7 // indirect | ||
github.com/AlekSi/pointer v1.2.0 // indirect | ||
github.com/AlessandroPomponio/go-gibberish v0.0.0-20191004143433-a2d4156f0396 // indirect | ||
github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect | ||
|
@@ -435,13 +437,14 @@ require ( | |
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/trace v1.27.0 // indirect | ||
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.51.0 // indirect | ||
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect | ||
github.com/Masterminds/semver/v3 v3.2.0 // indirect | ||
github.com/Masterminds/semver/v3 v3.2.1 // indirect | ||
github.com/Microsoft/go-winio v0.6.2 // indirect | ||
github.com/Microsoft/hcsshim v0.12.9 // indirect | ||
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect | ||
github.com/ProtonMail/go-crypto v1.1.3 // indirect | ||
github.com/Showmax/go-fqdn v1.0.0 // indirect | ||
github.com/Workiva/go-datastructures v1.1.5 // indirect | ||
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect | ||
github.com/alecthomas/assert/v2 v2.11.0 // indirect | ||
github.com/alecthomas/participle/v2 v2.1.1 // indirect | ||
github.com/alecthomas/repr v0.4.0 // indirect | ||
|
@@ -492,6 +495,7 @@ require ( | |
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/bmatcuk/doublestar/v4 v4.8.1 // indirect | ||
github.com/briandowns/spinner v1.23.0 // indirect | ||
github.com/buger/goterm v1.0.4 // indirect | ||
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500 // indirect | ||
github.com/caarlos0/env/v9 v9.0.0 // indirect | ||
github.com/cenkalti/backoff v2.2.1+incompatible // indirect | ||
|
@@ -506,9 +510,12 @@ require ( | |
github.com/cloudflare/circl v1.3.7 // indirect | ||
github.com/cloudflare/golz4 v0.0.0-20150217214814-ef862a3cdc58 // indirect | ||
github.com/cncf/xds/go v0.0.0-20241223141626-cff3c89139a3 // indirect | ||
github.com/compose-spec/compose-go/v2 v2.1.3 // indirect | ||
github.com/containerd/cgroups/v3 v3.0.5 // indirect | ||
github.com/containerd/console v1.0.4 // indirect | ||
github.com/containerd/continuity v0.4.2 // indirect | ||
github.com/containerd/containerd v1.7.23 // indirect | ||
github.com/containerd/containerd/api v1.7.19 // indirect | ||
github.com/containerd/continuity v0.4.3 // indirect | ||
github.com/containerd/errdefs v0.3.0 // indirect | ||
github.com/containerd/errdefs/pkg v0.3.0 // indirect | ||
github.com/containerd/log v0.1.0 // indirect | ||
|
@@ -519,7 +526,7 @@ require ( | |
github.com/coreos/go-semver v0.3.1 // indirect | ||
github.com/cpuguy83/dockercfg v0.3.2 // indirect | ||
github.com/cyphar/filepath-securejoin v0.3.4 // indirect | ||
github.com/danieljoos/wincred v1.2.0 // indirect | ||
github.com/danieljoos/wincred v1.2.1 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/deneonet/benc v1.1.7 // indirect | ||
github.com/dennwc/btrfs v0.0.0-20230312211831-a1f570bd01a1 // indirect | ||
|
@@ -530,7 +537,14 @@ require ( | |
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect | ||
github.com/digitalocean/godo v1.126.0 // indirect | ||
github.com/distribution/reference v0.6.0 // indirect | ||
github.com/docker/buildx v0.15.1 // indirect | ||
github.com/docker/cli v27.4.0+incompatible // indirect | ||
github.com/docker/cli-docs-tool v0.7.0 // indirect | ||
github.com/docker/compose/v2 v2.28.1 // indirect | ||
github.com/docker/distribution v2.8.3+incompatible // indirect | ||
github.com/docker/docker-credential-helpers v0.8.2 // indirect | ||
github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c // indirect | ||
github.com/docker/go-metrics v0.0.1 // indirect | ||
github.com/docker/go-units v0.5.0 // indirect | ||
github.com/drone/envsubst v1.0.3 // indirect | ||
github.com/dustin/go-humanize v1.0.1 // indirect | ||
|
@@ -541,6 +555,7 @@ require ( | |
github.com/ebitengine/purego v0.8.2 // indirect | ||
github.com/edsrzf/mmap-go v1.1.0 // indirect | ||
github.com/efficientgo/core v1.0.0-rc.2 // indirect | ||
github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203 // indirect | ||
github.com/elastic/go-grok v0.3.1 // indirect | ||
github.com/elastic/go-sysinfo v1.8.1 // indirect | ||
github.com/elastic/go-windows v1.0.1 // indirect | ||
|
@@ -558,6 +573,8 @@ require ( | |
github.com/felixge/fgprof v0.9.4 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect | ||
github.com/fsnotify/fsevents v0.2.0 // indirect | ||
github.com/fvbommel/sortorder v1.0.2 // indirect | ||
github.com/fxamacker/cbor/v2 v2.7.0 // indirect | ||
github.com/gabriel-vasile/mimetype v1.4.3 // indirect | ||
github.com/gavv/monotime v0.0.0-20190418164738-30dba4353424 // indirect | ||
|
@@ -647,6 +664,7 @@ require ( | |
github.com/ianlancetaylor/demangle v0.0.0-20240912202439-0a2b6291aafd // indirect | ||
github.com/illumos/go-kstat v0.0.0-20210513183136-173c9b0a9973 // indirect | ||
github.com/imdario/mergo v0.3.16 // indirect | ||
github.com/in-toto/in-toto-golang v0.9.0 // indirect; Update from v0.5.0 to v0.9.0 | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/infinityworks/go-common v0.0.0-20170820165359-7f20a140fd37 // indirect | ||
github.com/influxdata/influxdb-observability/common v0.5.12 // indirect | ||
|
@@ -680,6 +698,7 @@ require ( | |
github.com/jsimonetti/rtnetlink v1.3.5 // indirect | ||
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect | ||
github.com/karrick/godirwalk v1.17.0 // indirect | ||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect | ||
github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
github.com/klauspost/asmfmt v1.3.2 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.8 // indirect | ||
|
@@ -701,6 +720,7 @@ require ( | |
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-runewidth v0.0.16 // indirect | ||
github.com/mattn/go-shellwords v1.0.12 // indirect | ||
github.com/mattn/go-xmlrpc v0.0.3 // indirect | ||
github.com/mdlayher/ethtool v0.1.0 // indirect | ||
github.com/mdlayher/genetlink v1.3.2 // indirect | ||
|
@@ -709,7 +729,9 @@ require ( | |
github.com/mdlayher/vsock v1.2.1 // indirect | ||
github.com/mdlayher/wifi v0.1.0 // indirect | ||
github.com/metalmatze/signal v0.0.0-20210307161603-1c9aa721a97a // indirect | ||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect | ||
github.com/microsoft/go-mssqldb v1.6.0 // indirect | ||
github.com/miekg/pkcs11 v1.1.1 // indirect | ||
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect | ||
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect | ||
github.com/minio/minio-go v6.0.14+incompatible // indirect | ||
|
@@ -718,10 +740,16 @@ require ( | |
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/reflectwalk v1.0.2 // indirect | ||
github.com/mna/redisc v1.3.2 // indirect | ||
github.com/moby/buildkit v0.14.1 // indirect | ||
github.com/moby/docker-image-spec v1.3.1 // indirect | ||
github.com/moby/locker v1.0.1 // indirect | ||
github.com/moby/patternmatcher v0.6.0 // indirect | ||
github.com/moby/spdystream v0.5.0 // indirect | ||
github.com/moby/sys/capability v0.3.0 // indirect | ||
github.com/moby/sys/mountinfo v0.7.2 // indirect | ||
github.com/moby/sys/sequential v0.5.0 // indirect | ||
github.com/moby/sys/signal v0.7.0 // indirect | ||
github.com/moby/sys/symlink v0.2.0 // indirect | ||
github.com/moby/sys/user v0.3.0 // indirect | ||
github.com/moby/sys/userns v0.1.0 // indirect | ||
github.com/moby/term v0.5.0 // indirect | ||
|
@@ -735,6 +763,7 @@ require ( | |
github.com/mrunalp/fileutils v0.5.1 // indirect | ||
github.com/mtibben/percent v0.2.1 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect | ||
github.com/ncabatoff/go-seq v0.0.0-20180805175032-b08ef85ed833 // indirect | ||
github.com/nicolai86/scaleway-sdk v1.10.2-0.20180628010248-798f60e20bb2 // indirect | ||
github.com/oapi-codegen/runtime v1.0.0 // indirect | ||
|
@@ -797,6 +826,7 @@ require ( | |
github.com/prometheus/alertmanager v0.27.0 // indirect | ||
github.com/prometheus/exporter-toolkit v0.14.0 // indirect | ||
github.com/puzpuzpuz/xsync/v3 v3.5.1 // indirect | ||
github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc // indirect | ||
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect | ||
github.com/relvacode/iso8601 v1.6.0 // indirect | ||
github.com/remeh/sizedwaitgroup v1.0.0 // indirect | ||
|
@@ -810,12 +840,15 @@ require ( | |
github.com/secure-systems-lab/go-securesystemslib v0.9.0 // indirect | ||
github.com/sercand/kuberesolver/v5 v5.1.1 // indirect | ||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect | ||
github.com/serialx/hashring v0.0.0-20200727003509-22c0c7ab6b1b // indirect | ||
github.com/shibumi/go-pathspec v1.3.0 // indirect | ||
github.com/shirou/gopsutil/v4 v4.25.2 // indirect | ||
github.com/shoenig/go-m1cpu v0.1.6 // indirect | ||
github.com/shopspring/decimal v1.2.0 // indirect | ||
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c // indirect | ||
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect | ||
github.com/skeema/knownhosts v1.3.0 // indirect | ||
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 // indirect | ||
github.com/snowflakedb/gosnowflake v1.7.2-0.20240103203018-f1d625f17408 // indirect | ||
github.com/softlayer/softlayer-go v0.0.0-20180806151055-260589d94c7d // indirect | ||
github.com/soheilhy/cmux v0.1.5 // indirect | ||
|
@@ -829,15 +862,20 @@ require ( | |
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.480 // indirect | ||
github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/cvm v1.0.480 // indirect | ||
github.com/tg123/go-htpasswd v1.2.3 // indirect | ||
github.com/theupdateframework/notary v0.7.0 // indirect | ||
github.com/tidwall/gjson v1.18.0 // indirect | ||
github.com/tidwall/match v1.1.1 // indirect | ||
github.com/tidwall/pretty v1.2.1 // indirect | ||
github.com/tidwall/tinylru v1.2.1 // indirect | ||
github.com/tidwall/wal v1.1.8 // indirect | ||
github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 // indirect | ||
github.com/tinylib/msgp v1.2.5 // indirect | ||
github.com/tklauser/go-sysconf v0.3.14 // indirect | ||
github.com/tklauser/numcpus v0.9.0 // indirect | ||
github.com/tomnomnom/linkheader v0.0.0-20180905144013-02ca5825eb80 // indirect | ||
github.com/tonistiigi/fsutil v0.0.0-20240424095704-91a3fc46842c // indirect | ||
github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea // indirect | ||
github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab // indirect | ||
github.com/twmb/murmur3 v1.1.8 // indirect | ||
github.com/ua-parser/uap-go v0.0.0-20240611065828-3a4781585db6 // indirect | ||
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect | ||
|
@@ -900,6 +938,7 @@ require ( | |
go.opentelemetry.io/contrib/detectors/azure/azurevm v0.0.1 // indirect | ||
go.opentelemetry.io/contrib/detectors/gcp v1.34.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.56.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect | ||
go.opentelemetry.io/contrib/otelconf v0.15.0 // indirect | ||
go.opentelemetry.io/contrib/propagators/b3 v1.35.0 // indirect | ||
|
@@ -914,6 +953,7 @@ require ( | |
go.opentelemetry.io/otel/sdk/log v0.11.0 // indirect | ||
go.uber.org/dig v1.18.0 // indirect | ||
go.uber.org/fx v1.23.0 // indirect | ||
go.uber.org/mock v0.4.0 // indirect | ||
go4.org/netipx v0.0.0-20230125063823-8449b0a6169f // indirect | ||
golang.design/x/chann v0.1.2 // indirect | ||
golang.org/x/arch v0.7.0 // indirect | ||
|
@@ -926,6 +966,7 @@ require ( | |
google.golang.org/genproto/googleapis/api v0.0.0-20250303144028-a0af3efb3deb // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20250303144028-a0af3efb3deb // indirect | ||
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect | ||
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect | ||
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect | ||
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
|
@@ -939,8 +980,11 @@ require ( | |
k8s.io/kube-openapi v0.0.0-20241105132330-32ad38e42d3f // indirect | ||
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect | ||
tags.cncf.io/container-device-interface v0.8.0 // indirect | ||
) | ||
|
||
require github.com/testcontainers/testcontainers-go/modules/compose v0.33.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: from a comment in the initial version, it would be better to have this dependency part of the main block instead of being isolated |
||
|
||
require ( | ||
github.com/grafana/beyla/v2 v2.1.0-alloy-1 | ||
github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage v0.122.0 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed? We should keep actions pinned to sha for security reasons.