This commit is contained in:
Nico 2024-11-20 20:09:42 +00:00 committed by GitHub
commit 9222457286
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 1 deletions

View File

@ -3,7 +3,8 @@ templatesdir = $(pkgdatadir)
TEMPLATES = \
debug.html \
default.html \
stats.html
stats.html \
prometheus.txt
templates_DATA = \
$(TEMPLATES)

View File

@ -0,0 +1,15 @@
# HELP opens Number of open connections.
# TYPE opens Gauge
opens {opens}
# HELP reqs Number of requests.
# TYPE reqs Counter
reqs {reqs}
# HELP badconns Number of bad connections.
# TYPE badconns Counter
badconns {badconns}
# HELP deniedconns Number of denied connections.
# TYPE deniedconns Counter
deniedconns {deniedconns}
# HELP refusedconns Number of refused connections due to high load.
# TYPE refusedconns Counter
refusedconns {refusedconns}