Tencent Cloud CLS observability plugin for Hermes
Project description
tencentcloud-cls-sdk-hermes
腾讯云 CLS 可观测插件 for Hermes Agent。
自动上报 Trace、Audit、Gateway 事件到腾讯云日志服务(CLS),无需修改 Hermes 核心代码。
功能
- Trace:会话 / 对话轮次 / LLM 调用 / 工具调用
- Audit:LLM 输出 / 工具结果 / 终端命令 / 审批
- Gateway:网关入口消息
- Token 用量(含 cache 命中)与 TTFT
- 值级脱敏(自动隐藏内联密钥)
安装
curl -fsSL https://tencentcloud-cls-sdk-hermes-1254139626.cos.ap-guangzhou.myqcloud.com/tencentcloud-cls-sdk-hermes-install.sh | bash -s -- install \
--endpoint "<your-cls-endpoint>" \
--topic-id "<your-topic-id>" \
--secret-id "<your-secret-id>" \
--secret-key "<your-secret-key>"
卸载
curl -fsSL https://tencentcloud-cls-sdk-hermes-1254139626.cos.ap-guangzhou.myqcloud.com/tencentcloud-cls-sdk-hermes-install.sh | bash -s -- uninstall
环境变量
| 变量 | 必填 | 说明 |
|---|---|---|
HERMES_CLS_ENDPOINT |
✅ | CLS 接入点 |
HERMES_CLS_TOPIC_ID |
✅ | 日志主题 ID |
HERMES_CLS_SECRET_ID |
✅ | 腾讯云 SecretId |
HERMES_CLS_SECRET_KEY |
✅ | 腾讯云 SecretKey |
HERMES_CLS_SERVICE_NAME |
服务名(默认 hermes-agent) | |
HERMES_CLS_ENV |
环境标签(默认 prod) |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tencentcloud_cls_sdk_hermes-1.0.33.tar.gz.
File metadata
- Download URL: tencentcloud_cls_sdk_hermes-1.0.33.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9a637873ae32f44a7be48dca69fb3be5d074181c119385de76821e55c20943a
|
|
| MD5 |
088692a8469bb3bc17d8eddb2cfda4e9
|
|
| BLAKE2b-256 |
5838759d91c038fc491eba51b2e6910a21559d421706644965b5a191e5772b7e
|
File details
Details for the file tencentcloud_cls_sdk_hermes-1.0.33-py3-none-any.whl.
File metadata
- Download URL: tencentcloud_cls_sdk_hermes-1.0.33-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9a249e63752a889b5b77e8166300f66772a27b7b08ab0fc09a92c22b895e7f7
|
|
| MD5 |
8286b43dc394855315f6323ddc5125db
|
|
| BLAKE2b-256 |
9793b2bc416a98efb5ec9bdfb752294711f7759cfe7fb4fd1c9327b0f570ffad
|