Octri

monitoring config

打印 CI 作业上传源映射和源文件所需的三个值:MONITORING_URL、MONITORING_ENVIRONMENT 和 MONITORING_TOKEN,可直接粘贴到 CI 的机密中。请参阅 CI 设置。

bash
octri monitoring config [--reveal-token]

标志

--reveal-tokenboolean

打印令牌本身。不加此选项时,令牌会被隐藏,避免在共享屏幕时泄露。

示例

bash
octri monitoring config
Output
✔ Reading ingest configuration

Ingest configuration
  MONITORING_URL          https://monitoring.octri.dev
  MONITORING_ENVIRONMENT  6acd4f5218c2528b5932744f
  MONITORING_TOKEN        hidden. Pass --reveal-token
  These are the three values `octri monitoring sourcemaps upload` needs in CI.