Documentation
¶
Overview ¶
Package metrics provides Prometheus metrics collectors for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncCrowdSecBlocked ¶
func IncCrowdSecBlocked()
IncCrowdSecBlocked increments the CrowdSec blocked requests counter.
func IncCrowdSecRequest ¶
func IncCrowdSecRequest()
IncCrowdSecRequest increments the CrowdSec evaluated requests counter.
func IncWAFMonitored ¶
func IncWAFMonitored()
IncWAFMonitored increments the monitored requests counter.
func Register ¶
func Register(registry *prometheus.Registry)
Register registers Prometheus collectors. Call once at startup.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.