object MetricDef extends LowPriorityInstances with Serializable
- Alphabetic
- By Inheritance
- MetricDef
- Serializable
- Serializable
- LowPriorityInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class MetricCounter(role: String, label: String, initial: Int) extends MetricDef with Product with Serializable
- final case class MetricGauge(role: String, label: String, initial: Double) extends MetricDef with Product with Serializable
- final case class MetricHistogram(role: String, label: String, initial: Double) extends MetricDef with Product with Serializable
- final case class MetricMeter(role: String, label: String, initial: Double) extends MetricDef with Product with Serializable
- final case class MetricTimer(role: String, label: String, initial: Double) extends MetricDef with Product with Serializable
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def decode(metric: String): Either[Throwable, MetricDef]
-
implicit
def
decoderFromCirce[R[_]](implicit enc: _Decoder[R]): R[MetricDef]
This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have circe-core as a dependency without REQUIRING a circe-core dependency.
This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have circe-core as a dependency without REQUIRING a circe-core dependency.
Optional instance via https://blog.7mind.io/no-more-orphans.html
- Definition Classes
- LowPriorityInstances
- def encode(metric: MetricDef): String
- def encodeAll(metrics: List[MetricDef]): String
-
implicit
def
encoderFromCirce[R[_]](implicit enc: _Encoder[R]): R[MetricDef]
This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have circe-core as a dependency without REQUIRING a circe-core dependency.
This instance uses 'no more orphans' trick to provide an Optional instance only IFF you have circe-core as a dependency without REQUIRING a circe-core dependency.
Optional instance via https://blog.7mind.io/no-more-orphans.html
- Definition Classes
- LowPriorityInstances
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object MetricsRegex
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.