prom

package
v0.0.0-...-3b0dce6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ListWAFactions = []string{
	"unknown",
	"allow",
	"drop",
	"challenge",
	"jschallenge",
	"simulate",
	"connectionClose",
	"log",
}

ListWAFactions valid values: unknown, allow, drop, challenge, jschallenge, simulate, connectionClose, log

View Source
var ListWAFsources = []string{
	"unknown",
	"asn",
	"country",
	"ip",
	"ipRange",
	"securityLevel",
	"zoneLockdown",
	"waf",
	"uaBlock",
	"rateLimit",
	"firewallRules",
	"bic",
	"hot",
	"l7ddos",
}

ListWAFsources valid values: unknown, asn, country, ip, ipRange, securityLevel, zoneLockdown, waf, uaBlock, rateLimit, firewallRules, bic, hot, l7ddos

Functions

func GenerateMetrics

func GenerateMetrics(suffix string, name []string) map[string]*prometheus.GaugeVec

Types

This section is empty.

Jump to

Keyboard shortcuts

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