package custom
- Alphabetic
- Public
- Protected
Type Members
- trait CustomAlert extends AnyRef
- trait CustomAlertConfig extends AnyRef
- case class CustomAlerts(customLogAlerts: Seq[CustomLogAlert], customMetricAlerts: Seq[CustomMetricAlert]) extends Product with Serializable
- case class CustomAlertsTopLevel(alerts: CustomAlerts) extends Product with Serializable
- case class CustomLogAlert(logMessage: String, operator: EvaluationOperator, severity: CustomAlertSeverity.AlertSeverity, thresholds: EnvironmentThresholds, integrations: Seq[String]) extends CustomAlert with Product with Serializable
Generate custom alerts that are based on logs in Elasticsearch.
Generate custom alerts that are based on logs in Elasticsearch.
- logMessage
The exact string that you are searching for
- severity
The severity of this alert.
- thresholds
Trigger point for each environment
- integrations
Which PagerDuty integrations to direct this alert to
- case class CustomMetricAlert(dashboardUrl: Option[String], integrations: Seq[String], operator: EvaluationOperator, query: String, ruleGroupName: String, runbookUrl: Option[String], severity: CustomAlertSeverity.AlertSeverity, summary: String, thresholds: EnvironmentThresholds) extends CustomAlert with Product with Serializable
Graphite metric based alert.
Graphite metric based alert.
- dashboardUrl
Grafana or Kibana dashboard to link to
- integrations
Which PagerDuty integrations to direct this alert to
- operator
Whether to evaluate the metric as greater than or less than
- query
Graphite query you're running
- ruleGroupName
Which Grafana Alerting rule group this belongs to
- runbookUrl
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
- thresholds
Trigger point for each environment
- case class EnvironmentThresholds(development: Option[Int] = None, externalTest: Option[Int] = None, integration: Option[Int] = None, management: Option[Int] = None, production: Option[Int] = None, qa: Option[Int] = None, staging: Option[Int] = None) extends Product with Serializable
Define thresholds for any environments you want this custom alert to be active in.
Value Members
- object CustomAlertConfigYamlBuilder
- object CustomAlertSeverity
- object EvaluationOperator