controller-runtime: sigs.k8s.io/controller-runtime/pkg/metrics Index | Files

package metrics

import "sigs.k8s.io/controller-runtime/pkg/metrics"

Package metrics contains controller related metrics utilities

Index

Package Files

client_go_adapter.go doc.go listener.go registry.go workqueue.go

Variables

var DefaultBindAddress = ":8080"

DefaultBindAddress sets the default bind address for the metrics listener The metrics is on by default.

var Registry = prometheus.NewRegistry()

Registry is a prometheus registry for storing metrics within the controller-runtime

func NewListener Uses

func NewListener(addr string) (net.Listener, error)

NewListener creates a new TCP listener bound to the given address.

Package metrics imports 9 packages (graph) and is imported by 18 packages. Updated 2019-07-10. Refresh now. Tools for package owners.