Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReaderAtCloser ¶
func NewReaderAtCloser(data []byte) interface { io.ReadCloser io.ReaderAt }
Types ¶
type Config ¶
type Config struct {
DebuginfodURL string `yaml:"debuginfod_url"`
}
func (*Config) RegisterFlags ¶
type DebuginfodClient ¶
type DebuginfodClientConfig ¶
type DebuginfodClientConfig struct {
BaseURL string
HTTPClient *http.Client
BackoffConfig backoff.Config
UserAgent string
NotFoundCacheMaxItems int64
NotFoundCacheTTL time.Duration
}
DebuginfodClientConfig holds configuration for the debuginfod client.
type DebuginfodHTTPClient ¶
type DebuginfodHTTPClient struct {
// contains filtered or unexported fields
}
DebuginfodHTTPClient implements the DebuginfodClient interface using HTTP.
func NewDebuginfodClient ¶
func NewDebuginfodClient(logger log.Logger, baseURL string, metrics *metrics) (*DebuginfodHTTPClient, error)
NewDebuginfodClient creates a new client for fetching debug information from a debuginfod server.
func NewDebuginfodClientWithConfig ¶
func NewDebuginfodClientWithConfig(logger log.Logger, cfg DebuginfodClientConfig, metrics *metrics) (*DebuginfodHTTPClient, error)
NewDebuginfodClientWithConfig creates a new client with the specified configuration.
func (*DebuginfodHTTPClient) FetchDebuginfo ¶
func (c *DebuginfodHTTPClient) FetchDebuginfo(ctx context.Context, buildID string) (io.ReadCloser, error)
FetchDebuginfo fetches the debuginfo file for a specific build ID.
type LidiaTableCacheEntry ¶
type LidiaTableCacheEntry struct {
Data []byte // Processed Lidia table data
}
LidiaTableCacheEntry represents a cached Lidia table with its binary layout information
type Symbolizer ¶
type Symbolizer struct {
// contains filtered or unexported fields
}
func New ¶
func New(logger log.Logger, cfg Config, reg prometheus.Registerer, bucket objstore.Bucket) (*Symbolizer, error)
func (*Symbolizer) SymbolizePprof ¶
Click to show internal directories.
Click to hide internal directories.