Skip to content

Latest commit

 

History

History
92 lines (72 loc) · 2.18 KB

README.md

File metadata and controls

92 lines (72 loc) · 2.18 KB

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]