Skip to content

Commit

Permalink
class -> case class for RequestCollectors
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmeredith committed Jan 8, 2023
1 parent e282a4b commit 7870222
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ object PrometheusBackend {
cache.getOrElseUpdate(collectorRegistry, new ConcurrentHashMap[String, T]())
}

final class RequestCollectors(val maybeTimer: Option[Histogram.Timer], val maybeGauge: Option[Gauge.Child])
final case class RequestCollectors(maybeTimer: Option[Histogram.Timer], maybeGauge: Option[Gauge.Child])
}

class PrometheusListener(
Expand Down

0 comments on commit 7870222

Please sign in to comment.