Documentation
¶
Index ¶
- type Arguments
- type AttributeFamilies
- type AttributeFamily
- type Attributes
- type Component
- type Discovery
- type EBPF
- type Exports
- type Filters
- type InstanceIDConfig
- type KubernetesDecorator
- type KubernetesService
- type Metrics
- type Network
- type Routes
- type Selection
- type Selections
- type Service
- type Services
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"` Debug bool `alloy:"debug,attr,optional"` EnforceSysCaps bool `alloy:"enforce_sys_caps,attr,optional"` Routes Routes `alloy:"routes,block,optional"` Attributes Attributes `alloy:"attributes,block,optional"` Discovery Discovery `alloy:"discovery,block,optional"` Metrics Metrics `alloy:"metrics,block,optional"` EBPF EBPF `alloy:"ebpf,block,optional"` Filters Filters `alloy:"filters,block,optional"` Output *otelcol.ConsumerArguments `alloy:"output,block,optional"` }
Arguments configures the Beyla component.
type AttributeFamilies ¶
type AttributeFamilies []AttributeFamily
type AttributeFamily ¶
type Attributes ¶
type Attributes struct { Kubernetes KubernetesDecorator `alloy:"kubernetes,block"` InstanceID InstanceIDConfig `alloy:"instance_id,block,optional"` Select Selections `alloy:"select,block,optional"` }
func (Attributes) Convert ¶
func (args Attributes) Convert() beyla.Attributes
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) CurrentHealth ¶
type Discovery ¶
type Discovery struct { Services Services `alloy:"services,block"` ExcludeServices Services `alloy:"exclude_services,block,optional"` DefaultExcludeServices Services `alloy:"default_exclude_services,block,optional"` SkipGoSpecificTracers bool `alloy:"skip_go_specific_tracers,attr,optional"` ExcludeOTelInstrumentedServices bool `alloy:"exclude_otel_instrumented_services,attr,optional"` }
type EBPF ¶
type EBPF struct { WakeupLen int `alloy:"wakeup_len,attr,optional"` TrackRequestHeaders bool `alloy:"track_request_headers,attr,optional"` HTTPRequestTimeout time.Duration `alloy:"http_request_timeout,attr,optional"` ContextPropagationEnabled bool `alloy:"enable_context_propagation,attr,optional"` HighRequestVolume bool `alloy:"high_request_volume,attr,optional"` HeuristicSQLDetect bool `alloy:"heuristic_sql_detect,attr,optional"` }
func (EBPF) Convert ¶
func (args EBPF) Convert() beylaCfg.EBPFTracer
type Filters ¶
type Filters struct { Application AttributeFamilies `alloy:"application,block,optional"` Network AttributeFamilies `alloy:"network,block,optional"` }
func (Filters) Convert ¶
func (args Filters) Convert() filter.AttributesConfig
type InstanceIDConfig ¶
type KubernetesDecorator ¶
type KubernetesDecorator struct { Enable string `alloy:"enable,attr"` ClusterName string `alloy:"cluster_name,attr,optional"` InformersSyncTimeout time.Duration `alloy:"informers_sync_timeout,attr,optional"` InformersResyncPeriod time.Duration `alloy:"informers_resync_period,attr,optional"` DisableInformers []string `alloy:"disable_informers,attr,optional"` MetaRestrictLocalNode bool `alloy:"meta_restrict_local_node,attr,optional"` }
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 Metrics ¶ added in v1.3.0
type Metrics struct { Features []string `alloy:"features,attr,optional"` Instrumentations []string `alloy:"instrumentations,attr,optional"` AllowServiceGraphSelfReferences bool `alloy:"allow_service_graph_self_references,attr,optional"` Network Network `alloy:"network,block,optional"` }
func (Metrics) Convert ¶ added in v1.3.0
func (args Metrics) Convert() prom.PrometheusConfig
type Network ¶ added in v1.3.0
type Network struct { Enable bool `alloy:"enable,attr"` Source string `alloy:"source,attr,optional"` AgentIP string `alloy:"agent_ip,attr,optional"` AgentIPIface string `alloy:"agent_ip_iface,attr,optional"` AgentIPType string `alloy:"agent_ip_type,attr,optional"` Interfaces []string `alloy:"interfaces,attr,optional"` ExcludeInterfaces []string `alloy:"exclude_interfaces,attr,optional"` Protocols []string `alloy:"protocols,attr,optional"` ExcludeProtocols []string `alloy:"exclude_protocols,attr,optional"` CacheMaxFlows int `alloy:"cache_max_flows,attr,optional"` CacheActiveTimeout time.Duration `alloy:"cache_active_timeout,attr,optional"` Direction string `alloy:"direction,attr,optional"` Sampling int `alloy:"sampling,attr,optional"` CIDRs []string `alloy:"cidrs,attr,optional"` }
func (Network) Convert ¶ added in v1.3.0
func (args Network) Convert() beyla.NetworkConfig
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"` WildcardChar string `alloy:"wildcard_char,attr,optional"` }
func (Routes) Convert ¶
func (args Routes) Convert() *transform.RoutesConfig
type Selections ¶
type Selections []Selection
func (Selections) Convert ¶
func (args Selections) Convert() attributes.Selection
Click to show internal directories.
Click to hide internal directories.