uk
.
gov
.
hmrc
.
alertconfig
builders
package
builders
Visibility
Public
All
Type Members
trait
AlertConfig
extends
AnyRef
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
trait
Builder
[
T
]
extends
AnyRef
sealed
trait
Environment
extends
AnyRef
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
sealed
trait
Severity
extends
AnyRef
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
Value Members
object
AllEnvironmentAlertConfigBuilder
object
Critical
extends
Severity
object
Development
extends
Environment
object
ExternalTest
extends
Environment
object
Integration
extends
Environment
object
Management
extends
Environment
object
Ok
extends
Severity
object
Production
extends
Environment
object
Qa
extends
Environment
object
Staging
extends
Environment
object
TeamAlertConfigBuilder
extends
Serializable
object
Unknown
extends
Severity
object
Warning
extends
Severity
object
ZoneToServiceDomainMapper
Ungrouped