blob: fe027c91eb6e573f050c90adc1fc445b11c370ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package kamon.metric
import java.time.Instant
import kamon.metric.instrument.{DistributionSnapshot, SingleValueSnapshot}
case class Interval(from: Instant, to: Instant)
case class RegistrySnapshot(histograms: Seq[DistributionSnapshot], minMaxCounters: Seq[DistributionSnapshot],
gauges: Seq[SingleValueSnapshot], counters: Seq[SingleValueSnapshot])
case class TickSnapshot(interval: Interval, metrics: RegistrySnapshot)
trait RegistrySnapshotGenerator {
def snapshot(): RegistrySnapshot
}
|