达到数据和人工智能成熟度是释放业务价值的关键
我们可以使用官方 sentry-cli 工具操作 Sentry API,从而来为你的项目管理一些数据。它主要用于管理 iOS、Android 的调试信息文件,以及其他平台的版本(release)和源代码映射(source maps)管理。
安装 Docker 镜像
默认情况下,该命令在 /work 目录中运行。挂载相关的你的项目文件夹并在那里构建输出以允许 sentry-cli 扫描资源:
# 拉取镜像 docker pull getsentry/sentry-cli # 执行命令 docker run --rm -v $(pwd):/work getsentry/sentry-cli --help # sentry-cli 1.68.0 # Command line utility for Sentry. # This tool helps you manage remote resources on a Sentry server like # sourcemaps, debug symbols or releases. Use `--help` on the subcommands # to learn more about them. # USAGE: # sentry-cli # OPTIONS: # --api-key <API_KEY> # The given Sentry API key. # --auth-token <AUTH_TOKEN> # Use the given Sentry auth token. # -h, --help # Print this help message. # --log-level <LOG_LEVEL> # Set the log output verbosity. [possible values: trace, debug, info, warn, error] # --url # Fully qualified URL to the Sentry server. # [defaults to https://sentry.io/] # -V, --version # Print version information. # SUBCOMMANDS: # bash-hook Prints out a bash script that does error handling. # difutil Locate or analyze debug information files. # help Prints this message or the help of the given subcommand(s) # info Print information about the Sentry server. # issues Manage issues in Sentry. # login Authenticate with the Sentry server. # projects Manage projects on Sentry. # react-native Upload build artifacts for react-native projects. # releases Manage releases on Sentry. # repos Manage repositories on Sentry. # send-event Send a manual event to Sentry. # upload-dif Upload debugging information files. # upload-proguard Upload ProGuard mapping files to a project. 配置和认证 配置文件
sentry-cli 工具可以使用名为 .sentryclirc 的配置文件以及环境变量和 .env 文件进行配置。从当前路径向上查找配置文件,并且始终加载 ~/.sentryclirc 中的默认值。您还可以从命令行参数覆盖这些设置。
.sentryclirc
[auth] token=your-auth-token [defaults] org=sentry project=react-sentry-demo url=https://x.xxx.com
进入容器内
创建一个新版本:
docker run --rm -it -v $(pwd):/work getsentry/sentry-cli /bin/sh sentry-cli releases new 1.0.0 Refs
https://docs.sentry.io/product/cli/
- ·阿里云将于2022年在韩国及泰国开设两个新数据中心
- ·迁移上云助力减碳80%背后 亚马逊云科技高管谈数据中心选址四要素
- ·专家质疑 Google 关于“每次提示仅消耗 5 滴水”是 “淡化” 描述
- ·标签: 海康威视 2026年财报 2025年年报 安防行业
- ·突破性低延迟!Cartesia 推出 Sonic-3语音 AI 引擎:极致拟人化,对话延迟低于100毫秒
- ·标签: 顺丰控股 2025年报 时效快递 冷运及医药
- ·脑洞大开!抖音博主用AI制作名人穿越高考街采视频获赞百万
- ·AI生成中国山水画!普林斯顿姑娘本科毕业作品,线条笔触骗过半数人类观察者
- ·新冠期间摄像头需求猛增:安克与微软同日发布家用办公网络摄像头
- ·加州州议会通过AI伴侣聊天机器人监管法案,旨在保护未成年人
- ·618如何做到分钟级送达 京东云给出了答案
- ·IDC预计大模型等将带动中国AI市场规模2026年超264亿美元
- ·标签: 红松小课 红松集团 退费难 八段锦
- ·涓�浗淇¢€氶櫌鍙戝竷鈥�2021 浜戣�绠楀崄澶у叧閿�瘝鈥�
- ·云安全日报210521:IBM身份管理解决方案发现执行任意代码漏洞,需要尽快升级
- ·Salesforce第三财季营收同比增长14% 净利润同比下降55%
- ·俄罗斯HapticVLM系统震撼问世!触觉识别准确率84.7%,开启人机交互新纪元
- ·美国劳动关系委员会指控亚马逊在疫情期间非法解雇员工
- ·云计算核心技术Docker教程:Docker 利用构建缓存
- ·DeepSeek V3.1被曝“极字Bug”:API调用惊现神秘字符,官方已回应
- ·AigcPanel 1.3.0版本重磅更新,直播与图像生成双双上线
- ·Google宣布Gemini in Chrome正式向Workspace用户全面开放
- ·微模式动态人脸识别布控系统解决方案
- ·云计算开发:Python练习实例-找到年龄最大的人,并输出
- ·标签: 九号公司 新国标 电动自行车
- ·逻辑智能发布全球首个开源语音大模型框架 LLaSO
