Skip to content

GCP Filestore

Collect GCP Filestore 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

  1. Log in to the Func console, click [Script Market], open the TrueWatch Script Market, and search for integration_gcp_filestore.
  2. Click [Install], then enter the required parameters: account file name, Target Principal, and account name.
  3. Click [Deploy Startup Script]. The system automatically creates a Startup script set and configures the corresponding startup script.
  4. 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

  1. Under "Management / Automatic Trigger Configuration", confirm that the task exists and check its task records and logs for errors.
  2. In TrueWatch, check "Infrastructure / Custom" for the corresponding asset information.
  3. In TrueWatch, check "Metrics" for the corresponding measurement and monitoring data.

Metrics

GCP Filestore metrics are stored in the gcp_filestore measurement. The original metrics come from the Cloud Monitoring file.googleapis.com/ namespace. The table below lists key metrics; see GCP Filestore metrics for the complete metric catalog.

Metric Original Metric Description Unit
nfs_server_free_bytes nfs/server/free_bytes Nfs server free bytes Bytes
nfs_server_free_bytes_percent nfs/server/free_bytes_percent Nfs server free bytes percent %
nfs_server_instance_available nfs/server/instance_available Nfs server instance available Bool
nfs_server_locks nfs/server/locks Nfs server locks Count
nfs_server_metadata_ops_count nfs/server/metadata_ops_count Nfs server metadata operations count Count
nfs_server_procedure_call_count nfs/server/procedure_call_count Nfs server procedure call count Count
nfs_server_read_bytes_count nfs/server/read_bytes_count Nfs server read bytes count Bytes
nfs_server_read_milliseconds_count nfs/server/read_milliseconds_count Nfs server read milliseconds count ms
nfs_server_read_ops_count nfs/server/read_ops_count Nfs server read operations count Count
nfs_server_snapshots_used_bytes nfs/server/snapshots_used_bytes Nfs server snapshots used bytes Bytes
nfs_server_used_bytes nfs/server/used_bytes Nfs server used bytes Bytes
nfs_server_used_bytes_percent nfs/server/used_bytes_percent Nfs server used bytes percent %
nfs_server_write_bytes_count nfs/server/write_bytes_count Nfs server write bytes count Bytes
nfs_server_write_milliseconds_count nfs/server/write_milliseconds_count Nfs server write milliseconds count ms
nfs_server_write_ops_count nfs/server/write_ops_count Nfs server write operations count Count