otel

package module
v0.76.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

README

OTel Integration Test Files

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.

check-otel-build

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.

check-otel-module-versions

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.

Documentation

Overview

Package otel contains files for otel integration tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL