case class HttpEndpointAlert(httpEndpoint: String, cronCheckSchedule: String, expectedHttpStatusCode: Int = 200, expectedQueryString: String = "", severity: AlertSeverity = AlertSeverity.Critical, alertingPlatform: AlertingPlatform = AlertingPlatform.Default) extends 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
- httpEndpoint
The HTTP endpoint to be checked.
- cronCheckSchedule
The schedule for the cron job that will check the endpoint.
- expectedHttpStatusCode
The expected HTTP status code from the endpoint. Defaults to 200.
- expectedQueryString
The expected query string in the endpoint's response.
- severity
The severity level of the alert (critical or warning). Defaults to critical.
- alertingPlatform
The platform this alert will target. Defaults to the platform being migrated towards (e.g., Grafana).
- Alphabetic
- By Inheritance
- HttpEndpointAlert
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HttpEndpointAlert(httpEndpoint: String, cronCheckSchedule: String, expectedHttpStatusCode: Int = 200, expectedQueryString: String = "", severity: AlertSeverity = AlertSeverity.Critical, alertingPlatform: AlertingPlatform = AlertingPlatform.Default)
- httpEndpoint
The HTTP endpoint to be checked.
- cronCheckSchedule
The schedule for the cron job that will check the endpoint.
- expectedHttpStatusCode
The expected HTTP status code from the endpoint. Defaults to 200.
- expectedQueryString
The expected query string in the endpoint's response.
- severity
The severity level of the alert (critical or warning). Defaults to critical.
- alertingPlatform
The platform this alert will target. Defaults to the platform being migrated towards (e.g., Grafana).
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
- val alertingPlatform: AlertingPlatform
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val cronCheckSchedule: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expectedHttpStatusCode: Int
- val expectedQueryString: String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val httpEndpoint: String
- 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: AlertSeverity
- 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)