fn withEqual(value)fn withEqualMixin(value)fn withSourceMatchers(value)fn withSourceMatchersMixin(value)fn withTargetMatchers(value)fn withTargetMatchersMixin(value)obj sourceMatcherobj targetMatcher
withEqual(value)PARAMETERS:
- value (
array)
withEqual accepts an array of label names.
withEqualMixin(value)PARAMETERS:
- value (
array)
withSourceMatchers(value)PARAMETERS:
- value (
array)
withSourceMatchers accepts an array of matchers.
See docs for more information.
withSourceMatchersMixin(value)PARAMETERS:
- value (
array)
withTargetMatchers(value)PARAMETERS:
- value (
array)
withTargetMatchers accepts an array of matchers.
See docs for more information.
withTargetMatchersMixin(value)PARAMETERS:
- value (
array)
sourceMatcher provides a set of common matchers. Adding them will append them to
already configured matchers.
sourceMatcher.alert(alertname)PARAMETERS:
- alertname (
string)
alert matches an alertname.
sourceMatcher.cluster(cluster)PARAMETERS:
- cluster (
string)
cluster matches a cluster.
sourceMatcher.exported_namespace(namespace)PARAMETERS:
- namespace (
array)
exported_namespace matches one or more exported_namespaces.
sourceMatcher.job(job)PARAMETERS:
- job (
array)
job matches one or more jobs.
sourceMatcher.namespace(namespace)PARAMETERS:
- namespace (
array)
namespace matches one or more namespaces.
sourceMatcher.severity(severity)PARAMETERS:
- severity (
string)
severity matches a severity.
sourceMatcher.team(team)PARAMETERS:
- team (
string)
team matches a team.
sourceMatcher.severityMatcher.critical()critical matches a critical severity.
sourceMatcher.severityMatcher.info()info matches a info severity.
sourceMatcher.severityMatcher.warning()warning matches a warning severity.
targetMatcher provides a set of common matchers. Adding them will append them to
already configured matchers.
targetMatcher.alert(alertname)PARAMETERS:
- alertname (
string)
alert matches an alertname.
targetMatcher.cluster(cluster)PARAMETERS:
- cluster (
string)
cluster matches a cluster.
targetMatcher.exported_namespace(namespace)PARAMETERS:
- namespace (
array)
exported_namespace matches one or more exported_namespaces.
targetMatcher.job(job)PARAMETERS:
- job (
array)
job matches one or more jobs.
targetMatcher.namespace(namespace)PARAMETERS:
- namespace (
array)
namespace matches one or more namespaces.
targetMatcher.severity(severity)PARAMETERS:
- severity (
string)
severity matches a severity.
targetMatcher.team(team)PARAMETERS:
- team (
string)
team matches a team.
targetMatcher.severityMatcher.critical()critical matches a critical severity.
targetMatcher.severityMatcher.info()info matches a info severity.
targetMatcher.severityMatcher.warning()warning matches a warning severity.