-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
False
-
None
-
False
-
NEW
-
NEW
-
-
-
Low
Description of problem:
AlertingRules created on the cluster are not showing up on the OCP web console. I have this AlertingRule: apiVersion: loki.grafana.com/v1 kind: AlertingRule metadata: name: reversewords-alerts namespace: reversewords labels: openshift.io/cluster-monitoring: "true" spec: tenantID: "application" groups: - name: reversewords-app-rules-group interval: 20s rules: - alert: ReverseWordsListentingOnPort8080 expr: | sum(count_over_time({kubernetes_namespace_name="reversewords", kubernetes_pod_name=~"reverse-words-.*"} |= "Listening on port 8080" [2h])) > 0 for: 10s labels: severity: info tenantId: application annotations: summary: Reverse Words App is listenting on port 8080 description: Reverse Words App is listenting on port 8080 And this RulerConfig: apiVersion: loki.grafana.com/v1 kind: RulerConfig metadata: name: rulerconfig namespace: openshift-logging spec: evaluationInterval: 1m pollInterval: 1m alertmanager: discovery: enableSRV: true refreshInterval: 1m enableV2: true endpoints: - "https://_web._tcp.alertmanager-operated.openshift-monitoring.svc" enabled: true refreshPeriod: 10s In the OCP Web Console, under Observe -> Alerting -> Alerting Rules I cannot find the AlertingRule I just created.
Version-Release number of selected component (if applicable):
cluster-logging.v5.7.0 loki-operator.v5.7.0
How reproducible:
Always I can share the environment where this is reproduced.
Steps to Reproduce:
1. Create an AlertingRule 2. Check AlertingRule in the web ui under Observe -> Alerting -> Alerting Rules
Actual results:
Alert not showing up
Expected results:
Alert showing up
Additional info:
I can share the environment
- clones
-
LOG-3861 LogQL metric queries not working on OCP Console with Logging v5.7
- Closed