Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathFilter ¶
func PathFilter(opts *Options) otelgin.Filter
func UseRealPath ¶
func UseRealPath() otelgin.SpanNameGenerater
Types ¶
type Options ¶
type Options struct {
Enable bool `json:"enable" description:"enable otel"`
ExcludePaths string `json:"excludePaths" description:"exclude http request paths to sample, split by ','"`
}
func NewDefaultOptions ¶
func NewDefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.