metrics

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MetricCollectionInterval = time.Second * 10

Variables

View Source
var TotalActiveBannedIPs = prometheus.NewGauge(prometheus.GaugeOpts{
	Name: "fw_bouncer_banned_ips",
	Help: "Denotes the number of IPs which are currently banned",
})
View Source
var TotalDroppedBytes = prometheus.NewGauge(prometheus.GaugeOpts{
	Name: "fw_bouncer_dropped_bytes",
	Help: "Denotes the number of total dropped bytes because of rule(s) created by crowdsec",
})
View Source
var TotalDroppedPackets = prometheus.NewGauge(prometheus.GaugeOpts{
	Name: "fw_bouncer_dropped_packets",
	Help: "Denotes the number of total dropped packets because of rule(s) created by crowdsec",
})

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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