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/TickSnapshot.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/TickSnapshot.scala')
-rw-r--r-- | kamon-core/src/main/scala/kamon/metric/TickSnapshot.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kamon-core/src/main/scala/kamon/metric/TickSnapshot.scala b/kamon-core/src/main/scala/kamon/metric/TickSnapshot.scala new file mode 100644 index 00000000..4248180c --- /dev/null +++ b/kamon-core/src/main/scala/kamon/metric/TickSnapshot.scala @@ -0,0 +1,17 @@ +package kamon.metric + +import java.time.Instant + + +trait TickSnapshot { + def interval: Interval + def entities: Seq[EntitySnapshot] +} + +trait Interval { + def from: Instant + def to: Instant +} + + + |