Open pjfanning opened 2 years ago
These dropwizard and prometheus metrics have very similar APIs but they don't share a super class (or interface/trait). From an object oriented programming perspective, it would be nice to have a shared Counter trait (as one example).
trait CounterMetric { def inc(): Task[Unit] def inc(amount: Double): Task[Unit] }
These dropwizard and prometheus metrics have very similar APIs but they don't share a super class (or interface/trait). From an object oriented programming perspective, it would be nice to have a shared Counter trait (as one example).