Skip to main content
To monitor SuprSend chart that is running within the cluster, you can setup open source prometheus, grafana and loki by following these steps in sequence. First create a new namespace to install the monitoring stack.

Setup a new namespace

Set up Loki

Add Grafana repo

Prepare values.yaml for Loki

Create a new file suprsend-loki-values.yaml:
Then paste these values to start with:

Install Loki

Setup Promtail

Setup promtail agent in the cluster to stream logs to Loki.

Add Grafana repo, if not done yet

Prepare values.yaml for Promtail

Create a new file suprsend-promtail-values.yaml:
Then paste these values to start with base level config:

Install Promtail

Setup Prometheus and Grafana

Setup Prometheus and Grafana together to record and visualise metrics. Configure a datasource in grafana to read logs from Loki.

Add Prometheus community repo

Prepare values.yaml for Prometheus and grafana

Create a new file suprsend-promgraf-values.yaml:
Then paste these values to start with base level config:

Install Prometheus grafana chart

Final: Setup an Ingress to expose Grafana dashboard

Create this ingress spec:
And paste in this configuration spec:
and apply on your Kubernetes cluster and monitoring namespace:
Data retention period is set to 30 days for all components of the stack. If needed, you can increase it in the appropriate values.yaml configuration.