Skip to content

Commit

Permalink
➕ 移除 prometheus_client
Browse files Browse the repository at this point in the history
  • Loading branch information
suyiiyii committed Dec 21, 2024
1 parent a2b2bac commit 240ed1e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 50 deletions.
2 changes: 1 addition & 1 deletion nonebot_bison/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from nonebot import require

require("nonebot_plugin_prometheus")
from prometheus_client import Gauge, Counter, Histogram
from nonebot_plugin_prometheus import Gauge, Counter, Histogram

# Request counter
request_counter = Counter(
Expand Down
72 changes: 25 additions & 47 deletions poetry.lock

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

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ yarl = ">=1.11.1"
hishel = "^0.0.30"
expiringdictx = "^1.1.0"
rapidfuzz = "^3.9.7"
prometheus-client = "^0.21.0"
nonebot-plugin-prometheus = "^0.1.0"
nonebot-plugin-prometheus = "^0.3.0"

[tool.poetry.group.dev.dependencies]
black = ">=24.8.0,<25.0"
Expand Down

0 comments on commit 240ed1e

Please sign in to comment.