feat: add a metrics module (#67)

This commit is contained in:
d3vyce
2026-02-17 13:24:53 +01:00
committed by GitHub
parent c32f2e18be
commit d5b22a72fd
6 changed files with 744 additions and 3 deletions

View File

@@ -46,6 +46,9 @@ Repository = "https://github.com/d3vyce/fastapi-toolsets"
Issues = "https://github.com/d3vyce/fastapi-toolsets/issues"
[project.optional-dependencies]
metrics = [
"prometheus_client>=0.20.0",
]
test = [
"pytest>=8.0.0",
"pytest-anyio>=0.0.0",
@@ -54,7 +57,7 @@ test = [
"pytest-cov>=4.0.0",
]
dev = [
"fastapi-toolsets[test]",
"fastapi-toolsets[metrics,test]",
"ruff>=0.1.0",
"ty>=0.0.1a0",
]