Skip to content

Commit

Permalink
Added "Open in Cloud Shell" buttons to README files [(#1254)](GoogleC…
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelawyu authored and Jon Wayne Parrott committed Dec 7, 2017
1 parent 3d68e30 commit efbea4f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 12 additions & 3 deletions samples/metricscaler/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
Google Cloud Bigtable Python Samples
===============================================================================

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=bigtable/metricscaler/README.rst


This directory contains samples for Google Cloud Bigtable. `Google Cloud Bigtable`_ is Google's NoSQL Big Data database service. It's the same database that powers many core Google services, including Search, Analytics, Maps, and Gmail.


Expand Down Expand Up @@ -58,6 +62,10 @@ Samples
Metricscaling example
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
:target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=bigtable/metricscaler/metricscaler.py;bigtable/metricscaler/README.rst




To run this sample:
Expand All @@ -70,13 +78,13 @@ To run this sample:
[--low_cpu_threshold LOW_CPU_THRESHOLD]
[--short_sleep SHORT_SLEEP] [--long_sleep LONG_SLEEP]
bigtable_instance bigtable_cluster
Scales Cloud Bigtable clusters based on CPU usage.
positional arguments:
bigtable_instance ID of the Cloud Bigtable instance to connect to.
bigtable_cluster ID of the Cloud Bigtable cluster to connect to.
optional arguments:
-h, --help show this help message and exit
--high_cpu_threshold HIGH_CPU_THRESHOLD
Expand All @@ -95,6 +103,7 @@ To run this sample:
The client library
-------------------------------------------------------------------------------

Expand Down
2 changes: 2 additions & 0 deletions samples/metricscaler/README.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ samples:
show_help: true

cloud_client_library: true

folder: bigtable/metricscaler

0 comments on commit efbea4f

Please sign in to comment.