uk.gov.hmrc.alertconfig

builders

package builders

Visibility
  1. Public
  2. All

Type Members

  1. trait AlertConfig extends AnyRef

  2. case class AlertConfigBuilder(serviceName: String, handlers: Seq[String] = Seq("noop"), errorsLoggedThreshold: Int = Int.MaxValue, exceptionThreshold: Int = 2, http5xxThreshold: Http5xxThreshold = Http5xxThreshold(), http5xxPercentThreshold: Double = 100.0, httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold] = Nil, httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold] = Nil, httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold] = Nil, containerKillThreshold: Int = 1, httpStatusThresholds: Seq[HttpStatusThreshold] = 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. trait Builder[T] extends AnyRef

  4. sealed trait Environment extends AnyRef

  5. case class EnvironmentAlertBuilder(handlerName: String, command: Option[JsValue] = None, enabledEnvironments: Map[Environment, Set[Severity]] = ..., customEnvironmentNames: Map[Environment, String] = Map((Production, "aws_production")), handlerFilters: Map[Environment, JsValue] = ...) extends Product with Serializable

  6. sealed trait Severity extends AnyRef

  7. case class TeamAlertConfigBuilder(services: Seq[String], handlers: Seq[String] = Seq("noop"), errorsLoggedThreshold: Int = Int.MaxValue, exceptionThreshold: Int = 2, http5xxThreshold: Http5xxThreshold = Http5xxThreshold(), http5xxPercentThreshold: Double = 100.0, httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold] = Nil, httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold] = Nil, httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold] = Nil, containerKillThreshold: Int = 1, httpStatusThresholds: Seq[HttpStatusThreshold] = Nil, logMessageThresholds: Seq[LogMessageThreshold] = Nil, totalHttpRequestThreshold: Int = Int.MaxValue, averageCPUThreshold: Int = Int.MaxValue, platformService: Boolean = false) extends Builder[Seq[AlertConfigBuilder]] with Product with Serializable

Value Members

  1. object AllEnvironmentAlertConfigBuilder

  2. object Critical extends Severity

  3. object Development extends Environment

  4. object ExternalTest extends Environment

  5. object Integration extends Environment

  6. object Management extends Environment

  7. object Ok extends Severity

  8. object Production extends Environment

  9. object Qa extends Environment

  10. object Staging extends Environment

  11. object TeamAlertConfigBuilder extends Serializable

  12. object Unknown extends Severity

  13. object Warning extends Severity

  14. object ZoneToServiceDomainMapper

Ungrouped