This folder contains test files used as fixtures for the tests in .gitlab/integration_test/otel.yml
. This integration test calls the following invoke tasks: check-otel-build
, check-otel-module-versions
.
This test attempts to build the files in test/otel
with the same build args used in the make command of opentelemetry-collector-contrib. If an incompatibility is found, such as a dependency that requires CGO, this test will fail.
dependencies.go
is a skeleton Go file that imports all direct imports that are used in the upstream datadogexporter and datadogconnector.
This test reads the modules in modules.py
with the used_by_otel
flag and verifies that all of their go.mod
versions match the same version that opentelemetry-collector-contrib uses. If these versions are out of sync, the modules can no longer be imported in upstream and this test will fail.