Monitoring an instance with the Cloud Platform Console
The Google Cloud Platform Console provides several ways to monitor your Cloud Bigtable instance. You can view information about any of the following metrics:
- Data stored: The amount of data stored in the instance's cluster. This metric reflects the fact that Cloud Bigtable compresses your data when it is stored.
- Read requests: The number of random reads and scan requests per second.
- Write requests: The number of write requests per second.
- Read bandwidth: The number of uncompressed bytes per second that were read.
- Write bandwidth: The number of uncompressed bytes per second that were written.
- Error rate: The percentage of all requests that failed on the Cloud Bigtable server side.
- CPU usage: The amount of CPU being used ("Cluster CPU usage") and the maximum amount of CPU available ("Cluster CPU limit"). Not available for development instances.
- Disk load: The total utilization of HDD disks across all of the nodes in the instance's cluster. Available only for HDD clusters.
- Node count: The number of nodes in the instance's cluster.
- CPU utilization: The average CPU utilization across all nodes in the instance's cluster.
- CPU utilization of hottest node: The CPU utilization of the busiest node in the instance's cluster (the node with the highest CPU utilization). Exceeding the recommended maximum for your busiest node can cause latency and other issues for your cluster, even if the average CPU usage across your nodes is under the maximum. If this graph shows significantly higher usage than your average CPU utilization, it may indicate that a process is generating a relatively large number of requests on one or more rows on a single node. Cloud Bigtable typically redistributes these requests across your nodes within a few minutes, but it cannot do so if the requests are all on a single row—in that case, your graph may remain high for more than a few minutes.
You can view each of these metrics over a period ranging from the past 1 hour to the past 30 days.
To view metrics for a Cloud Bigtable instance:
In the Cloud Platform Console, open the list of your existing instances.
Click the name of the instance you want to view.
The Cloud Platform Console displays two charts, one showing CPU utilization over the past four days and another showing the error rate over the past four days. If there is no data available for this time period, the charts will be empty.
To view a different metric, click CPU utilization or Error rate and choose the metric you want to view.
To view a different time period, click one of the time periods above the top of the chart.
Monitoring an instance with Stackdriver Monitoring
Cloud Bigtable exports usage metrics that can be monitored programmatically using Stackdriver Monitoring. You can use the Stackdriver Monitoring API or the Metrics Explorer to track Cloud Bigtable usage metrics.
To view usage metrics in the Metrics Explorer:
In the Cloud Platform Console, open the Monitoring page.
If you are prompted to choose an account, choose the Google account that you use to access Google Cloud Platform.
Click Resources, then click Metrics Explorer.
- Under Find resource type and metric, type
bigtable. A list of Cloud Bigtable resources and metrics appears.
- Click a metric to view a graph of that metric.
For additional information about using Stackdriver Monitoring, see the Stackdriver Monitoring documentation.
- Learn how to programmatically scale your Cloud Bigtable cluster.
- Learn more about Cloud Bigtable performance.
- Read about client-side metrics for the HBase client for Java.
- Try the Stackdriver Monitoring quickstart.