From 59ee73506059b2c48c779d4630c09d02f44b3dce Mon Sep 17 00:00:00 2001 From: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:47:52 +0530 Subject: [PATCH] Update OpenTelemetryMetrics.scala --- .../server/metrics/opentelemetry/OpenTelemetryMetrics.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala b/metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala index dfec33b98a..2e20fd48e1 100644 --- a/metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala +++ b/metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala @@ -138,6 +138,7 @@ object OpenTelemetryMetrics { } ) + def requestDuration[F[_]](meter: Meter, labels: MetricLabels): Metric[F, DoubleHistogram] = Metric[F, DoubleHistogram]( meter