-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prometheus with Basic Auth #38
Comments
+1. Would love to see either Basic Auth working with PromLens or PromLens incorporated into the Prometheus Web UI as an additional option. |
Hey, same issue here! I am hosting PromLens on Kubernetes and I used a workaround this way:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/auth-url: http://nginx-ldap-auth.kube-system.svc.cluster.local:5555 # our basic-auth system
name: promlens
namespace: monitoring
spec:
ingressClassName: ingress-private
rules:
- host: promlens.myfqdn
http:
paths:
- backend:
service:
name: promlens
port:
number: 8080
path: /
pathType: Prefix apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/auth-url: http://nginx-ldap-auth.kube-system.svc.cluster.local:5555
nginx.ingress.kubernetes.io/rewrite-target: /$2
name: promlens-to-prometheus
namespace: monitoring
spec:
ingressClassName: ingress-private
rules:
- host: promlens.myfqdn
http:
paths:
- backend:
service:
name: prometheus-prometheus
port:
number: 9090
path: /prometheus(/|$)(.*)
pathType: Prefix Thanks for this awesome tool! :) |
I just found another nice workaround. Just use
Cheers :) |
I have a grafana behind TLS but SSL certificate is not valid. Is there a way to disable it ? tls_skip_verify_insecure maybe ? but where. |
I added support for Basic Auth in this Fork (https://github.com/glidea/promlens), and a 'datasource' manager (https://github.com/glidea/promlens-datasource-manager) |
Is there a Docker image that can be used,thanks |
来兄弟。https://hub.docker.com/repository/docker/glidea/promlens/tags |
谢谢兄弟,我试试 |
Currently Promlens does not support if Prometheus is protected via basic auth, would be great if that could be added.
The text was updated successfully, but these errors were encountered: