How to View Agent Metrics and Logs on DigitalOcean Inference

Last verified 29 Jun 2026

Inference provides a single control plane for managing inference workflows. It includes a Model Catalog where you can view available foundation models, including both DigitalOcean-hosted and third-party commercial models, compare model capabilities and pricing, use routing to match inference requests to the best-fit model, and run inference using serverless or dedicated deployments.

You can view metrics and runtime logs for your agents to help troubleshoot issues and understand how your agents are performing.

View Agent Metrics

The Agent Metrics feature shows your agent’s token usage, traffic, and performance in real time. Use it to monitor efficiency, troubleshoot issues, and adjust your agent’s configuration as needed. Data may be delayed by up to 15 minutes.

To view metrics for an agent from the DigitalOcean Control Panel, click Agent Platform under INFERENCE in the left menu. In the Agent workspaces tab, select the workspace that contains the agent you want to inspect. In the Agents tab, select the agent.

In the agent’s Overview page, go to the Agent Metrics section. Here, you can:

  • View a line graph of token usage over time. Use the dropdown menu to choose one of the following:

    • Tokens In: Input tokens sent by users.
    • Tokens Out: Output tokens generated by the agent.
    • Total Tokens: All tokens combined.
    • Requests In: The number of user requests received.

    You can also select the time range (for example, last 1 hour, last 14 days) to analyze short-term spikes or longer-term trends.

  • Review Token Metrics, which provide the following performance details:

    • Average end-to-end throughput: The average number of tokens processed per second.
    • Average end-to-end latency: The average time it takes to deliver a complete response.
    • Average time to first token: The average time before the agent begins streaming the first token.

View Agent Runtime Logs

Viewing agent runtime logs can help you understand how your agent is performing and troubleshoot issues. Runtime logs show the events that occur while your agent processes a prompt, such as which knowledge bases and functions were accessed to generate a response.

To view the runtime logs for an agent, go to the DigitalOcean Control Panel and click Agent Platform under INFERENCE in the left menu. In the Agent workspaces tab, select the workspace that contains the agent you want to view logs for and select the agent.

In the agent’s Observability tab, under the Runtime Logs section, you can view the agent runtime logs in real time.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.