Skip to content

Open telemetry collector that integrates eBPF scripts for observability

License

Notifications You must be signed in to change notification settings

alexandreLamarre/otelcol-bpf

Repository files navigation

otelcol-bpf

GitHub Actions Workflow Status GitHub go.mod Go version GitHub License OpenTelemetry Collector version

An open telemetry collector distribution that focuses on ebpf scripts to gather observability data.

Extensions

BPF Logger

Status
Stability alpha
Distributions [bpf]

This extension enables logging bpf_printk directly into the OpenTelemetry Collector's logging.

The default eBPF trace pipe path is /sys/kernel/debug/tracing/trace_pipe", and can be enabled via :

sudo mount -t debugfs debugfs /sys/kernel/debug

the trace pipe path can be overriden via the config:

extensions:
    bpf_logger:
        bpf_trace_pipe : /foo/pipe

Receivers

PPROF receiver

Collects pprof profiles from remote pprof endpoints.

Status
Stability alpha: logs
Distributions [bpf]
License Apache 2
receivers:
  pprofreceiver:
    endpoints:
      - endpoint: "http://localhost:6060"
        targets:
          profile:
          block:
          mutex:
          goroutine:
          heap:
          threadcreate:
          allocs:
service:
  pipelines:
    logs:
      receivers: [pprofreceiver]
      processors: [batch]
      exporters: [debug]

BPFStack

Collects CPU profiles from running processes.

Status
Stability alpha: traces, logs
Distributions [bpf]
License AGPL v3
receivers:
  bpfstack:
service:
    pipelines:
        traces:
          receivers: [bpfstack]
          processors: [batch]
          exporters: [otlp/debug]

About

Open telemetry collector that integrates eBPF scripts for observability

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published