Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ SyncInterval: 30 * time.Second, MimirNameSpacePrefix: "agent", HTTPClientConfig: config.DefaultHTTPClientConfig, PrometheusHTTPPrefix: "/prometheus", }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Address string `river:"address,attr"` TenantID string `river:"tenant_id,attr,optional"` UseLegacyRoutes bool `river:"use_legacy_routes,attr,optional"` PrometheusHTTPPrefix string `river:"prometheus_http_prefix,attr,optional"` HTTPClientConfig config.HTTPClientConfig `river:",squash"` SyncInterval time.Duration `river:"sync_interval,attr,optional"` MimirNameSpacePrefix string `river:"mimir_namespace_prefix,attr,optional"` RuleSelector LabelSelector `river:"rule_selector,block,optional"` RuleNamespaceSelector LabelSelector `river:"rule_namespace_selector,block,optional"` }
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) CurrentHealth ¶
type ConfigUpdate ¶
type ConfigUpdate struct {
// contains filtered or unexported fields
}
type DebugInfo ¶
type DebugInfo struct { Error string `river:"error,attr,optional"` PrometheusRules []DebugK8sPrometheusRule `river:"prometheus_rule,block,optional"` MimirRuleNamespaces []DebugMimirNamespace `river:"mimir_rule_namespace,block,optional"` }
type DebugK8sPrometheusRule ¶
type DebugMimirNamespace ¶
type LabelSelector ¶
type LabelSelector struct { MatchLabels map[string]string `river:"match_labels,attr,optional"` MatchExpressions []MatchExpression `river:"match_expression,block,optional"` }
type MatchExpression ¶
Click to show internal directories.
Click to hide internal directories.