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

feat: 新增 prometheus 插件 #671

Merged
merged 2 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -164,3 +164,8 @@ DEEPSEEK__PROMPT=""
DEEPSEEK__STREAM=true
DEEPSEEK__MD_TO_PIC=false
DEEPSEEK__ENABLE_SEND_THINKING=true

# Nonebot Plugin Prometheus
# https://github.com/suyiiyii/nonebot-plugin-prometheus
prometheus_enable = True
prometheus_metrics_path = "/secret/metrics"
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/lang/zh-CN/

## [Unreleased]

### Added

- 新增 prometheus 插件

## [0.21.1] - 2025-02-12

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ dependencies = [
"nonebot-plugin-status==0.9.0",
"nonebot-plugin-bawiki==0.11.3",
"nonebot-plugin-deepseek==0.1.8",
"nonebot-plugin-prometheus==0.3.7",
]

[project.urls]
Expand Down Expand Up @@ -85,6 +86,7 @@ plugins = [
"nonebot_plugin_status",
"nonebot_plugin_bawiki",
"nonebot_plugin_deepseek",
"nonebot_plugin_prometheus",
]

[tool.pyright]
Expand Down
27 changes: 26 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading