nemo_gym.rollouts.tool_telemetry
nemo_gym.rollouts.tool_telemetry
Tool spans and metrics derived from a finished rollout’s v2 trajectory record.
Nothing is measured again: each tool execution the harness recorded becomes a gym.tool span under the rollout’s
dispatch span, and a count and duration in the tool metrics. A span needs both recorded endpoints and a duration
needs a recorded duration; a missing one is left out, never written as zero.
Module Contents
Functions
Data
API
Count a finished rollout’s tool executions and, under its dispatch span, emit one span each.
A tool whose recorded parent is another tool goes under that tool’s span; parents are emitted first, and the record guarantees there are no cycles. Never raises: telemetry must not fail a rollout.