monitoring config
打印 CI 作业上传源映射和源文件所需的三个值:MONITORING_URL、MONITORING_ENVIRONMENT 和 MONITORING_TOKEN,可直接粘贴到 CI 的机密中。请参阅 CI 设置。
bash
octri monitoring config [--reveal-token]标志
--reveal-tokenboolean打印令牌本身。不加此选项时,令牌会被隐藏,避免在共享屏幕时泄露。
示例
打印 CI 值
bash
octri monitoring configOutput
✔ 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.相关内容
octri monitoring sourcemaps:上传 JavaScript 和 Dart 源映射,以便查看可读的堆栈跟踪。octri monitoring sources:上传 Go、Rust、JVM 和 Swift 源代码,以便堆栈帧显示代码。- CI 设置