metrics

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package metrics implements metrics for managed certificates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fake added in v1.0.0

type Fake struct {
	ManagedCertificatesStatuses map[string]int
	BackendErrorCnt             int
	QuotaErrorCnt               int
	BindingCnt                  int
	CreationCnt                 int
}

func NewFake added in v1.0.0

func NewFake() *Fake

func (*Fake) ObserveIngressHighPriorityQueueLength added in v1.2.1

func (f *Fake) ObserveIngressHighPriorityQueueLength(length int)

func (*Fake) ObserveIngressLowPriorityQueueLength added in v1.2.1

func (f *Fake) ObserveIngressLowPriorityQueueLength(length int)

func (*Fake) ObserveManagedCertificateHighPriorityQueueLength added in v1.2.1

func (f *Fake) ObserveManagedCertificateHighPriorityQueueLength(length int)

func (*Fake) ObserveManagedCertificateLowPriorityQueueLength added in v1.2.1

func (f *Fake) ObserveManagedCertificateLowPriorityQueueLength(length int)

func (*Fake) ObserveManagedCertificatesStatuses added in v1.0.0

func (f *Fake) ObserveManagedCertificatesStatuses(statuses map[string]int)

func (*Fake) ObserveSslCertificateBackendError added in v1.0.0

func (f *Fake) ObserveSslCertificateBackendError()

func (*Fake) ObserveSslCertificateBindingLatency added in v1.0.0

func (f *Fake) ObserveSslCertificateBindingLatency(creationTime time.Time)

func (*Fake) ObserveSslCertificateCreationLatency added in v1.0.0

func (f *Fake) ObserveSslCertificateCreationLatency(creationTime time.Time)

func (*Fake) ObserveSslCertificateQuotaError added in v1.0.0

func (f *Fake) ObserveSslCertificateQuotaError()

func (*Fake) Start added in v1.0.0

func (f *Fake) Start(address string)

type Interface added in v1.0.0

type Interface interface {
	Start(address string)
	ObserveIngressHighPriorityQueueLength(length int)
	ObserveIngressLowPriorityQueueLength(length int)
	ObserveManagedCertificateHighPriorityQueueLength(length int)
	ObserveManagedCertificateLowPriorityQueueLength(length int)
	ObserveManagedCertificatesStatuses(statuses map[string]int)
	ObserveSslCertificateBackendError()
	ObserveSslCertificateQuotaError()
	ObserveSslCertificateBindingLatency(creationTime time.Time)
	ObserveSslCertificateCreationLatency(creationTime time.Time)
}

func New

func New(config *config.Config) Interface

Jump to

Keyboard shortcuts

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