mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:34:02 +03:00
FILE / ScuroNeko/mtg
stats/init.go
Исходный файл и его история в репозитории.
33 lines
872 B
Go
33 lines
872 B
Go
package stats
|
|
|
|
const (
|
|
DefaultMetricPrefix = "mtg"
|
|
|
|
DefaultStatsdMetricPrefix = DefaultMetricPrefix + "."
|
|
DefaultStatsdTagFormat = "datadog"
|
|
|
|
MetricClientConnections = "client_connections"
|
|
MetricTelegramConnections = "telegram_connections"
|
|
MetricDomainFrontingConnections = "domain_fronting_connections"
|
|
|
|
MetricTelegramTraffic = "telegram_traffic"
|
|
MetricDomainFrontingTraffic = "domain_fronting_traffic"
|
|
|
|
MetricDomainFronting = "domain_fronting"
|
|
MetricConcurrencyLimited = "concurrency_limited"
|
|
MetricIPBlocklisted = "ip_blocklisted"
|
|
MetricReplayAttacks = "replay_attacks"
|
|
|
|
TagIPFamily = "ip_family"
|
|
TagIPFamilyIPv4 = "ipv4"
|
|
TagIPFamilyIPv6 = "ipv6"
|
|
|
|
TagTelegramIP = "telegram_ip"
|
|
|
|
TagDC = "dc"
|
|
|
|
TagDirection = "direction"
|
|
TagDirectionToClient = "to_client"
|
|
TagDirectionFromClient = "from_client"
|
|
)
|