pprof_split

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VisitSampleSeries

func VisitSampleSeries(
	profile *profilev1.Profile,
	labels []*typesv1.LabelPair,
	rules []*relabel.Config,
	visitor SampleSeriesVisitor,
)

Types

type SampleSeriesVisitor

type SampleSeriesVisitor interface {
	// VisitProfile is called when no sample labels are present in
	// the profile, or if all the sample labels are identical.
	// Provided labels are the series labels processed with relabeling rules.
	VisitProfile([]*typesv1.LabelPair)
	VisitSampleSeries([]*typesv1.LabelPair, []*profilev1.Sample)
	Discarded(profiles, bytes int)
}

Jump to

Keyboard shortcuts

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