Configuring Ingress for Prometheus
SMI allows a Kubernetes ingress resource with basic authentication to be added to Prometheus using Grafana. This allows SMI metrics to be used as a data source by an external Grafana instance.
-
Login to Grafana User Interface.
-
Select Configuration Data Sources.
-
Click Add data source.
-
Enter a name for the data source in the Name field.
-
Select Type Prometheus.
-
Enter the new ingress URL (e.g. prometheus-xxx) in the URL.
-
Enable and configure Basic Auth
-
Provide the same credentials as configured via the SMI Ops Center in the User and Password fields under Basic Auth Details.
-
Enable Skip TLS Verify and keep the remaining options as it is.
-
Click Save &Test. The result should be successful and the data source is ready to use.