Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMetrics ¶
func AddMetrics(gvk schema.GroupVersionKind, mgr manager.Manager, h Handler, metricFamilies []ksmetric.FamilyGenerator) error
AddMetrics add given metricFamilies for type given in gvk
func RegisterEndpoint ¶
RegisterEndpoint add custom metrics endpoint to existing HTTP Listener
Types ¶
type Handler ¶
type Handler interface {
RegisterStore(generators []ksmetric.FamilyGenerator, expectedType interface{}, lw cache.ListerWatcher) error
}
Handler use to registry controller metrics
Click to show internal directories.
Click to hide internal directories.