diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2017-04-28 14:56:02 +0200 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2017-04-28 15:00:06 +0200 |
commit | f24c1a7a4b96dcfb2609c6f512f34dd6d54de439 (patch) | |
tree | 9e32bb0018a8c708e2dd33d5c30cd6786ed48731 /kamon-core/src/main/scala/kamon/metric/EntitySnapshot.scala | |
parent | f5e70695ad0124cd5cd648d186d5174c7b121266 (diff) | |
download | Kamon-f24c1a7a4b96dcfb2609c6f512f34dd6d54de439.tar.gz Kamon-f24c1a7a4b96dcfb2609c6f512f34dd6d54de439.tar.bz2 Kamon-f24c1a7a4b96dcfb2609c6f512f34dd6d54de439.zip |
implement MinMaxCounter and Gauge, include them in the InstrumentFactory
Diffstat (limited to 'kamon-core/src/main/scala/kamon/metric/EntitySnapshot.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/EntitySnapshot.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/EntitySnapshot.scala b/kamon-core/src/main/scala/kamon/metric/EntitySnapshot.scala new file mode 100644 index 00000000..e51e80cc --- /dev/null +++ b/kamon-core/src/main/scala/kamon/metric/EntitySnapshot.scala @@ -0,0 +1,11 @@ +package kamon.metric + +import kamon.metric.instrument.{DistributionSnapshot, SingleValueSnapshot} + +trait EntitySnapshot { + def entity: Entity + def histograms: Seq[DistributionSnapshot] + def minMaxCounters: Seq[DistributionSnapshot] + def gauges: Seq[SingleValueSnapshot] + def counters: Seq[SingleValueSnapshot] +}
\ No newline at end of file |