package builder

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. builder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait AlertConfig extends AnyRef
  2. case class AlertConfigBuilder(serviceName: String, handlers: Seq[String] = Seq("noop"), errorsLoggedThreshold: Int = Int.MaxValue, exceptionThreshold: ExceptionThreshold = ExceptionThreshold(), http5xxThreshold: Http5xxThreshold = Http5xxThreshold(), http5xxPercentThreshold: Http5xxPercentThreshold = Http5xxPercentThreshold(100.0), httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold] = Nil, httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold] = Nil, httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold] = Nil, containerKillThreshold: Int = 1, httpStatusThresholds: Seq[HttpStatusThreshold] = Nil, httpStatusPercentThresholds: Seq[HttpStatusPercentThreshold] = Nil, metricsThresholds: Seq[MetricsThreshold] = Nil, logMessageThresholds: Seq[LogMessageThreshold] = Nil, totalHttpRequestThreshold: Int = Int.MaxValue, averageCPUThreshold: Int = Int.MaxValue, platformService: Boolean = false) extends Builder[Option[String]] with Product with Serializable
  3. sealed trait AlertSeverity extends AnyRef
  4. trait Builder[T] extends AnyRef
  5. sealed trait Environment extends AnyRef
  6. case class EnvironmentAlertBuilder(handlerName: String, command: Option[JsValue] = None, enabledEnvironments: Map[Environment, Set[Severity]] = Map((Environment.Production, Set(Severity.Ok, Severity.Warning, Severity.Critical))), customEnvironmentNames: Map[Environment, String] = Map((Environment.Production, "aws_production")), handlerFilters: Map[Environment, JsValue] = Map((Environment.Production, JsString("occurrences")))) extends Product with Serializable
  7. case class ExceptionThreshold(count: Int = 2, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  8. case class Http5xxPercentThreshold(percentage: Double = 100.0, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  9. case class Http5xxThreshold(count: Int = Int.MaxValue, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  10. case class HttpAbsolutePercentSplitDownstreamHodThreshold(percentThreshold: Double = 100.0, crossOver: Int = 0, absoluteThreshold: Int = Int.MaxValue, hysteresis: Double = 1.0, excludeSpikes: Int = 0, errorFilter: String = "status:>498", target: String = "", severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  11. case class HttpAbsolutePercentSplitDownstreamServiceThreshold(percentThreshold: Double = 100.0, crossOver: Int = 0, absoluteThreshold: Int = Int.MaxValue, hysteresis: Double = 1.0, excludeSpikes: Int = 0, errorFilter: String = "status:>498", target: String = "", severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  12. case class HttpAbsolutePercentSplitThreshold(percentThreshold: Double = 100.0, crossOver: Int = 0, absoluteThreshold: Int = Int.MaxValue, hysteresis: Double = 1.0, excludeSpikes: Int = 0, errorFilter: String = "status:>498", severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  13. sealed trait HttpMethod extends AnyRef
  14. case class HttpStatusPercentThreshold(httpStatus: HTTP_STATUS, percentage: Double = 100.0, severity: AlertSeverity = AlertSeverity.Critical, httpMethod: HttpMethod = HttpMethod.All) extends Product with Serializable
  15. case class HttpStatusThreshold(httpStatus: HTTP_STATUS, count: Int = 1, severity: AlertSeverity = AlertSeverity.Critical, httpMethod: HttpMethod = HttpMethod.All) extends Product with Serializable
  16. case class LogMessageThreshold(message: String, count: Int, lessThanMode: Boolean = false, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  17. class Logger extends AnyRef
  18. case class MetricsThreshold(name: String, query: String, warning: Option[Double] = None, critical: Option[Double] = None, invert: Boolean = false) extends Product with Serializable
  19. sealed trait Severity extends AnyRef
  20. case class TeamAlertConfigBuilder(services: Seq[String], handlers: Seq[String] = Seq("noop"), errorsLoggedThreshold: Int = Int.MaxValue, exceptionThreshold: ExceptionThreshold = ExceptionThreshold(), http5xxThreshold: Http5xxThreshold = Http5xxThreshold(), http5xxPercentThreshold: Http5xxPercentThreshold = Http5xxPercentThreshold(100.0), httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold] = Nil, httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold] = Nil, httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold] = Nil, containerKillThreshold: Int = 1, httpStatusThresholds: Seq[HttpStatusThreshold] = Nil, httpStatusPercentThresholds: Seq[HttpStatusPercentThreshold] = Nil, metricsThresholds: Seq[MetricsThreshold] = Nil, logMessageThresholds: Seq[LogMessageThreshold] = Nil, totalHttpRequestThreshold: Int = Int.MaxValue, averageCPUThreshold: Int = Int.MaxValue, platformService: Boolean = false) extends Builder[Seq[AlertConfigBuilder]] with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped