Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ Client: kubernetes.ClientArguments{ HTTPClientConfig: config.DefaultHTTPClientConfig, }, }
Functions ¶
This section is empty.
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"`
Clustering Clustering `river:"clustering,block,optional"`
RelabelConfigs []*flow_relabel.Config `river:"rule,block,optional"`
}
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
type Clustering ¶ added in v0.35.0
type Clustering struct {
// TODO(@tpaschalis) Move this block to a shared place for all components using clustering.
Enabled bool `river:"enabled,attr"`
}
Clustering holds values that configure clustering-specific behavior.
type DebugInfo ¶
type DebugInfo struct {
DiscoveredCRDs []*DiscoveredResource `river:"crds,block"`
Targets []scrape.TargetStatus `river:"targets,block,optional"`
}
Click to show internal directories.
Click to hide internal directories.