NAME
IO::K8s::PrometheusOperator::V1::Rule - Rule describes an alerting or recording rule See Prometheus documentation: [alerting](https://www.prometheus.io/docs/prometheus/latest/configuration/alerting_rules/) or [recording](https://www.prometheus.io/docs/prometheus/latest/configuration/recording_rules/#recording-rules) rule
VERSION
version 1.108
alert
alert defines the name of the alert. Must be a valid label value. Only one of `record` and `alert` must be set.
annotations
annotations defines annotations to add to each alert. Only valid for alerting rules.
expr
expr defines the PromQL expression to evaluate.
for
for defines how alerts are considered firing once they have been returned for this long.
keep_firing_for
keep_firing_for defines how long an alert will continue firing after the condition that triggered it has cleared.
labels
labels defines labels to add or overwrite.
record
record defines the name of the time series to output to. Must be a valid metric name. Only one of `record` and `alert` must be set.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Torsten Raudssus <getty@cpan.org>
Jose Luis Martinez Torres <jlmartin@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004