# Functions
No description provided by the author
Logger is a middleware for logging begin and end messages.
Metrics is a middleware to make count and duration report
Prometheus-specific implementation:
The "_total" suffix is appended to the counter name, defined in "counterSuffix", see:
https://github.com/open-telemetry/opentelemetry-go/blob/main/exporters/prometheus/exporter.go#L100
The unit "s" is appended as "_seconds" to the metric name (injected before the "_total" suffix),
defined in "unitSuffixes", see
https://github.com/open-telemetry/opentelemetry-go/blob/main/exporters/prometheus/exporter.go#L343
*/.
SemAcquire is a middleware to acquire semaphore.
Span is a middleware to start/end a new span, using from context.
TryCatch is a middleware for catching Go panic and propagating it as an error.
# Variables
ErrPanic is an error for captured panic.
ErrTypeCast is an error for type assertion from interface.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author