Understand how to enable Prometheus on Google Cloud Platform, supporting your chosen monitoring system.
Harness the power of Prometheus within the Google Cloud Platform. By following these user-centric steps, you can easily monitor your cloud infrastructure's performance and health. Let's get started!
Prerequisites
Ensure you have
helm
installed on your system.
Setting Up the Environment
Start by adding the public Kubernetes chart repository to your Helm configuration with:
To confirm everything's in place, execute the following command:
kubectl --namespace monitoring get pods -l "release=prometheus"
.
Prometheus Dashboard
With Prometheus now up and running, it's time to dive into its comprehensive dashboard:
Use the Kubernetes proxy to access the Prometheus dashboard securely. This method ensures you're tunneling your connection securely through the Kubernetes API server with the following command: