Skip to content

Port bpftool probing and usage metrics collection to Go #38979

@ti-mo

Description

@ti-mo

Currently, we're still shelling out to bpftool to obtain map and program usage metrics, despite starting to migrate to Go-based implementations years ago. We also use some bpftool feature probes.

Remaining items to port:

  • pkg/metrics.getBPFUsage()
  • pkg/datapath/linux/probes.(*ProbeManager).Probe()
  • pkg/datapath/linux.CheckRequirements()

This issue is for converting the remaining users to Go-based probes.

Metadata

Metadata

Assignees

Labels

area/agentCilium agent related.area/loaderImpacts the loading of BPF programs into the kernel.help-wantedPlease volunteer for this by adding yourself as an assignee!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions