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.