Documentation ¶
Index ¶
Constants ¶
View Source
const TracePaused = "trace-paused"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(p *otelPlugin)
func WithAttributes ¶
WithAttributes configures attributes that are used to create a span.
func WithQueryFormatter ¶
WithQueryFormatter configures a query formatter
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider configures a tracer provider that is used to create a tracer.
func WithoutMetrics ¶
func WithoutMetrics() Option
WithoutMetrics prevents DBStats metrics from being reported.
func WithoutQueryVariables ¶
func WithoutQueryVariables() Option
WithoutQueryVariables configures the db.statement attribute to exclude query variables
Click to show internal directories.
Click to hide internal directories.