Skip to main content

PermitechAgentControlBridge

Bridge Agent Control telemetry into the active Permitech logger hierarchy. Bridge rules:
  • Events are converted only when the logger has an active trace parent.
  • Events are converted only when their trace_id and span_id match the current Permitech trace/span context advertised through the public provider.
  • Events that fail validation or do not match the active context are dropped safely rather than attached to the wrong logger hierarchy.

register

Register this bridge and install the shared Permitech trace-context dispatcher.

unregister

Unregister this bridge and restore the previous provider only if Permitech still owns the slot.

write_events

Convert Agent Control events into Permitech control spans.

setup_agent_control_bridge

Create and register an Agent Control bridge for a Permitech logger.