View Traces in Agent Tracer

  • how-to
    +
    Use the Agent Tracer inside Capella AI Services to view logs from an agent app integrated with Agent Catalog.

    Use these logs to debug problematic user-agent sessions.

    For more information about the traces that you can view in Agent Tracer, see Agent Tracer Trace Types.

    Prerequisites

    Procedure

    To view agent traces in the Agent Tracer UI:

    1. In the Capella UI, go to AI Services  Agent Tracer.

    2. In the Operational Cluster list, select the cluster you added to your environment variables and configured to collect logs from the Agent Catalog.

    3. To filter the displayed logs, do any of the following:

      1. In the search bar, choose to search for a Session ID or Tags from the specific trace you want to examine.

        For more information about configuring tags, see Add Tags to Spans or Logs.

      2. Click the Bucket, Date Range, or App filters to change the displayed sessions.

        The app name matches the name of your root span from your logging configuration.
    4. Click the name of the session that you want to debug to open its logs.

    5. In the Session Trace Logs, use the filters to change what messages are displayed from your logs.

      For more information about the available trace types, see Agent Tracer Trace Types.

    Next Steps

    Make sure to monitor your cluster as Agent Catalog publishes logs from your agent. As your logged traces grow, you might need to scale your cluster to avoid performance issues. For more information about scaling your cluster, see Sizing a Cluster and Cluster Scaling.

    To view details about specific tools and prompts published to Agent Catalog from your project, see Use the Agent Catalog Tools and Prompts Hub.

    To query traces and get more details on your agent activity, see Query Agent Catalog Traces with SQL++.