io.pedestal.metrics.otel

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.