case class CustomHttpEndpointAlert(checkName: String, componentName: String, cronCheckSchedule: String, environmentsEnabled: EnvironmentsEnabled, expectedHttpStatusCode: Option[Int] = None, expectedQueryString: Option[String] = None, httpEndpoint: String, integrations: Seq[String], severity: CustomAlertSeverity.AlertSeverity) extends CustomAlert with Product with Serializable
This alert will notify when it fails to receive the expected response (status code and/or string pattern) from the given endpoint
- checkName
Name to be used in the metric path. Only lowercase letters and - are allowed:
^[a-z-]+$- componentName
The name of the component you are testing. e.g. jira / proxy / sensu / mongo. Only lowercase letters and - are allowed:
^[a-z-]+$- cronCheckSchedule
The cron schedule for how often the endpoint will be checked creating a metric data point.
- environmentsEnabled
The specific environments to enable this alert in
- expectedHttpStatusCode
The HTTP status code expected from the endpoint.
- expectedQueryString
A substring that is expect in the endpoint's response.
- httpEndpoint
The HTTP endpoint to be checked.
- integrations
Which PagerDuty integrations to direct this alert to
- severity
The severity level of the alert (critical or warning). Defaults to critical.
- Annotations
- @JsonFilter()
- Alphabetic
- By Inheritance
- CustomHttpEndpointAlert
- Serializable
- Product
- Equals
- CustomAlert
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CustomHttpEndpointAlert(checkName: String, componentName: String, cronCheckSchedule: String, environmentsEnabled: EnvironmentsEnabled, expectedHttpStatusCode: Option[Int] = None, expectedQueryString: Option[String] = None, httpEndpoint: String, integrations: Seq[String], severity: CustomAlertSeverity.AlertSeverity)
- checkName
Name to be used in the metric path. Only lowercase letters and - are allowed:
^[a-z-]+$- componentName
The name of the component you are testing. e.g. jira / proxy / sensu / mongo. Only lowercase letters and - are allowed:
^[a-z-]+$- cronCheckSchedule
The cron schedule for how often the endpoint will be checked creating a metric data point.
- environmentsEnabled
The specific environments to enable this alert in
- expectedHttpStatusCode
The HTTP status code expected from the endpoint.
- expectedQueryString
A substring that is expect in the endpoint's response.
- httpEndpoint
The HTTP endpoint to be checked.
- integrations
Which PagerDuty integrations to direct this alert to
- severity
The severity level of the alert (critical or warning). Defaults to critical.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val checkName: String
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val componentName: String
- val cronCheckSchedule: String
- val environmentsEnabled: EnvironmentsEnabled
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expectedHttpStatusCode: Option[Int]
- val expectedQueryString: Option[String]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val httpEndpoint: String
- val integrations: Seq[String]
- Definition Classes
- CustomHttpEndpointAlert → CustomAlert
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val severity: CustomAlertSeverity.AlertSeverity
- Definition Classes
- CustomHttpEndpointAlert → CustomAlert
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)