Documentation ¶
Overview ¶
Package bpfstack receives data from stack profiling generated from eBPF
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidDelta = errors.New("invalid delta value, must be positive")
)
Functions ¶
func NewFactory ¶
func NewPprofReceiver ¶
Types ¶
type AllocConfig ¶
type AllocConfig struct {
*GenericConfig
}
type Config ¶
type Config struct { Endpoints []EndpointConfig `mapstructure:"endpoints"` Global GenericConfig `mapstructure:"global"` }
type EndpointConfig ¶
type EndpointConfig struct { Id string `mapstructure:"id"` ExtraLabels map[string]string `mapstructure:"extra_labels"` Endpoint string `mapstructure:"endpoint"` GenericConfig *GenericConfig `mapstructure:"local"` Targets map[string]*GenericConfig `mapstructure:"targets"` }
func (*EndpointConfig) Validate ¶
func (e *EndpointConfig) Validate() error
type GenericConfig ¶
type GenericConfig struct { CollectionInterval *time.Duration `mapstructure:"collection_interval"` Labels *map[string]string `mapstructure:"labels"` Seconds *int `mapstructure:"seconds"` }
func Merge ¶
func Merge(ours, theirs *GenericConfig) *GenericConfig
func (*GenericConfig) Validate ¶
func (g *GenericConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.