This repository provides eBPF instrumentation based on the OpenTelemetry standard. It provides a lightweight and efficient way to collect telemetry data using eBPF for user-space applications.
OpenTelemetry e-BPF Instrumentation is commonly referred to as OBI.
🚧 This project is currently work in progress.
Requirements:
- Docker
- GNU Make
- First, generate all the eBPF Go bindings via
make docker-generate. You need to re-run this make task each time you add or modify a C file under thebpf/folder. - To run linter, unit tests:
make fmt verify. - To run integration tests, run either:
make integration-test
make integration-test-k8s
make oats-test
, or all the above tasks. Each integration test target can take up to 50 minutes to complete, but you can
use standard go command-line tooling to individually run each integration test suite under
the internal/test/integration and internal/test/integration/k8s folder.
To get started with OBI, refer to the OpenTelemetry doc.
See CONTRIBUTING
OpenTelemetry eBPF Instrumentation is licensed under the terms of the Apache Software License version 2.0. See the license file for more details.