This repository contains various use cases (aka Recipes) and examples of Google Cloud Managed Service for Prometheus(GMP). For each of the use-cases there are examples that show how these GMP capabilities should be used.
Each recipes is a self-contained example. With a full tutorial for how to set it up and tear it down.
If you're not familiar with the basics of Prometheus then check out How to Setup Prometheus Monitoring On Kubernetes Cluster. These resources should give you some of the foundations behind Prometheus Architecture and how set it up on Kubernetes.
To learn more about Google Cloud Managed Service for Prometheus checkout the GMP official documentation
-
Self-deployed collection
- Prometheus-operator scraping metrics to GMP - Deploy Prometheus-operator on GKE cluster and replace it with GMP drop-in binary to enable HA and longterm storage capabilities.
-
Managed collection with GKE Standard
- GMP setup with single GKE Cluster to scrape Custom App metrics - Deploy GMP to GKE cluster and scrape custom App metrics.
- GMP setup with single GKE Cluster to scrape Fluent-bit metrics - Deploy GMP to scrape metrics from Fluent-bit and observe dashboards in Grafana.
- GMP setup with single GKE Cluster to scrape Nginx-Ingress metrics - Deploy GMP to scrape metrics from Nginx-Ingress Controller and observe dashboards in Grafana.
- Setup GMP and query Google Cloud Metrics with PromQL and Grafana - Monitor GCP Cloud Resources with GMP and Grafana.
- Centralized Multi-tenant GMP setup with GKE Clusters in Different Projects - WIP
-
Setting up GMP with Terraform
- GMP setup with Terraform - WIP
-
Setting up GMP with KCC
- GMP setup with KCC - WIP
-
Managed collection with GKE Autopilot
-
Managed Prometheus AlertManager