Skip to content

Monitor agent quality

For an agent Workload with agent monitoring enabled, open Monitoring > Quality monitoring to inspect the guard metrics that the application emits. Configure guards with Moderations guardrails and integrate them as described in Instrument a Workload with OpenTelemetry.

Explore guard metrics

The page shows a tile for each metric reported under datarobot.moderations., so the tiles depend on the guards that the application runs.

  1. Select the time range and resolution with the controls at the top of the page. When the Workload has artifacts to choose from, use Artifacts to limit the metrics to one artifact.
  2. Select a metric tile to display its values over time in the chart. DataRobot selects the first tile automatically.
  3. Click Refresh to reload the available metrics and their values.

Count tiles show the total over the selected range, and score and latency tiles show averages. The chart shows the sum or average of each time bucket.

エージェントの選択

When guard metrics carry the gen_ai.agent.name attribute for an agent other than workflow_overall, an Agent selector lists the agents found in the metrics.

選択項目 Tiles shown
End to end The guards that cover the whole flow, including every sub-agent step. Workflow-wide totals such as Total prompts, Blocked prompts, and Violation count appear only here.
An agent The guard metrics of that agent. A tile with no non-zero value for the agent is hidden.

Metrics without the attribute appear under End to end only.

Troubleshoot missing metrics

If the page shows No guard metric has a non-zero value for the current selection., adjust the time range, artifact, or agent. Per-agent values cannot distinguish a real zero from no data, so DataRobot hides zero values for an agent.