When a user clicks a firing alert, the console navigates to the alert details page. However, because the URL contains the alert rule number instead of the name, the troubleshoot panel fails to retrieve the alert name and cannot generate the corresponding graphic
step to reproduce:
2) Create alert for korrel8r"
oc apply -f - <<EOF
apiVersion: apps/v1
kind: Deployment
metadata:
name: bad-deployment
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: bad-deployment
template:
metadata:
labels:
app: bad-deployment
spec:
containers:
- name: bad-deployment
image: quay.io/openshift-logging/vector:5.8
EOF
2) Navigate to Observe-> Alerting-> KubePodCrashLooping
3) Check the troubleshoot panel
Actual Result
The Focus button is disabled. We can not get the korr8ler graphic for this Alert.
Expected Result:
Korrel8r can retrieve the alert name from the alert rule number and generate a corresponding graphic
Additonal info:
If you click the description in the detail page. the URL contains enough information to generate a query for this alert.