Skip to content

feat: 新增 /metrics 支持#1683

Closed
dsh0416 wants to merge 2 commits intoNapNeko:mainfrom
dsh0416:dsh0416/feat-metrics
Closed

feat: 新增 /metrics 支持#1683
dsh0416 wants to merge 2 commits intoNapNeko:mainfrom
dsh0416:dsh0416/feat-metrics

Conversation

@dsh0416
Copy link

@dsh0416 dsh0416 commented Mar 9, 2026

该 PR 允许了使用 prometheus 监控 NapCatQQ 的运行状态,从而进一步允许使用 AlertManager 设置警报。

当 NapCatQQ 账号被登出或发生了错误,可以进一步进行监控和警报。

@github-actions
Copy link

github-actions bot commented Mar 9, 2026

✅ NapCat 构建成功

Success


📦 构建产物

包名 状态 下载
NapCat.Framework ✅ 成功 📥 下载
NapCat.Shell ✅ 成功 📥 下载

📋 构建信息

项目
🏷️ 版本号 0.0.0-pr.1683.535+68520cd
📝 提交 68520cd
🔗 构建日志 查看详情
🕐 完成时间 2026-03-09 08:27:07 UTC

🎉 所有构建均已成功完成!

点击上方下载链接获取构建产物进行测试

@sj817
Copy link
Member

sj817 commented Mar 9, 2026

这个你应该自己编写应用端对接 napcat有完整的掉线事件上报

@dsh0416
Copy link
Author

dsh0416 commented Mar 9, 2026

啊,确实确实,可以通过应用端实现。没反应过来。

@dsh0416 dsh0416 closed this Mar 9, 2026
@dsh0416 dsh0416 deleted the dsh0416/feat-metrics branch March 9, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants