Skip to content

OBI Integration (Phase 1): unify eBPF programs #2500

@MrAlias

Description

@MrAlias

Our ultimate goal is to unify overlapping dependencies with the obi project. The following has been identified as the first step in this process.

We need to unify how we configure, operate and interact with eBPF programs across projects. The notable differences identified in a PoC are:

  • Offsets table per executable
  • Adding process information to events
  • Sharing maps using file descriptor rewrite for avoiding BPF file system SYS_ADMIN requirements

Proposal

  1. Start with a single probe.
    • The database probe has been identified as the simplist while still comprehensively needing the above issues addressed.
  2. Update the probe code so it both works in this project and can be vendored into the obi project
  3. Reuse the probe in both projects

Follow-up

From this process we will have a blueprint for other probes to be updated in a similar fashion. We will build tasks for each update when this step is complete.

Additionally, we plan to have a better understanding of the differences between the Manager and the OBI `Tracer. The tracking issue will be updated with these differences and we will develop a unification plan for that and a probe API from this learning..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions