Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExtension ¶
func NewExtension(complexityReporter ComplexityReporter, opts ...Option) *extension
NewExtension sets a logger/tracer which reports a query complexity exceeds a threshold
func WithThreshold ¶
func WithThreshold(threshold int) func(*extension)
Types ¶
Click to show internal directories.
Click to hide internal directories.