metrics

package
v0.0.0-...-0732b9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License: MIT Imports: 1 Imported by: 0

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 IncWAFBlocked

func IncWAFBlocked()

IncWAFBlocked increments the blocked requests counter.

func IncWAFMonitored

func IncWAFMonitored()

IncWAFMonitored increments the monitored requests counter.

func IncWAFRequest

func IncWAFRequest()

IncWAFRequest increments the evaluated requests counter.

func Register

func Register(registry *prometheus.Registry)

Register registers Prometheus collectors. Call once at startup.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL