uk.gov.hmrc.alertconfig.builders

TeamAlertConfigBuilder

Related Docs: object TeamAlertConfigBuilder | package builders

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

Linear Supertypes
Serializable, Serializable, Product, Equals, Builder[Seq[AlertConfigBuilder]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TeamAlertConfigBuilder
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Builder
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new 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)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val averageCPUThreshold: Int

  6. def build: Seq[AlertConfigBuilder]

    Definition Classes
    TeamAlertConfigBuilderBuilder
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  8. val containerKillThreshold: Int

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. val errorsLoggedThreshold: Int

  11. val exceptionThreshold: ExceptionThreshold

  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. val handlers: Seq[String]

  14. val http5xxPercentThreshold: Http5xxPercentThreshold

  15. val http5xxThreshold: Http5xxThreshold

  16. val httpAbsolutePercentSplitDownstreamHodThresholds: Seq[HttpAbsolutePercentSplitDownstreamHodThreshold]

  17. val httpAbsolutePercentSplitDownstreamServiceThresholds: Seq[HttpAbsolutePercentSplitDownstreamServiceThreshold]

  18. val httpAbsolutePercentSplitThresholds: Seq[HttpAbsolutePercentSplitThreshold]

  19. val httpStatusPercentThresholds: Seq[HttpStatusPercentThreshold]

  20. val httpStatusThresholds: Seq[HttpStatusThreshold]

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def isPlatformService(platformService: Boolean): TeamAlertConfigBuilder

  23. val logMessageThresholds: Seq[LogMessageThreshold]

  24. val metricsThresholds: Seq[MetricsThreshold]

  25. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  26. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. val platformService: Boolean

  29. val services: Seq[String]

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. val totalHttpRequestThreshold: Int

  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withAverageCPUThreshold(averageCPUThreshold: Int): TeamAlertConfigBuilder

  36. def withContainerKillThreshold(containerKillThreshold: Int): TeamAlertConfigBuilder

  37. def withErrorsLoggedThreshold(errorsLoggedThreshold: Int): TeamAlertConfigBuilder

  38. def withExceptionThreshold(exceptionThreshold: Int, severity: AlertSeverityType = AlertSeverity.critical): TeamAlertConfigBuilder

  39. def withHandlers(handlers: String*): TeamAlertConfigBuilder

  40. def withHttp5xxPercentThreshold(percentThreshold: Double, severity: AlertSeverityType = AlertSeverity.critical): TeamAlertConfigBuilder

  41. def withHttp5xxThreshold(http5xxThreshold: Int, severity: AlertSeverityType = AlertSeverity.critical): TeamAlertConfigBuilder

  42. def withHttpAbsolutePercentSplitDownstreamHodThreshold(threshold: HttpAbsolutePercentSplitDownstreamHodThreshold): TeamAlertConfigBuilder

  43. def withHttpAbsolutePercentSplitDownstreamServiceThreshold(threshold: HttpAbsolutePercentSplitDownstreamServiceThreshold): TeamAlertConfigBuilder

  44. def withHttpAbsolutePercentSplitThreshold(threshold: HttpAbsolutePercentSplitThreshold): TeamAlertConfigBuilder

  45. def withHttpStatusPercentThreshold(threshold: HttpStatusPercentThreshold): TeamAlertConfigBuilder

  46. def withHttpStatusThreshold(threshold: HttpStatusThreshold): TeamAlertConfigBuilder

  47. def withLogMessageThreshold(message: String, threshold: Int, lessThanMode: Boolean = false): TeamAlertConfigBuilder

  48. def withMetricsThreshold(threshold: MetricsThreshold): TeamAlertConfigBuilder

  49. def withTotalHttpRequestsCountThreshold(threshold: Int): TeamAlertConfigBuilder

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Builder[Seq[AlertConfigBuilder]]

Inherited from AnyRef

Inherited from Any

Ungrouped