slackertrace

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 10 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL