aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/Util.scala
blob: 51282afce31730527609aec33167d9213323b90e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package kamon

import kamon.util.{Clock, EntityFilter}

/**
  * Useful classes for Kamon and submodules.
  *
  */
trait Util {
  /**
    * @return The Clock instance used by Kamon for timestamps and latency measurements.
    */
  def clock: Clock

  /**
    * @return Currently configured entity filters.
    */
  def entityFilter: EntityFilter
}