aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala b/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
index 810475b7..e3b136dd 100644
--- a/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
+++ b/kamon-core/src/main/scala/kamon/metric/EntityRecorder.scala
@@ -59,7 +59,7 @@ private[kamon] sealed trait SingleInstrumentEntityRecorder extends EntityRecorde
def instrument: Instrument
def collect(collectionContext: CollectionContext): EntitySnapshot =
- new DefaultEntitySnapshot(Map(key -> instrument.collect(collectionContext)))
+ new DefaultEntitySnapshot(Map(key → instrument.collect(collectionContext)))
def cleanup: Unit = instrument.cleanup
}
@@ -225,7 +225,7 @@ abstract class GenericEntityRecorder(instrumentFactory: InstrumentFactory) exten
def collect(collectionContext: CollectionContext): EntitySnapshot = {
val snapshots = Map.newBuilder[MetricKey, InstrumentSnapshot]
_instruments.foreach {
- case (key, instrument) ⇒ snapshots += key -> instrument.collect(collectionContext)
+ case (key, instrument) ⇒ snapshots += key → instrument.collect(collectionContext)
}
new DefaultEntitySnapshot(snapshots.result())