Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger log.Logger, c *Config) (integrations.Integration, error)
New sets up an ebpf exporter from a given config.
Types ¶
type Config ¶
type Config struct {
Programs []ebpf_config.Program `yaml:"programs,omitempty"`
}
Config controls the eBPF integration.
func (*Config) InstanceKey ¶
InstanceKey returns a set identifier for the ebpf_exporter integration.
func (*Config) NewIntegration ¶
func (c *Config) NewIntegration(logger log.Logger) (integrations.Integration, error)
NewIntegration creates a new ebpf_exporter instance.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML implements yaml.Unmarshaler for Config.
Click to show internal directories.
Click to hide internal directories.