Packages

p

nelson

alerts

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

Value Members

  1. def alertingKey(stackName: StackName): String
  2. def deleteFromConsul(stackName: StackName): ConsulOpF[Unit]

    Deletes an alert configuration from consul.

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

  3. def optedOutPrometheusConfig(unit: UnitDef, outs: List[AlertOptOut]): PrometheusConfig
  4. def rewriteRules(unit: UnitDef, stackName: StackName, plan: PlanRef, ns: NamespaceName, outs: List[AlertOptOut]): IO[Either[NelsonError, String]]
  5. def writeToConsul(sn: StackName, ns: NamespaceName, plan: PlanRef, u: UnitDef, outs: List[AlertOptOut]): ConsulOpF[Option[String]]

    Writes alert configuration to consul, if not opted out.

  6. object Overhaul extends RuleRewriter
  7. object Promtool
  8. object RuleRewriter

Inherited from AnyRef

Inherited from Any

Ungrouped