io.pedestal.metrics.otel

added in 0.7.0

Default metrics implementation based on OpenTelemetry.

wrap-meter

(wrap-meter meter)(wrap-meter meter time-source-fn)

Wraps a Meter instance as a MetricSource.

time-source-fn: used for testing, returns the current time in nanoseconds; used with timers.