Skip to content

Commit 35290cf

Browse files
committed
OCPBUGS-31272: Changing PrometheusRule to AlertingRule
1 parent 5027aca commit 35290cf

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

modules/network-observability-includelist-example.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:_mod-docs-content-type: PROCEDURE
55
[id="network-observability-netobserv-dashboard-high-traffic-alert_{context}"]
66
= Creating alerts
7-
You can create custom Prometheus rules for the Netobserv dashboard metrics to trigger alerts when some defined conditions are met.
7+
You can create custom alerting rules for the Netobserv dashboard metrics to trigger alerts when some defined conditions are met.
88

99
.Prerequisites
1010

@@ -18,11 +18,11 @@ You can create custom Prometheus rules for the Netobserv dashboard metrics to tr
1818
+
1919
[source,yaml]
2020
----
21-
apiVersion: monitoring.coreos.com/v1
22-
kind: PrometheusRule
21+
apiVersion: monitoring.openshift.io/v1
22+
kind: AlertingRule
2323
metadata:
2424
name: netobserv-alerts
25-
namespace: openshift-netobserv-operator
25+
namespace: openshift-monitoring
2626
spec:
2727
groups:
2828
- name: NetObservAlerts

modules/network-observability-rate-limit-alert.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:_mod-docs-content-type: PROCEDURE
55
[id="network-observability-netobserv-dashboard-rate-limit-alerts_{context}"]
66
= Creating Loki rate limit alerts for the NetObserv dashboard
7-
You can create custom Prometheus rules for the *Netobserv* dashboard metrics to trigger alerts when Loki rate limits have been reached.
7+
You can create custom alerting rules for the *Netobserv* dashboard metrics to trigger alerts when Loki rate limits have been reached.
88

99
.Prerequisites
1010

@@ -18,11 +18,11 @@ You can create custom Prometheus rules for the *Netobserv* dashboard metrics to
1818
+
1919
[source,yaml]
2020
----
21-
apiVersion: monitoring.coreos.com/v1
22-
kind: PrometheusRule
21+
apiVersion: monitoring.openshift.io/v1
22+
kind: AlertingRule
2323
metadata:
2424
name: loki-alerts
25-
namespace: openshift-netobserv-operator
25+
namespace: openshift-monitoring
2626
spec:
2727
groups:
2828
- name: LokiRateLimitAlerts

0 commit comments

Comments
 (0)