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(), http5xxRateIncrease: Seq[Http5xxRateIncrease] = Nil, http5xxThreshold: Http5xxThreshold = Http5xxThreshold(), http5xxPercentThreshold: Http5xxPercentThreshold = Http5xxPercentThreshold(100.0), http90PercentileResponseTimeThresholds: Seq[Http90PercentileResponseTimeThreshold] = Nil, httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold] = Nil, httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold] = Nil, httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold] = Nil, containerKillThreshold: Int = 1, httpTrafficThresholds: Seq[HttpTrafficThreshold] = Nil, 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. sealed trait AlertingPlatform extends AnyRef
  5. trait Builder[T] extends AnyRef
  6. sealed trait Environment extends AnyRef
  7. 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
  8. case class ExceptionThreshold(count: Int = 2, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  9. case class Http5xxPercentThreshold(percentage: Double = 100.0, severity: AlertSeverity = AlertSeverity.Critical, alertingPlatform: AlertingPlatform = AlertingPlatform.Sensu) extends Product with Serializable
  10. case class Http5xxRateIncrease(name: String, simple_threshold: Int, complex_threshold: Int) extends Product with Serializable
  11. case class Http5xxThreshold(count: Int = Int.MaxValue, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  12. case class Http90PercentileResponseTimeThreshold(warning: Option[Int], critical: Option[Int], timePeriod: Int = 15) extends Product with Serializable
  13. 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
  14. 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
  15. 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
  16. sealed trait HttpMethod extends AnyRef
  17. case class HttpStatusPercentThreshold(httpStatus: HTTP_STATUS, percentage: Double = 100.0, severity: AlertSeverity = AlertSeverity.Critical, httpMethod: HttpMethod = HttpMethod.All) extends Product with Serializable
  18. case class HttpStatusThreshold(httpStatus: HTTP_STATUS, count: Int = 1, severity: AlertSeverity = AlertSeverity.Critical, httpMethod: HttpMethod = HttpMethod.All, alertingPlatform: AlertingPlatform = AlertingPlatform.Sensu) extends Product with Serializable
  19. case class HttpTrafficThreshold(warning: Option[Int], critical: Option[Int], maxMinutesBelowThreshold: Int = 5, alertingPlatform: AlertingPlatform = AlertingPlatform.Sensu) extends Product with Serializable
  20. case class LogMessageThreshold(message: String, count: Int, lessThanMode: Boolean = false, severity: AlertSeverity = AlertSeverity.Critical) extends Product with Serializable
  21. class Logger extends AnyRef
  22. case class MetricsThreshold(name: String, query: String, warning: Option[Double] = None, critical: Option[Double] = None, invert: Boolean = false) extends Product with Serializable
  23. sealed trait Severity extends AnyRef
  24. 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), http90PercentileResponseTimeThresholds: Seq[Http90PercentileResponseTimeThreshold] = Nil, httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold] = Nil, httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold] = Nil, httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold] = Nil, containerKillThreshold: Int = 1, httpTrafficThresholds: Seq[HttpTrafficThreshold] = Nil, httpStatusThresholds: Seq[HttpStatusThreshold] = Nil, httpStatusPercentThresholds: Seq[HttpStatusPercentThreshold] = Nil, http5xxRateIncrease: Seq[Http5xxRateIncrease] = 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