Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python Client for Stackdriver Monitoring

Project Description

Python idiomatic client for Stackdriver Monitoring

Quick Start

$ pip install --upgrade google-cloud-monitoring

Fore more information on setting up your Python development environment, such as installing pip and on your system, please refer to Python Development Environment Setup Guide for Google Cloud Platform.


With google-cloud-python we try to make authentication as painless as possible. Check out the Authentication section in our documentation to learn more. You may also find the authentication document shared by all the google-cloud-* libraries to be helpful.

Using the API

Stackdriver Monitoring (Monitoring API docs) collects metrics, events, and metadata from Google Cloud Platform, Amazon Web Services (AWS), hosted uptime probes, application instrumentation, and a variety of common application components including Cassandra, Nginx, Apache Web Server, Elasticsearch and many others. Stackdriver ingests that data and generates insights via dashboards, charts, and alerts.

This package currently supports all Monitoring API operations other than writing custom metrics.

List available metric types:

from import monitoring
client = monitoring.Client()
for descriptor in client.list_metric_descriptors():

Display CPU utilization across your GCE instances during the last five minutes:

metric = ''
query = client.query(metric, minutes=5)

See the google-cloud-python API monitoring documentation to learn how to connect to Stackdriver Monitoring using this Client Library.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(35.0 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Oct 31, 2017
(42.0 kB) Copy SHA256 Hash SHA256
Source None Oct 31, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting