GCP Bigtable¶
Collect GCP Bigtable metrics.
Configuration¶
Install Func¶
We recommend enabling TrueWatch Integration - Extensions - Managed Func. All prerequisites are installed automatically; continue with the script installation.
If you deploy Func yourself, see Self-deploying Func.
Install Script¶
- Log in to the Func console, click [Script Market], open the TrueWatch Script Market, and search for
integration_gcp_bigtable. - Click [Install], then enter the required parameters: account file name, Target Principal, and account name.
- Click [Deploy Startup Script]. The system automatically creates a
Startupscript set and configures the corresponding startup script. - After enabling it, find the automatic trigger configuration under "Management / Automatic Trigger Configuration". Click [Execute] to run it immediately, then review the task record and logs.
Verification¶
- Under "Management / Automatic Trigger Configuration", confirm that the task exists and check its task records and logs for errors.
- In TrueWatch, check "Infrastructure / Custom" for the corresponding asset information.
- In TrueWatch, check "Metrics" for the corresponding measurement and monitoring data.
Metrics¶
GCP Bigtable metrics are stored in the gcp_bigtable measurement. The original metrics come from the Cloud Monitoring bigtable.googleapis.com/ namespace. The table below lists key metrics; see GCP Bigtable metrics for the complete metric catalog.
| Metric | Original Metric | Description | Unit |
|---|---|---|---|
| backup_bytes_used | backup/bytes_used |
Backup bytes used | Bytes |
| client_attempt_latencies | client/attempt_latencies |
Client attempt latencies | ms |
| client_connectivity_error_count | client/connectivity_error_count |
Client connectivity error count | Count |
| client_operation_latencies | client/operation_latencies |
Client operation latencies | ms |
| client_retry_count | client/retry_count |
Client retry count | Count |
| client_server_latencies | client/server_latencies |
Client server latencies | ms |
| cluster_autoscaling_max_node_count | cluster/autoscaling/max_node_count |
Cluster autoscaling max node count | Count |
| cluster_autoscaling_min_node_count | cluster/autoscaling/min_node_count |
Cluster autoscaling min node count | Count |
| cluster_cpu_load | cluster/cpu_load |
Cluster cpu load | Ratio |
| cluster_node_count | cluster/node_count |
Cluster node count | Count |
| server_latencies | server/latencies |
Server latencies | ms |
| server_received_bytes_count | server/received_bytes_count |
Server received bytes count | Bytes |
| server_request_count | server/request_count |
Server request count | Count |
| server_returned_rows_count | server/returned_rows_count |
Server returned rows count | Count |
| server_sent_bytes_count | server/sent_bytes_count |
Server sent bytes count | Bytes |
| table_bytes_used | table/bytes_used |
Table bytes used | Bytes |
| table_change_stream_log_used_bytes | table/change_stream_log_used_bytes |
Table change stream log used bytes | Bytes |