with-agents

Engineering for Reliability

Getting started with Managed Service for Prometheus: Ingestion

Twenty-three substantive episodes on SLOs, telemetry, alerting, investigation, and operations

Twenty-three 2021–2022 episodes connect user-facing reliability targets to metrics, logs, traces, and alerts. Examples show instrumentation, Prometheus collection, quota monitoring, GKE investigation, and observability cost controls.

Google Cloud Tech 2 of 23
In this collection Browse 23 summaries 2 of 23

Google Managed Service for Prometheus provides a managed backend for metrics, letting teams query across clusters with PromQL, Prometheus's query language. Yuri, a site reliability engineer at Google Cloud, demonstrates a 2022 migration of an existing Prometheus installation on Google Kubernetes Engine (GKE), retaining local collection while sending data to that backend 00:00–02:57(opens in a new tab).

Key Points Covered

  • Confirm collection works before changing it: The demo checks the Prometheus server, the node exporter that gathers node-level infrastructure metrics, and Grafana. A local query confirms that metrics are being collected and can be read 00:59–01:59(opens in a new tab).
  • Change the collector, then test local and remote queries: The shown installation is managed by the Prometheus operator. Yuri changes its server image to Google's fork, which sends collected metrics to the managed backend. He repeats the local query after restart, then queries in the Cloud console to confirm remote ingestion 00:59–02:57(opens in a new tab). Yuri presents replacing the Prometheus binary as an easy migration path for any existing Prometheus setup in GKE, but the 2022 video demonstrates it only on this operator-managed installation 02:57(opens in a new tab).
  • Use the ingested metrics for charts and alerts: The same measurements become available in Metrics Explorer. The demo establishes collection and query access; it does not demonstrate migration of historical data or alerting rules 01:59–03:46(opens in a new tab).

Full video: https://www.youtube.com/watch?v=hB8Oc-xudQc(opens in a new tab)

Search

Search field guides and resources across the site.

    Keyboard shortcuts

    Press ? to open this guide (usually Shift + /). Close it before using other site shortcuts.

    Show keyboard shortcuts
    ?
    Search site
    Ctrl + K
    Close the current dialog or menu
    Esc

    Site shortcuts are ignored while typing. Browser and extension shortcuts may take priority.