This commit is contained in:
Pat Riehecky 2024-11-20 13:15:17 +03:00 committed by GitHub
commit ad34017682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 0 deletions

View File

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

19
data/templates/metrics Normal file
View File

@ -0,0 +1,19 @@
# 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}
# HELP binary_info Information about the binary
# TYPE binary Info
binary_info{name="{package}",version="{version}"} 1
# EOF