Documentation
¶
Index ¶
- func Middleware(duck *duckbug.Duck, options ...Option) func(http.Handler) http.Handler
- type Config
- type Option
- func WithCapturePanics(enabled bool) Option
- func WithCaptureTransactions(enabled bool) Option
- func WithIgnoredPathPrefixes(prefixes ...string) Option
- func WithIgnoredPaths(paths ...string) Option
- func WithMaxBodyBytes(limit int64) Option
- func WithReadBody(enabled bool) Option
- func WithRepanic(enabled bool) Option
- func WithSkipRequest(fn func(*http.Request) bool) Option
- func WithTransactionSampleRate(rate float64) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Config)
func WithCapturePanics ¶
func WithCaptureTransactions ¶ added in v0.1.1
func WithIgnoredPathPrefixes ¶ added in v0.1.1
func WithIgnoredPaths ¶ added in v0.1.1
func WithMaxBodyBytes ¶
func WithReadBody ¶
func WithRepanic ¶
func WithTransactionSampleRate ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.