Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: Prometheus 监控 #3198

Closed
1 task
suyiiyii opened this issue Dec 22, 2024 · 3 comments · Fixed by #3199
Closed
1 task

Plugin: Prometheus 监控 #3198

suyiiyii opened this issue Dec 22, 2024 · 3 comments · Fixed by #3199
Labels
Plugin Publish Plugin Publish Publish things to store

Comments

@suyiiyii
Copy link
Contributor

suyiiyii commented Dec 22, 2024

PyPI 项目名

nonebot-plugin-prometheus

插件 import 包名

nonebot_plugin_prometheus

标签

[{"label":"server","color":"#f94300"}]

插件配置项

插件测试

  • 如需重新运行插件测试,请勾选左侧勾选框
@suyiiyii suyiiyii added Plugin Publish Plugin Publish Publish things to store labels Dec 22, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Dec 22, 2024

📃 商店发布检查结果

Plugin: Prometheus 监控

✅ 所有测试通过,一切准备就绪!

详情
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 项目 nonebot-plugin-prometheus 已发布至 PyPI。
  • ✅ 标签: server-#f94300。
  • ✅ 插件类型: library。
  • ✅ 插件支持的适配器: 所有。
  • ✅ 插件 加载测试 通过。
  • ✅ 版本号: 0.3.3。
  • ✅ 发布时间:2024-12-24 16:27:11 CST。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后勾选插件测试勾选框重新运行插件测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow

    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-prometheus Plugin: Prometheus 集成插件 Dec 22, 2024
    @noneflow noneflow bot changed the title Plugin: Prometheus 集成插件 Plugin: Prometheus 监控 Dec 22, 2024
    @yanyongyu
    Copy link
    Member

    yanyongyu commented Dec 24, 2024

    插件元数据缺少支持的适配器,需要加上 None。感觉插件可以内置一些指标,比如 event counter?

    @suyiiyii
    Copy link
    Contributor Author

    感谢您的关注

    1. 插件元数据已添加 supported_adapters=None ,并发布到 pypi,版本 0.3.3
    2. 插件目前主要是作为 library 供其他插件使用,见 ✨ 增加 Metric 服务 MountainDash/nonebot-bison#666 (WIP)。未来将会尝试使用 nb 的 hook 等接口,监控 nb 相关指标,并提供相应的 Grafana 面板。见 TODO

    再次表示感谢

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin Publish Publish things to store
    Development

    Successfully merging a pull request may close this issue.

    2 participants