Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tencentcloud_cls_sdk_hermes-1.0.33.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tencentcloud_cls_sdk_hermes-1.0.33-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file tencentcloud_cls_sdk_hermes-1.0.33.tar.gz.

File metadata

File hashes

Hashes for tencentcloud_cls_sdk_hermes-1.0.33.tar.gz
Algorithm Hash digest
SHA256 f9a637873ae32f44a7be48dca69fb3be5d074181c119385de76821e55c20943a
MD5 088692a8469bb3bc17d8eddb2cfda4e9
BLAKE2b-256 5838759d91c038fc491eba51b2e6910a21559d421706644965b5a191e5772b7e

See more details on using hashes here.

File details

Details for the file tencentcloud_cls_sdk_hermes-1.0.33-py3-none-any.whl.

File metadata

File hashes

Hashes for tencentcloud_cls_sdk_hermes-1.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 e9a249e63752a889b5b77e8166300f66772a27b7b08ab0fc09a92c22b895e7f7
MD5 8286b43dc394855315f6323ddc5125db
BLAKE2b-256 9793b2bc416a98efb5ec9bdfb752294711f7759cfe7fb4fd1c9327b0f570ffad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page