Skip to content

Latest commit

 

History

History
339 lines (215 loc) · 6.04 KB

File metadata and controls

339 lines (215 loc) · 6.04 KB

inhibit_rule

Subpackages

Index

Fields

fn withEqual

withEqual(value)

PARAMETERS:

  • value (array)

withEqual accepts an array of label names.

fn withEqualMixin

withEqualMixin(value)

PARAMETERS:

  • value (array)

fn withSourceMatchers

withSourceMatchers(value)

PARAMETERS:

  • value (array)

withSourceMatchers accepts an array of matchers.

See docs for more information.

fn withSourceMatchersMixin

withSourceMatchersMixin(value)

PARAMETERS:

  • value (array)

fn withTargetMatchers

withTargetMatchers(value)

PARAMETERS:

  • value (array)

withTargetMatchers accepts an array of matchers.

See docs for more information.

fn withTargetMatchersMixin

withTargetMatchersMixin(value)

PARAMETERS:

  • value (array)

obj sourceMatcher

sourceMatcher provides a set of common matchers. Adding them will append them to already configured matchers.

fn sourceMatcher.alert

sourceMatcher.alert(alertname)

PARAMETERS:

  • alertname (string)

alert matches an alertname.

fn sourceMatcher.cluster

sourceMatcher.cluster(cluster)

PARAMETERS:

  • cluster (string)

cluster matches a cluster.

fn sourceMatcher.exported_namespace

sourceMatcher.exported_namespace(namespace)

PARAMETERS:

  • namespace (array)

exported_namespace matches one or more exported_namespaces.

fn sourceMatcher.job

sourceMatcher.job(job)

PARAMETERS:

  • job (array)

job matches one or more jobs.

fn sourceMatcher.namespace

sourceMatcher.namespace(namespace)

PARAMETERS:

  • namespace (array)

namespace matches one or more namespaces.

fn sourceMatcher.severity

sourceMatcher.severity(severity)

PARAMETERS:

  • severity (string)

severity matches a severity.

fn sourceMatcher.team

sourceMatcher.team(team)

PARAMETERS:

  • team (string)

team matches a team.

obj sourceMatcher.severityMatcher

fn sourceMatcher.severityMatcher.critical
sourceMatcher.severityMatcher.critical()

critical matches a critical severity.

fn sourceMatcher.severityMatcher.info
sourceMatcher.severityMatcher.info()

info matches a info severity.

fn sourceMatcher.severityMatcher.warning
sourceMatcher.severityMatcher.warning()

warning matches a warning severity.

obj targetMatcher

targetMatcher provides a set of common matchers. Adding them will append them to already configured matchers.

fn targetMatcher.alert

targetMatcher.alert(alertname)

PARAMETERS:

  • alertname (string)

alert matches an alertname.

fn targetMatcher.cluster

targetMatcher.cluster(cluster)

PARAMETERS:

  • cluster (string)

cluster matches a cluster.

fn targetMatcher.exported_namespace

targetMatcher.exported_namespace(namespace)

PARAMETERS:

  • namespace (array)

exported_namespace matches one or more exported_namespaces.

fn targetMatcher.job

targetMatcher.job(job)

PARAMETERS:

  • job (array)

job matches one or more jobs.

fn targetMatcher.namespace

targetMatcher.namespace(namespace)

PARAMETERS:

  • namespace (array)

namespace matches one or more namespaces.

fn targetMatcher.severity

targetMatcher.severity(severity)

PARAMETERS:

  • severity (string)

severity matches a severity.

fn targetMatcher.team

targetMatcher.team(team)

PARAMETERS:

  • team (string)

team matches a team.

obj targetMatcher.severityMatcher

fn targetMatcher.severityMatcher.critical
targetMatcher.severityMatcher.critical()

critical matches a critical severity.

fn targetMatcher.severityMatcher.info
targetMatcher.severityMatcher.info()

info matches a info severity.

fn targetMatcher.severityMatcher.warning
targetMatcher.severityMatcher.warning()

warning matches a warning severity.