Versions in this module Expand all Collapse all v0 v0.2.1 Jul 12, 2022 Changes in this version + func HandlerFor(opts ...Option) http.Handler + func HandlerFuncFor(opts ...Option) http.HandlerFunc v0.2.0 Jul 12, 2022 Changes in this version + func HandleFor(opts ...Option) http.Handler + type Collector struct + func NewCollector(opts ...Option) *Collector + func (c *Collector) Collect(ctx context.Context) ([]byte, error) + func (c *Collector) Write(ctx context.Context, w io.Writer) (int, error) + type Option func(o *option) + func WithDebugLevel(level int) Option + func WithEnabledProfiles(profiles []string) Option + func WithSamplingSeconds(n int) Option