feat: support for prometheus (#1784)

This commit is contained in:
OutOfEastGate
2023-04-25 16:06:09 +08:00
committed by GitHub
parent fe53e90d37
commit 1003639e5b
10 changed files with 342 additions and 3 deletions

View File

@ -121,6 +121,8 @@ p, *, *, *, /cas, *, *
p, *, *, *, /api/webauthn, *, *
p, *, *, GET, /api/get-release, *, *
p, *, *, GET, /api/get-default-application, *, *
p, *, *, GET, /api/get-prometheus-info, *, *
p, *, *, *, /api/metrics, *, *
`
sa := stringadapter.NewAdapter(ruleText)