add prometheus exporter template
This commit is contained in:
parent
adad565c03
commit
f2f0512625
@ -3,7 +3,8 @@ templatesdir = $(pkgdatadir)
|
|||||||
TEMPLATES = \
|
TEMPLATES = \
|
||||||
debug.html \
|
debug.html \
|
||||||
default.html \
|
default.html \
|
||||||
stats.html
|
stats.html \
|
||||||
|
prometheus.html
|
||||||
|
|
||||||
templates_DATA = \
|
templates_DATA = \
|
||||||
$(TEMPLATES)
|
$(TEMPLATES)
|
||||||
|
15
data/templates/prometheus.html
Normal file
15
data/templates/prometheus.html
Normal 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}
|
Loading…
Reference in New Issue
Block a user