case class CustomElasticsearchPercentageAlert(alertName: String, checkIntervalMinutes: CheckIntervalMinutes = CheckIntervalMinutes.TWO_MINUTES, integrations: Seq[String], kibanaDashboardUri: Option[String] = None, luceneQuerySubset: String, luceneQueryTotal: String, operator: EvaluationOperator = EvaluationOperator.GREATER_THAN, pendingPeriodMinutes: Option[Int] = None, queryTimeRangeMinutes: TimeRangeAsMinutes = TimeRangeAsMinutes.FIFTEEN_MINUTES, runbookUrl: Option[String] = None, severity: CustomAlertSeverity.AlertSeverity, summary: String, teamName: String, thresholds: EnvironmentThresholds) extends CustomAlert with Product with Serializable
Custom ElasticSearch alert based on the percentage of a subset of records.
- alertName
Name that the alert will be created with
- checkIntervalMinutes
Number of minutes between each check. See CheckIntervalMinutes for supported values
- integrations
Which PagerDuty integrations to direct this alert to n
- kibanaDashboardUri
(Optional) Kibana uri to link to. This should just be the uri path and not include the domain
- luceneQuerySubset
Query to make to Elasticsearch to get subset of records (to calculate as percentage of luceneQueryTotal)
- luceneQueryTotal
Query to make to Elasticsearch to get total records (to calculate percentage from)
- operator
Whether to evaluate the metric as greater than or less than
- pendingPeriodMinutes
Amount of time in minutes that a threshold needs to be breached before the alert fires. Defaults to fire immediately
- queryTimeRangeMinutes
The sample period to check data for. If you set it to FIVE_MINUTES, the alert check will evaluate data starting from 6 minutes ago until one minute ago (so that only fully shipped metrics are evaluated).
- runbookUrl
(Optional) Runbook for when this alert fires
- severity
The severity of this alert. E.g. Warning or Critical
- summary
The description to populate in PagerDuty when the alert fires
- teamName
All alerts are prefixed with the team name
- thresholds
Trigger point for each environment
- Alphabetic
- By Inheritance
- CustomElasticsearchPercentageAlert
- Serializable
- Product
- Equals
- CustomAlert
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CustomElasticsearchPercentageAlert(alertName: String, checkIntervalMinutes: CheckIntervalMinutes = CheckIntervalMinutes.TWO_MINUTES, integrations: Seq[String], kibanaDashboardUri: Option[String] = None, luceneQuerySubset: String, luceneQueryTotal: String, operator: EvaluationOperator = EvaluationOperator.GREATER_THAN, pendingPeriodMinutes: Option[Int] = None, queryTimeRangeMinutes: TimeRangeAsMinutes = TimeRangeAsMinutes.FIFTEEN_MINUTES, runbookUrl: Option[String] = None, severity: CustomAlertSeverity.AlertSeverity, summary: String, teamName: String, thresholds: EnvironmentThresholds)
- alertName
Name that the alert will be created with
- checkIntervalMinutes
Number of minutes between each check. See CheckIntervalMinutes for supported values
- integrations
Which PagerDuty integrations to direct this alert to n
- kibanaDashboardUri
(Optional) Kibana uri to link to. This should just be the uri path and not include the domain
- luceneQuerySubset
Query to make to Elasticsearch to get subset of records (to calculate as percentage of luceneQueryTotal)
- luceneQueryTotal
Query to make to Elasticsearch to get total records (to calculate percentage from)
- operator
Whether to evaluate the metric as greater than or less than
- pendingPeriodMinutes
Amount of time in minutes that a threshold needs to be breached before the alert fires. Defaults to fire immediately
- queryTimeRangeMinutes
The sample period to check data for. If you set it to FIVE_MINUTES, the alert check will evaluate data starting from 6 minutes ago until one minute ago (so that only fully shipped metrics are evaluated).
- runbookUrl
(Optional) Runbook for when this alert fires
- severity
The severity of this alert. E.g. Warning or Critical
- summary
The description to populate in PagerDuty when the alert fires
- teamName
All alerts are prefixed with the team name
- thresholds
Trigger point for each environment
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 alertName: String
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val checkIntervalMinutes: CheckIntervalMinutes
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val integrations: Seq[String]
- Definition Classes
- CustomElasticsearchPercentageAlert → CustomAlert
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val kibanaDashboardUri: Option[String]
- val luceneQuerySubset: String
- val luceneQueryTotal: String
- 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()
- val operator: EvaluationOperator
- val pendingPeriodMinutes: Option[Int]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val queryTimeRangeMinutes: TimeRangeAsMinutes
- val runbookUrl: Option[String]
- val severity: CustomAlertSeverity.AlertSeverity
- Definition Classes
- CustomElasticsearchPercentageAlert → CustomAlert
- val summary: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val teamName: String
- val thresholds: EnvironmentThresholds
- 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)