New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@volcengine/apmplus-openclaw-plugin

Package Overview
Dependencies
Maintainers
28
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volcengine/apmplus-openclaw-plugin

OpenClaw Plugin for reporting traces via OpenTelemetry

latest
npmnpm
Version
0.1.29
Version published
Maintainers
28
Created
Source

APMPlus OpenClaw Plugin

OpenClaw 插件,通过 OpenTelemetry 将 OpenClaw 的可观测性数据(Traces、Metrics、Logs)上报至火山引擎 APMPlus 平台。

前置条件

  • 已安装 OpenClaw
  • 已在 APMPlus 平台 创建应用并获取 APP Key

安装

方式一:使用一键安装 CLI(推荐)

npx @volcengine/apmplus-openclaw-plugin-onboard-cli

按提示输入 Region、APP Key、ServiceName 即可完成安装与配置。

方式二:手动安装

openclaw plugins install @volcengine/apmplus-openclaw-plugin

安装后需在 ~/.openclaw/openclaw.json 中配置插件参数。

配置

openclaw.jsonplugins.entries.apmplus-openclaw-plugin.config 中配置:

参数类型必填说明
endpointstringOTLP 上报地址,格式:http://apmplus-{region}.volces.com/server_collect/third_party/open_telemetry/v2/{appKey}
serviceNamestring服务名称,默认 openclaw
headersobject自定义请求头(如 Authorization)
exportIntervalMillisnumberMetrics 上报间隔(毫秒),默认 30000
debugboolean是否开启调试日志,默认 false
logboolean是否上报日志,默认 true
reportDiagnosticsLogboolean是否开启诊断日志,默认 false
diagnosticsLogEndpointstring诊断日志自定义 OTLP HTTP 上报地址,若不设置则默认回退到 endpoint
allowUserDetailInfoReportboolean是否上报所有 span attr信息,将包含 e.g. user_id, chat detail, chat log 等,默认 true
traceboolean是否启用 trace 上报,默认 true
metricboolean是否启用 metric 上报,默认 true
openclawNativeMetricsboolean是否启用 OpenClaw 原生指标,默认 true
extraResourceAttributesobject自定义 Resource Attributes,如 {"env": "prod"}

配置示例

{
  "plugins": {
    "allow": ["apmplus-openclaw-plugin"],
    "entries": {
      "apmplus-openclaw-plugin": {
        "enabled": true,
        "config": {
          "endpoint": "http://apmplus-cn-beijing.volces.com/server_collect/third_party/open_telemetry/v2/your-app-key",
          "serviceName": "my-openclaw-service"
        }
      }
    }
  }
}

支持的 Region

region_id名称
cn-beijing华北2(北京)
cn-shanghai华东2(上海)
cn-guangzhou华南1(广州)
cn-hongkong中国香港
ap-southeast-1亚太东南(柔佛)

License

Apache-2.0,详见 LICENCE

FAQs

Package last updated on 01 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts