SlowConfig

final case class SlowConfig(threshold: Option[Duration], enabled: Option[Boolean])

Strategy to classify request as "slow".

Value parameters:
enabled

Whether to log slow requests.

threshold

The threshold to classify a successful request as "slow". If this is unset, all successful requests will be considered as normal.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product