Packages

package custom

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait CustomAlert extends AnyRef
  2. trait CustomAlertConfig extends AnyRef
  3. case class CustomAlerts(customLogAlerts: Seq[CustomLogAlert], customMetricAlerts: Seq[CustomMetricAlert], customCloudWatchMetricAlerts: Seq[CustomCloudWatchMetricAlert]) extends Product with Serializable
  4. case class CustomAlertsTopLevel(alerts: CustomAlerts) extends Product with Serializable
  5. case class CustomCloudWatchMetricAlert(alertName: String, cloudwatchSource: CloudWatchSource, dashboardPanelId: Option[Int], dashboardUri: Option[String], dimensions: Map[String, String], integrations: Seq[String], metricName: String, namespace: String, operator: EvaluationOperator, reducerFunction: Option[ReducerFunction] = Some(ReducerFunction.LAST), runbookUrl: Option[String], severity: CustomAlertSeverity.AlertSeverity, summary: String, teamName: String, thresholds: EnvironmentThresholds) extends CustomAlert with Product with Serializable

    CloudWatch metrics based alert.

    CloudWatch metrics based alert.

    alertName

    Name that the alert will be created with

    cloudwatchSource

    Which CloudWatch Grafana datasource to use

    dashboardPanelId

    Specific panel to deep link to that is specific to this alert

    dashboardUri

    Grafana uri to link to. This should just be the uri path and not include the domain

    dimensions

    Which CloudWatch dimensions to filter the metric on

    integrations

    Which PagerDuty integrations to direct this alert to

    metricName

    Which CloudWatch metric to filter the alert on

    namespace

    Which CloudWatch service namespace to filter the alert on

    operator

    Whether to evaluate the metric as greater than or less than

    reducerFunction

    Function to use when manipulate data returned from query

    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

    teamName

    All alerts are prefixed with the team name

    thresholds

    Trigger point for each environment

  6. case class CustomLogAlert(alertName: String, logMessage: String, operator: EvaluationOperator, severity: CustomAlertSeverity.AlertSeverity, teamName: String, 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.

    alertName

    Name that the alert will be created with

    logMessage

    The exact string that you are searching for

    severity

    The severity of this alert.

    teamName

    All alerts are prefixed with the team name

    thresholds

    Trigger point for each environment

    integrations

    Which PagerDuty integrations to direct this alert to

  7. case class CustomMetricAlert(alertName: String, dashboardUri: Option[String], dashboardPanelId: Option[Int], integrations: Seq[String], operator: EvaluationOperator, query: String, teamName: String, reducerFunction: Option[ReducerFunction] = Some(ReducerFunction.LAST), runbookUrl: Option[String], severity: CustomAlertSeverity.AlertSeverity, summary: String, thresholds: EnvironmentThresholds) extends CustomAlert with Product with Serializable

    Graphite metric based alert.

    Graphite metric based alert.

    alertName

    Name that the alert will be created with

    dashboardUri

    Grafana uri to link to. This should just be the uri path and not include the domain

    dashboardPanelId

    Specific panel to deep link to that is specific to this alert

    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

    teamName

    All alerts are prefixed with the team name

    reducerFunction

    Function to use when manipulate data returned from query

    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

  8. 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.

    Define thresholds for any environments you want this custom alert to be active in.

    development

    The threshold for the development environment.

    externaltest

    The threshold for the external test environment.

    integration

    The threshold for the integration environment.

    management

    The threshold for the management environment.

    production

    The threshold for the production environment.

    qa

    The threshold for the quality assurance environment.

    staging

    The threshold for the staging environment.

Value Members

  1. object CloudWatchSource
  2. object CustomAlertConfigYamlBuilder
  3. object CustomAlertSeverity
  4. object EnvironmentThresholds extends Serializable

    Set common threshold for all environments

  5. object EvaluationOperator
  6. object ReducerFunction

Ungrouped