Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { Port string `alloy:"open_port,attr,optional"` ExecutableName string `alloy:"executable_name,attr,optional"` Routes Routes `alloy:"routes,block,optional"` Attributes Attributes `alloy:"attributes,block,optional"` Discovery Discovery `alloy:"discovery,block,optional"` Output *otelcol.ConsumerArguments `alloy:"output,block,optional"` }
Arguments configures the Beyla component.
type Attributes ¶
type Attributes struct {
Kubernetes KubernetesDecorator `alloy:"kubernetes,block"`
}
func (Attributes) Convert ¶
func (args Attributes) Convert() beyla.Attributes
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) CurrentHealth ¶
type KubernetesDecorator ¶
type KubernetesDecorator struct {
Enable string `alloy:"enable,attr"`
}
type KubernetesService ¶ added in v1.2.0
type KubernetesService struct { Namespace string `alloy:"namespace,attr,optional"` PodName string `alloy:"pod_name,attr,optional"` DeploymentName string `alloy:"deployment_name,attr,optional"` ReplicaSetName string `alloy:"replicaset_name,attr,optional"` StatefulSetName string `alloy:"statefulset_name,attr,optional"` DaemonSetName string `alloy:"daemonset_name,attr,optional"` OwnerName string `alloy:"owner_name,attr,optional"` PodLabels map[string]string `alloy:"pod_labels,attr,optional"` }
func (KubernetesService) Convert ¶ added in v1.2.0
func (args KubernetesService) Convert() (map[string]*services.RegexpAttr, error)
type Routes ¶
type Routes struct { Unmatch string `alloy:"unmatched,attr,optional"` Patterns []string `alloy:"patterns,attr,optional"` IgnorePatterns []string `alloy:"ignored_patterns,attr,optional"` IgnoredEvents string `alloy:"ignore_mode,attr,optional"` }
func (Routes) Convert ¶
func (args Routes) Convert() *transform.RoutesConfig
Click to show internal directories.
Click to hide internal directories.