Installation guide
The installation guide details the installation on a cloud environment. Contact us at support@vectice.com for help on a custom installation.
Deploy the monitoring stack
Preparing the context
Add the repository prometheus-community to the helm collection:
Set up the CONTEXT, to make sure on which cluster the deployment will be done Example here on a GCP environment
Create the monitoring namespace
Generate the certificate, in order to add it to a secret, in the namespace, the key and cert filenames are examples
Customize the deployment
Retrieve values.yaml
file from here and then make it a copy to myvaluesfile.yaml
Then, you can edit myvaluesfile.yml
, following the instructions on the customizing page.
Run the deployment
Upgrade the monitoring stack
Undeploy the monitoring stack
This will delete the monitoring stack installed
Configuring Grafana
Once your application is up and running, a few things are necessary to make it easy to access and monitor.
First, grab the public IP address assigned to your application. Then, head over to your DNS provider and connect your domain name to that IP address. This will give your application a memorable web address you can easily share.
Next, customize your Grafana instance with some dashboards. These dashboards will help you visualize and understand how your application is performing.
Vectice can provide you grafana dashboards templates on demand.
Adding other datasources
If you're using Google Cloud Platform (GCP), you can set up GCP monitoring as a data source for even more insights. There's a handy guide here to walk you through the steps.
Ensure you have a service account with the proper permissions. You can call it "grafana-exporter" and permit it to view monitoring data (the "Monitoring Viewer" role). Then, create a JSON key and import it into Grafana. This will allow Grafana to access the monitoring data from GCP.
If you want to personalize your Grafana experience, you can easily set your preferred dashboard as the default one you see when you log in. Just go to your user profile settings and make the switch."