metrics

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 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) 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)
	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