Managed Service for Prometheus
A fully managed and easy-to-use monitoring service, built on the same globally scalable data store used by Google Cloud.
Use Prometheus without managing infrastructure
Fully managed Prometheus®-compatible monitoring stack with default two year retention and global queries over regionalized data. No need to federate, add resources manually, or devote time to maintenance.
Default two year metrics retention included
Sharding an expanding storage footprint is a hassle when running your own Prometheus-compatible aggregator. To alleviate this pain point for you, all metrics are stored for two years at no additional charge.
Keep open source tooling and avoid vendor lock-in
Use PromQL with both Cloud Monitoring and open source tools like Grafana®. Configure deployment and scraping via any open source method, such as prometheus-operator or annotations.
"We have been running Prometheus ourselves for GKE metrics, but the ongoing maintenance took up too many development hours. We started using Managed Service for Prometheus and it just works. It can handle whatever volume we have because it's built on the same back end that Google uses itself, and we get to keep using the same Grafana dashboards as before while keeping open standards and protocols."
Peter Kieltyka, CEO and Chief Architect, Horizon Blockchain Games
Get started with Managed Service for Prometheus.
Set up data collection for Managed Service for Prometheus
The service offers both managed and self-deployed collectors. Get step-by-step instructions for setting up each option.
Query data from Managed Service for Prometheus
Query the data sent to the service using the Prometheus HTTP API, Prometheus UI, Grafana, the service page in the Google Cloud Console, and Cloud Monitoring.
Rule evaluation and metric filtering
Learn how to use functions you expect from Prometheus such as rule evaluation and metric filtering.
Use PromQL to define alerts and diagnose issues when alerts are triggered. With Managed Service for Prometheus, you do not have to change your visualization tools or alerts so your existing incident creation and investigation workflows will continue working.
Managed Service for Prometheus charges on a per-sample basis, which does not charge for cardinality up front when a new container is spun up. With per-sample pricing, you only pay while the container is alive, so you are not penalized for using Horizontal Pod Autoscaling. Managed Service for Prometheus features other cost controls such as customizable sampling periods, filters, and the ability to keep data local and not send it to the datastore.
Adopting one metrics standard across your Kubernetes and VM deployments makes it easier to bring dashboards together for better monitoring. Plus, your developers and administrators only need to know PromQL to work with your metrics. Managed Service for Prometheus supports this use case with collectors for Kubernetes and the Ops Agent for VMs on Google Cloud.
|Stand-alone global rule evaluator||You can continue to evaluate your existing recording and alerting rules against global data in Managed Service for Prometheus. The results are stored just like collected data, meaning you will not need to co-locate aggregated data on a single Prometheus server.|
|Dynamic multi-project monitoring||Metrics scopes are a read-time-only construct in Cloud Monitoring that enables multi-project monitoring via a single Grafana data source. Each metric scope appears as a separate data source in Grafana and can be assigned read permissions on a per-service account basis.|
|Managed collectors||Managed collectors are automatically deployed, scaled, sharded, configured, and maintained. Scraping and rules are configured via lightweight custom resources (CRs).|
|Self-deployed collectors||Use your preferred deployment mechanism by simply swapping out your regular Prometheus binary for Managed Service for Prometheus’ collector binary. Scraping is configured via your preferred standard method and you scale and shard manually. Reuse your existing configs and run both regular Prometheus and Managed Service for Prometheus side by side.|
|VM support through the Ops Agent||Deploy the Ops Agent on your VMs and configure it to scrape Prometheus metrics. The metrics are uploaded to Cloud Monitoring while maintaining the Prometheus metric structure. Use PromQL to query them together with other metrics in Cloud Monitoring.|
|Support for monitoring additional environments||Self-deployed collectors can be configured to collect data from applications running outside of Google Cloud. These targets can be Kubernetes or non-Kubernetes environments, such as VMs.|
|Use PromQL in Cloud Monitoring||Use PromQL in the Cloud Monitoring user interface, including in Metrics Explorer and Dashboard Builder. Get auto-completion of metric names, label keys, and label values. Query free system metrics, Kubernetes metrics, log-based metrics, and custom metrics, alongside your Prometheus metrics with PromQL.|
|Backed by Monarch, Google’s in-memory time series database||The service uses the same technology that Google uses to monitor its own services, meaning that even the largest Prometheus deployments can be monitored at global scale.|
|Cost control mechanisms||Help keep your spending under control with an exported metrics filter, a reduced charge for sparse histograms, a fee structure that charges less for longer sampling periods, and the ability to only send locally pre-aggregated data.|
|Cost identification and attribution||Use Cloud Monitoring to break out your Prometheus ingestion volume by metric name and namespace. Quickly identify the metrics that cost you the most and which namespace is sending them.|
|Feature||Price||Free allotment per month||Effective date|
|Metrics ingested by using Google Cloud Managed Service for Prometheus||
$0.060/million samples†: first 0-50 billion samples#
$0.048/million samples: next 50-250 billion samples
$0.036/million samples: next 250-500 billion samples
$0.024/million samples: >500 billion samples
|Not applicable||August 8, 2023|
|Monitoring API calls||
$0.01/1,000 Read API calls
(Write API calls are free)
|First 1 million Read API calls included per billing account||July 1, 2018|
The Grafana Labs Marks are trademarks of Grafana Labs, and are used with Grafana Labs’ permission. We are not affiliated with, endorsed or sponsored by Grafana Labs or its affiliates.