Documentation ¶
Overview ¶
Package kubernetes_events implements the loki.source.kubernetes_events component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ JobName: "loki.source.kubernetes_events", LogFormat: logFormatFmt, Client: kubernetes.DefaultClientArguments, }
DefaultArguments holds default settings for loki.source.kubernetes_events.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { ForwardTo []loki.LogsReceiver `alloy:"forward_to,attr"` JobName string `alloy:"job_name,attr,optional"` Namespaces []string `alloy:"namespaces,attr,optional"` LogFormat string `alloy:"log_format,attr,optional"` // Client settings to connect to Kubernetes. Client kubernetes.ClientArguments `alloy:"client,block,optional"` }
Arguments holds values which are used to configure the loki.source.kubernetes_events component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component implements the loki.source.kubernetes_events component, which watches events from Kubernetes and forwards received events to other Loki components.
func (*Component) DebugInfo ¶
func (c *Component) DebugInfo() interface{}
DebugInfo implements component.DebugComponent.
Click to show internal directories.
Click to hide internal directories.