I have deployed prometheus blackbox-exporter on kubernetes and accessing it with ingress url as a subpath, blackbox exporter UI is opening but when click on any link in the ui it is redirecting but not showing any value example the metrics.
ingress.yaml
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-blackbox
namespace: test
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
ingressClassName: nginx
rules:
- host: example.com
http:
paths:
- backend:
service:
name: prometheus-blackbox-exporter
port:
number: 9115
path: /blackbox/(.*)
pathType: Prefix
I am opening the black box exporter ui on https://example.com/blackbox/ but when I click on any other link it is redirecting but not giving any value