aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala
Commit message (Collapse)AuthorAgeFilesLines
* ! core,akka: separate all akka instrumentation into it's own kamon-akka ↵Ivan Topolnjak2014-12-281-224/+0
| | | | | | | | | | | | | | | module, related to #136. All Akka-related instrumentation and code has been moved to the kamon-akka module, including the filters for actor, dispatcher and router metrics. Also the following changes are included: - Router Metrics are now working properly, related to #139. - Cleanup the log output for this module, related to #142. - Some minor cleanups in various tests. This PR breaks the reporting modules which will need to wait for #141 to be ready to come back to life.
* = core: kamon akka instrumentation name spaceAndrei Pozolotin2014-11-121-1/+1
| | | | suppress javac warnings move javac settings
* = core: ensure that ActorMetricsSpec uses the correct configuration.Ivan Topolnjak2014-11-091-3/+8
|
* = core: use explicitly thrown exceptions for failure tests.Ivan Topolnjak2014-10-191-1/+1
|
* = core: minor fix in actor metrics specIvan Topolnjak2014-08-041-4/+4
|
* = core: cleanup actor metrics recorder after the actor is stopped, closes #69Ivan Topolnjak2014-08-021-1/+15
|
* = core: ensure that no automatic metric flushes occur during certain testsIvan Topolnjak2014-07-041-0/+3
|
* ! all: refactor the core metric recording instruments and accomodate UserMetricsIvan Topolnjak2014-07-031-0/+202
This PR is including several changes to the kamon-core, most notably: - Formalize the interface for Histograms, Counters and MinMaxCounters. Making sure that the interfaces are as clean as possible. - Move away from the all Vector[Measurement] based Histogram snapshot to a new approach in which we use a single long to store both the index in the counts array and the frequency on that bucket. The leftmost 2 bytes of each long are used for storing the counts array index and the remaining 6 bytes are used for the actual count, and everything is put into a simple long array. This way only the buckets that actually have values will be included in the snapshot with the smallest possible memory footprint. - Introduce Gauges. - Reorganize the instrumentation for Akka and Scala and rewrite most of the tests of this components to avoid going through the subscription protocol to test. - Introduce trace tests and fixes on various tests. - Necessary changes on new relic, datadog and statsd modules to compile with the new codebase. Pending: - Finish the upgrade of the new relic to the current model. - Introduce proper limit checks for histograms to ensure that we never pass the 2/6 bytes limits. - More testing, more testing, more testing. - Create the KamonStandalone module.