Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Client: kubernetes.ClientArguments{ HTTPClientConfig: config.DefaultHTTPClientConfig, }, }
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct { // Client settings to connect to Kubernetes. Client kubernetes.ClientArguments `river:"client,block,optional"` ForwardTo []storage.Appendable `river:"forward_to,attr"` // Namespaces to search for monitor resources. Empty implies All namespaces Namespaces []string `river:"namespaces,attr,optional"` // LabelSelector allows filtering discovered monitor resources by labels LabelSelector *config.LabelSelector `river:"selector,block,optional"` }
func (*Arguments) UnmarshalRiver ¶
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) CurrentHealth ¶
func (*Component) DebugInfo ¶
func (c *Component) DebugInfo() interface{}
DebugInfo returns debug information for this component.
type DebugInfo ¶
type DebugInfo struct { DiscoveredPodMonitors []*DiscoveredPodMonitor `river:"pod_monitors,block"` Targets []scrape.TargetStatus `river:"targets,block,optional"` }
Click to show internal directories.
Click to hide internal directories.