---
title: "Gating uprobes with metrics"
---

> Documentation Index
> Fetch the complete documentation index at: https://example.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Gating uprobes with metrics

Treat the TLS uprobe as an optional plug-in container that writes cleartext pcapng into the *same* agent pipe—so the core capture agent never needs extra process-inspection privileges.

Meanwhile, the kernel profiler walks `bpf_link_get_next_id` to isolate `attach_class="uprobe"` nanoseconds separately from `tc_xdp` and `tracepoint`, gating Route 03 on real lab numbers.

> **Key idea:** Separating uprobe cost into its own Prometheus attach_class lets operators see the exact price of TLS decryption before committing.

Source: https://example.com/ebpf-field-guide/networking-and-packet-path/tls-and-uprobes/cost-gate/index.mdx
