metric

package
v0.0.0-...-42351fe Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {
	IncCookieCount(namespace, name string)
	Start()
	Stop()
	OnStartedLeading(string)
	OnStoppedLeading(string)
}

Collector defines the interface for a metric collector

func NewCollector

func NewCollector(registry *prometheus.Registry) (Collector, error)

NewCollector creates a new metric collector the for ingress controller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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