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.

  1. Login to Grafana User Interface.

  2. Select Configuration Data Sources.

  3. Click Add data source.

  4. Enter a name for the data source in the Name field.

  5. Select Type Prometheus.

  6. Enter the new ingress URL (e.g. prometheus-xxx) in the URL.

  7. Enable and configure Basic Auth

  8. Provide the same credentials as configured via the SMI Ops Center in the User and Password fields under Basic Auth Details.

  9. Enable Skip TLS Verify and keep the remaining options as it is.

  10. Click Save &Test. The result should be successful and the data source is ready to use.