Skip to main content

Description

The auto_discovery probe reads the host connection table and records a connection inventory for the specified processes. Supports emitting per-connection inventory metrics and/or topology data (listen ports + connection edges) to draw a service dependency map. Requires ConnAdapter. When using processNames, CAP_SYS_PTRACE is needed to attribute sockets to PIDs.

Config fields

Metrics

Example config

With topology:

Notes

  • Series are capped to bound cardinality: inventory max 200, listen max 200, edges max 500. Total counts are always accurate — the cap only affects per-series detail.
  • processProbeIds are resolved to processNames by the agent before the probe runs. If the probe runs outside the agent (e.g. tests), a warning is logged.
  • vms.topology.edge carries a direction label (inbound/outbound) inferred from the host-wide listener set, used to orient the service dependency map.
  • The connection table is attacker-influenceable (any local process can open a socket) — capping series is the anti-cardinality safeguard.