This section introduces the Codex Observability application for large model logs, available in the TLS Application Marketplace.
The TLS Codex observability log application offers services including Codex observability dashboards, trace call chains, session analysis, and token analysis.
After you integrate the Codex Observability log application, TLS automatically creates a dedicated Codex Trace log topic, generates visual charts, and displays session, Trace, Token, and tool invocation data, enabling traceability and observability. Applicable scenarios include the following:
1. Integrate the Codex log application
- Select the region where log service is located from the top navigation bar.
- In the left navigation bar, select AgentLoop > AI observability.
- On the AI observability page, click Integrate AI observability.
- On the Integrate AI observability page, create an application.
- Click the Codex icon and select the Codex application.
- Configure the integration parameters, then click Create application.
- After creating the application, proceed to the next step to obtain the usage guide and integrate the log application.
2. Integrate Codex application data
- Obtain the usage guide for integrating Codex application data.
- Go to the Integration configuration page.
Obtain when integrating the log application
Obtain after integrating the log application
When creating a Codex log application in AgentLoop, you can obtain the corresponding usage guide based on the interface prompts.
- On the Integrate AI Observability page, in Integration Configuration, configure the following information to obtain the usage guide.
- Select the region where log service is located from the top navigation bar.
- In the left navigation bar, select AgentLoop > AI Observability.
- On the AI Monitoring page, access the usage guide page as follows.
- Click the access configuration icon in the Actions column of the target log application.
- Click the target log application's name, then click Access Management.
- On the Integration configuration page, select the authentication method, configure the following information, and obtain the usage guide.
AK/SK Access
API Key Access
- For Access Method, select AK SK Access.
- For Connection Method, select Public Network or Volcano Engine Intranet as appropriate.
- In Usage Guide, copy the usage guide generated by Auto generation.
- For Access Method, select API Key Access.
- For Connection Method, select Public Network or Volcano Engine Intranet as appropriate.
- For API Key, select the created API Key.
- In Usage Guide, copy the usage guide generated by Auto generation.
- Usage guide example (AK/SK integration method):
Public Network
Volcano Engine Intranet
--registry=https://registry.npmjs.org/
--package=@volcengine/tls-observer-codex-install@latest --
tls-observer-codex-install
--region The system autopopulates the current region.
--trace-topic-id The system autopopulates the trace-topic-id
--ak <Requires manual replace of the actual tls-ak>
--sk <Requires manual replace of the actual tls-sk>
--registry=https://registry.npmjs.org/
--package=@volcengine/tls-observer-codex-install@latest --
tls-observer-codex-install
--region The system autopopulates the current region.
--tls-endpoint The system autopopulates the current endpoint
--trace-topic-id The system autopopulates the trace-topic-id
--ak <Requires manual replace of the actual tls-ak>
--sk <Requires manual replace of the actual tls-sk>
- (AK/SK method only) Modify the authentication information in the usage guide.
- Enter the obtained Access Key ID and Secret Access Key into the AK and SK fields of the usage guide, respectively.
- Integrate Codex Observability logs into the log application.
- Log in to the server where Codex is deployed.
- Use the information obtained from the usage guide to install the TLS plugin.
- After the plugin is installed, restart the Codex service.
- Return to the TLS console to view the observability chart data.
Monitoring chart details
The TLS Codex observability application provides detailed monitoring charts as follows:
After the log application is successfully connected, you can manage connected log applications as follows:
- Select the region where log service is located from the top navigation bar.
- In the left navigation bar, select AgentLoop > AI Monitoring.
- On the AI Monitoring page, in the Actions column of the corresponding log application, the following management operations are supported:
- Edit application information: Click the edit icon to modify the application name and description.
- Obtain usage guide: Click the access configuration icon to open the access configuration pop-up window, where you can obtain sample usage guide information.
- Delete my application: Click the delete icon to remove this log application.
- Select the region where log service is located from the top navigation bar.
- In the left navigation bar, click Common functions > Log application.
- Go to the My applications tab. In the Actions column for the corresponding log application, the following management operations are supported:
- Access management: Click Access management to enter the Access management tab, where you can modify the integrated log application's name and description, as well as obtain sample usage guide information.
- Cancel access: Click Cancel access, confirm the information in the cancel access pop-up window, and then click Cancel access again.
ApplicationName_trace (log topic) log fields
Attributes