2011-09-24 09:59:27 +02:00
|
|
|
resolvers += Classpaths.typesafeResolver
|
2011-09-23 10:21:03 +02:00
|
|
|
|
2014-05-05 16:45:48 +02:00
|
|
|
resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven"
|
|
|
|
|
|
2012-09-20 21:50:35 +02:00
|
|
|
// these comment markers are for including code into the docs
|
|
|
|
|
//#sbt-multi-jvm
|
2013-09-20 09:59:12 +02:00
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-multi-jvm" % "0.3.8")
|
2012-09-20 21:50:35 +02:00
|
|
|
//#sbt-multi-jvm
|
2012-01-12 12:47:11 +04:00
|
|
|
|
2013-10-18 14:13:23 +02:00
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-scalariform" % "1.2.0")
|
2011-11-29 16:40:39 +01:00
|
|
|
|
2013-10-18 14:13:23 +02:00
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.7.1")
|
2012-09-26 18:21:52 +12:00
|
|
|
|
2013-10-18 14:13:23 +02:00
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.6.0")
|
2012-05-16 23:49:42 +02:00
|
|
|
|
2013-10-18 14:13:23 +02:00
|
|
|
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.6")
|
2012-05-25 10:02:35 +02:00
|
|
|
|
2014-11-13 18:56:02 +02:00
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
|
2013-08-21 09:22:46 +02:00
|
|
|
|
|
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-s3" % "0.5")
|
2014-04-17 16:38:48 +02:00
|
|
|
|
2014-04-25 16:32:43 +02:00
|
|
|
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.3.1")
|
|
|
|
|
|
2014-05-05 16:45:48 +02:00
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.6.2")
|
|
|
|
|
|
2014-11-23 22:18:09 +01:00
|
|
|
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.1.6")
|
|
|
|
|
|
=act,tes Initial draft of internal MetricsKit
Note: This is NOT aimed to provide an micro-benchmarking solution.
The goal is to provide data for broad trend analysis. For techniques
that fight the inliner and other specialised techniques, refer to JMH.
+ custom console and graphite reporters
- had to be custom because it's not possible to add custom metric
types to the existing reporters
+ initial hdr.Histogram histogram() provider, see
http://latencyutils.github.io/LatencyUtils/
+ Not using timers provided by Metrics, instead use the above histogram
+ Added average Actor size measurement
+ Measuring the "blocking time" when an actor is created, before we fire
of the async part of this process; Measures in loop and will fluctuate
a lot. Times are in `us` -- System.nanoTime should provide good enough
resolution.
+ Measuring total actor creation time by using
`KnownOpsInTimespanTimer`, which given a known number of ops, in a
large amount of time, roughtly estimates time per one operation.
// Yes, we are aware of the possibility of GC pauses and other horrors
+ All classes are `private[akka]`, we should not encourage people to use
this yet
+ Counters use Java 8's `LongAdder`, which is metric's private;
The new trend in Java land will be copy paste-ing this class ;)
+ Metrics are logged to Graphite, so we can long-term analyse these
+ Reporters are configurable using typesafe-config
! I'm not very happy about how I work around Metrics not being too open
for adding additional custom metrics. Seems like a hack at places.
I will consider removing the Metrics dependency all together.
numbers
Example output:
```
-- KnownOpsInTimespanTimer-------------------------------------------
actor-creation.total.creating-100000-actors.Props|new-EmptyArgsActor|…||-same
ops = 100000
time = 1.969 s
ops/s = 50782.22
avg = 19.69 μs
-- AveragingGauge---------------------------------------------------
actor-creation.Props|new-EmptyArgsActor|…||-same.avg-mem-per-actor
avg = 439.67
```
2014-04-29 10:50:36 +02:00
|
|
|
// stats reporting
|
2014-04-17 16:38:48 +02:00
|
|
|
libraryDependencies += "com.timgroup" % "java-statsd-client" % "2.0.0"
|
2015-04-01 12:01:07 +02:00
|
|
|
|
|
|
|
|
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.0.0-RC1")
|
2015-05-05 19:39:56 +02:00
|
|
|
|
|
|
|
|
// for advanced PR validation features
|
|
|
|
|
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.4")
|
|
|
|
|
|
|
|
|
|
libraryDependencies += "org.kohsuke" % "github-api" % "1.68"
|