Documentation
¶
Index ¶
- func Reset()
- type ACMEMetrics
- type ACMESnapshot
- type CensusMetrics
- type CensusSnapshot
- type Collector
- type DNSMetrics
- type DNSSnapshot
- type EnrollMetrics
- type EnrollSnapshot
- type HTTPMetrics
- type HTTPSnapshot
- type LastSeenMetrics
- type LastSeenSnapshot
- type NexusMetrics
- type NexusSnapshot
- type NonceMetrics
- type NonceSnapshot
- type RateLimitMetrics
- type RateLimitSnapshot
- type RecoveryMetrics
- type RecoverySnapshot
- type Snapshot
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ACMEMetrics ¶
type ACMESnapshot ¶
type CensusMetrics ¶
type CensusSnapshot ¶
type Collector ¶
type Collector struct {
StartedAt time.Time
HTTP HTTPMetrics
RateLimit RateLimitMetrics
Enroll EnrollMetrics
Nonce NonceMetrics
DNS DNSMetrics
ACME ACMEMetrics
LastSeen LastSeenMetrics
Census CensusMetrics
Nexus NexusMetrics
Recovery RecoveryMetrics
}
Collector holds all operational metrics as atomic counters. Counters are monotonic from process start and reset on restart.
func NewCollector ¶
func NewCollector() *Collector
NewCollector creates a fresh collector with StartedAt set to now.
type DNSMetrics ¶
type DNSSnapshot ¶
type EnrollMetrics ¶
type EnrollSnapshot ¶
type HTTPMetrics ¶
type HTTPSnapshot ¶
type LastSeenMetrics ¶
type LastSeenSnapshot ¶
type NexusMetrics ¶
type NexusSnapshot ¶
type NonceMetrics ¶
type NonceSnapshot ¶
type RateLimitMetrics ¶
type RateLimitSnapshot ¶
type RecoveryMetrics ¶
type RecoverySnapshot ¶
type Snapshot ¶
type Snapshot struct {
HTTP HTTPSnapshot `json:"http"`
RateLimit RateLimitSnapshot `json:"rate_limit"`
Enrollment EnrollSnapshot `json:"enrollment"`
DNS DNSSnapshot `json:"dns"`
ACME ACMESnapshot `json:"acme"`
LastSeen LastSeenSnapshot `json:"last_seen"`
Census CensusSnapshot `json:"census"`
Nexus NexusSnapshot `json:"nexus"`
Recovery RecoverySnapshot `json:"recovery"`
Nonce NonceSnapshot `json:"nonce"`
}
Click to show internal directories.
Click to hide internal directories.