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.
Get started without the need for complex migration
Built on the same backend used by Google that collects over 2 trillion active time series
Learn more about what customers are saying
Hear what's new with the service
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.
Backed by Monarch, Google’s in-memory time series database
Managed Service for Prometheus 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. Additionally, the service is maintained by the same Site Reliability Engineering (SRE) team that maintains Google’s own monitoring, so you can be confident that your metrics will be available when you need them.
Use Cloud Monitoring with Managed Service for Prometheus
You can view Prometheus metrics and over 1,500 free Google Cloud system metrics together for a “single pane of glass” across your infrastructure and applications. Prometheus metrics can be used with the dashboarding, alerting, and SLO monitoring features inside Cloud Monitoring. Chart your Prometheus metrics right alongside your GKE metrics, your load balancer metrics, and more. Cloud Monitoring supports PromQL, so your developers can start using it immediately.
Managed or self-deployed collectors, and the Ops Agent
Managed Service for Prometheus offers managed collectors that are automatically deployed, scaled, sharded, configured, and maintained. Scraping and rules are configured via lightweight custom resources (CRs). Migration from a Prometheus operator is easy, and managed collection supports most use cases. You can also keep your existing collector deployment method and configurations if the managed collectors do not currently support your use case. The Ops Agent simplifies the collection of Prometheus metrics on Virtual Machines to make it easier for you to standardize all environments on Prometheus.
Customers are freeing up developer time and keeping their open source tools
"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
Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.
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.|
Pricing tiers are progressive, so usage will be
charged at lower tier rates before being charged at higher
tier rates. For example, if your total usage is 300 billion
samples, your first 50 billion samples cost $0.15/million
samples, the next 200 billion samples cost $0.12/million
samples, and the final 50 billion samples cost $0.09/million
Pricing tiers are progressive, so usage will be charged at lower tier rates before being charged at higher tier rates. For example, if your total usage is 300 billion samples, your first 50 billion samples cost $0.15/million samples, the next 200 billion samples cost $0.12/million samples, and the final 50 billion samples cost $0.09/million samples.
|Feature||Price||Free allotment per month||Effective date|
|Metrics from Google Cloud Managed Service for Prometheus||
$0.15/million samples†: first 0-50 billion samples#
$0.12/million samples: next 50-250 billion samples
$0.09/million samples: next 250-500 billion samples
$0.06/million samples: >500 billion samples
|Not applicable||May 16, 2022|
|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|
†Google Cloud Managed Service for Prometheus uses Cloud Monitoring storage for externally created metric data and uses the Monitoring API to retrieve that data. Managed Service for Prometheus meters based on samples ingested instead of bytes to align with Prometheus' conventions. For more information about sample-based metering, see Pricing for controllability and predictability. For computational examples, see Pricing examples based on samples ingested.
#Samples are counted per billing account.
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.