metrics

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package metrics contains controller related metrics utilities

Index

Constants

This section is empty.

Variables

View Source
var DefaultBindAddress = "0"

DefaultBindAddress sets the default bind address for the metrics listener The metrics is off by default. TODO: Flip the default by changing DefaultBindAddress back to ":8080" in the v0.2.0.

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

Functions

func NewListener

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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