docs.rs failed to build rlg-ebpf-0.0.11
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Install
[]
= "0.0.11"
Requires Rust 1.88.0 or newer (edition 2024).
Usage
use Log;
use ;
let enricher = new;
let log = info;
let enriched = enricher.enrich;
// enriched.attributes now contains "pid", plus "tid" and "uid"
// on Unix targets.
Chain multiple enrichers with Chain:
use ;
;
let pipeline = new;
Enrichers
| Enricher | Fields attached | Platform | Feature |
|---|---|---|---|
ProcessEnricher |
pid, tid (Unix), uid (Unix) |
Portable | (default) |
EbpfEnricher |
delegates to ProcessEnricher (Phase 21.1: adds cgroup, caps, network 4-tuple) |
Linux | ebpf |
Chain<A, B> |
union of the two enrichers, applied left-to-right | Portable | (default) |
EbpfEnricher status: scaffold
The ebpf feature enables an EbpfEnricher type whose live
kernel-side program attach lands in Phase 21.1. Today the type
delegates to ProcessEnricher for correctness — future consumers
of the type get the extra kernel context transparently once
Phase 21.1 lands. See docs/adr/0012-ebpf-enricher.md.
Capability requirements
Attaching the future eBPF program will require either CAP_BPF
(Linux 5.8+) or CAP_SYS_ADMIN (older kernels). The current
ProcessEnricher has no capability requirements — pid/tid/uid are
readable from any process.
License
Dual-licensed under Apache 2.0 or MIT, at your option.