Documentation ¶
Overview ¶
Package slackertrace provides a Slacker trace exporter for OpenTelemetry.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricsMiddleware ¶
func MetricsMiddleware() slacker.CommandMiddlewareHandler
MetricsMiddleware returns a slacker middleware that records metrics for each command.
func TracingMiddleware ¶
func TracingMiddleware(handler metrics.Handler) slacker.CommandMiddlewareHandler
TracingMiddleware is a middleware that creates a new span for each command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.