Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct {
// contains filtered or unexported fields
}
func (*Hook) AfterProcess ¶
func (h *Hook) AfterProcess(c *contexts.ContextHook) error
func (*Hook) BeforeProcess ¶
type Option ¶
type Option func(*Options)
func WithDurationBuckets ¶
WithDurationBuckets sets the duration buckets of single commands metrics.
func WithNamespace ¶
WithNamespace sets the namespace of all metrics.
func WithStatInterval ¶
WithStatInterval sets the duration buckets of single commands metrics.
func WithSubsystem ¶
WithSubsystem sets the namespace of all metrics.
Click to show internal directories.
Click to hide internal directories.