Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func UnsymbolizableMapping ¶ added in v0.12.0
UnsymbolizableMapping returns true if a mapping points to a binary for which locations can't be symbolized in principle, at least now. Examples are "[vdso]", [vsyscall]" and some others, see the code.
Types ¶
type DebuginfoFetcher ¶ added in v0.15.0
type DebuginfoFetcher interface { // Fetch ensures that the debug info for the given build ID is available on // a local filesystem and returns a path to it. FetchDebuginfo(ctx context.Context, dbginfo *debuginfopb.Debuginfo) (io.ReadCloser, error) }
type DebuginfoMetadata ¶ added in v0.15.0
type DebuginfoMetadata interface { SetQuality(ctx context.Context, buildID string, quality *debuginfopb.DebuginfoQuality) error Fetch(ctx context.Context, buildID string) (*debuginfopb.Debuginfo, error) }
type MappingLocations ¶ added in v0.12.0
type Option ¶ added in v0.15.0
type Option func(*Symbolizer)
func WithAttemptThreshold ¶ added in v0.15.0
func WithDemangleMode ¶ added in v0.15.0
type Symbolizer ¶
type Symbolizer struct {
// contains filtered or unexported fields
}
func New ¶
func New( logger log.Logger, reg prometheus.Registerer, metadata DebuginfoMetadata, metastore pb.MetastoreServiceClient, debuginfo DebuginfoFetcher, tmpDir string, batchSize uint32, opts ...Option, ) *Symbolizer
Click to show internal directories.
Click to hide internal directories.