bpfstack

package module
v0.0.0-...-135d871 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: AGPL-3.0 Imports: 24 Imported by: 0

README

BPFstack Receiver

Status
Stability [alpha]: traces, logs
Distributions [bpf]
License AGPL v3

Special Thanks

This project is only made possible due to the awesome work of OpenTelemetry, Pyroscope & Pprof

Documentation

Overview

Package bpfstack receives data from stack profiling generated from eBPF

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() receiver.Factory

Types

type Config

type Config struct {
	// Discovery frequency for target discovery, i.e. how often to update information for
	// correlating BPF data with user-friendly information.
	TargetDiscoveryFreq time.Duration `mapstructure:"discovery_frequency"`
	// Collection frequency for BPF data, i.e. how often to collect BPF stack profiles
	CollectFreq time.Duration `mapstructure:"collection_frequency"`
}

TODO : embed pyro.Config in here, need custom unmarshaller

type ProfileSeries

type ProfileSeries struct {
	Labels map[string]string
	Series []*profile.Profile
	// contains filtered or unexported fields
}

func (*ProfileSeries) ToLogs

func (ps *ProfileSeries) ToLogs() plog.Logs

func (*ProfileSeries) ToMetrics

func (ps *ProfileSeries) ToMetrics() pmetric.Metrics

func (*ProfileSeries) ToTraces

func (ps *ProfileSeries) ToTraces(start, end time.Time) []ptrace.Traces

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL