This document describes how to view observability. After observability is enabled, it supports trace tracking, Conversation Analytics, and monitoring alarms.
Introduction
Agent Observability will rely on CLS to provide services such as fault troubleshooting, security auditing, usage analytics, and monitoring alarms. Attention:
CLS is a separately billed Tencent Cloud product. After you use CLS, fees are charged by CLS based on the billing standards. For billing details, see CLS Billing Overview. After CMR is connected to Agent Observability, you will gain the following capabilities:
Troubleshooting: Quickly locate issues such as request failures and timeouts by searching traces.
Security Auditing: Records all model invocation requests to meet auditing and compliance requirements.
Usage Analytics: Collects metrics such as model invocation volume, Token consumption, and response latency to assist with capacity planning and cost optimization.
Monitoring Alarms: Set alarm rules for metrics such as abnormal access patterns and rising error rates based on CLS alarm capabilities.
Prerequisites
Operation Steps
Step 1: Enabling Observability Delivery
1. Log in to the CMR console. On the Instance Management page, click the target instance ID to go to the Basic Information page of the target instance. 2. Go to the Observability tab and click Enable Now.
3. In the Enable Observability Delivery dialog, select an existing observability application and logset, and then click Enable Now to complete the configuration. We recommend that you record input and output content, which enables Trace tracking.
Note:
There is a delay of approximately 1 - 3 minutes from log delivery to log searchability. After log delivery is enabled, you can view log content in real time on the Search and Analysis page in the CLS console. If no logs are found, check whether the index configuration is correct.
Step 2: Viewing Observability Data
1. On the Observability tab of the CMR instance, click View Observability.
2. You can view Trace information in the call chain.
3. Click Dashboards, Sessions, and other items to view the corresponding information.
Step 3: Disabling Observability Delivery
1. On the Observability tab of the CMR instance, click Disable Delivery.
2. In the Disable CMR Observability dialog, select Confirm Disable, and then click Confirm.
Attention:
After it is disabled, access to CMR can no longer be recorded. Proceed with caution.
References