Package

nelson

alerts

Permalink

package alerts

Contains code related to validating alerts and storing their configuration in Consul.

In theory, we can support multiple alerting systems. In current practice, we only support Prometheus.

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. alerts
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait RuleRewriter extends AnyRef

    Permalink

Value Members

  1. object Overhaul extends RuleRewriter

    Permalink
  2. object Promtool

    Permalink
  3. object RuleRewriter

    Permalink
  4. def alertingKey(stackName: StackName): String

    Permalink
  5. def deleteFromConsul(stackName: StackName): ConsulOpF[Unit]

    Permalink

    Deletes an alert configuration from consul.

    Deletes an alert configuration from consul. This includes alert definitions, recording rules, and per-namespace opt-outs.

  6. def optedOutPrometheusConfig(unit: UnitDef, outs: List[AlertOptOut]): PrometheusConfig

    Permalink
  7. def rewriteRules(unit: UnitDef, stackName: StackName, plan: PlanRef, ns: NamespaceName, outs: List[AlertOptOut]): IO[Either[NelsonError, String]]

    Permalink
  8. def writeToConsul(sn: StackName, ns: NamespaceName, plan: PlanRef, u: UnitDef, outs: List[AlertOptOut]): ConsulOpF[Option[String]]

    Permalink

    Writes alert configuration to consul, if not opted out.

Inherited from AnyRef

Inherited from Any

Ungrouped