This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.LongBuffer | |
import akka.actor.{ActorLogging, Actor} | |
import kamon.metric._ | |
import kamon.metric.instrument.{Histogram, CollectionContext} | |
class MetricsCollector extends Actor with ActorLogging { | |
import MetricsCollector._ | |
def ms(nanos: Long) = nanos / 1000 / 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.logging.Logger | |
import scala.concurrent.ExecutionContext | |
import de.flapdoodle.embed.mongo.{Command, MongodStarter} | |
import de.flapdoodle.embed.mongo.config.{MongodConfigBuilder, Net, RuntimeConfigBuilder} | |
import de.flapdoodle.embed.mongo.distribution.Version | |
import de.flapdoodle.embed.process.config.IRuntimeConfig | |
import de.flapdoodle.embed.process.config.io.ProcessOutput | |
import de.flapdoodle.embed.process.runtime.Network |