Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ SyncInterval: 30 * time.Second, LokiNameSpacePrefix: "alloy", HTTPClientConfig: config.DefaultHTTPClientConfig, }
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Address string `alloy:"address,attr"` TenantID string `alloy:"tenant_id,attr,optional"` UseLegacyRoutes bool `alloy:"use_legacy_routes,attr,optional"` HTTPClientConfig config.HTTPClientConfig `alloy:",squash"` SyncInterval time.Duration `alloy:"sync_interval,attr,optional"` LokiNameSpacePrefix string `alloy:"loki_namespace_prefix,attr,optional"` RuleSelector kubernetes.LabelSelector `alloy:"rule_selector,block,optional"` RuleNamespaceSelector kubernetes.LabelSelector `alloy:"rule_namespace_selector,block,optional"` }
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.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 `alloy:"error,attr,optional"` PrometheusRules []DebugK8sPrometheusRule `alloy:"prometheus_rule,block,optional"` LokiRuleNamespaces []DebugLokiNamespace `alloy:"loki_rule_namespace,block,optional"` }
type DebugK8sPrometheusRule ¶
type DebugLokiNamespace ¶
Click to show internal directories.
Click to hide internal directories.