Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // IncreaseInterruptionEventCounter increases the interruption metric by one with a label value of cluster IncreaseInterruptionEventCounter(cluster string) // ServeMetrics serves metrics on the specified port and path of the given ServeMetrics(path, port string) }
Client provides methods for modifying metrics
func NewClient ¶
func NewClient(log *zap.SugaredLogger) Client
NewClient creates a new metrics client. To actually start the metrics server, call the Client's ServeMetrics method.
Click to show internal directories.
Click to hide internal directories.