Entities, lookup information, and metrics for Google Cloud Platform

This topic explains the predefined metrics that are available from the Google Cloud Platform services and how they are mapped to the TrueSight Capacity Optimization metrics. Most of the metrics are available to all your GCP projects.

Entity list

The Google Cloud Platform - GCP API Extractor monitors the following entities:

  • Project - Google Cloud
  • Virtual Machine - Google Cloud

Entity relationship

The following table shows the entity relationship details:

Parent entityChild entityRelationship type

Project - Google Cloud

(project:gcp)

Virtual Machine - Google Cloud

(gm:gcp)

PROJECT_CONTAINS_GM

Lookup information

The following table contains the lookup information for the GCP entities.

Entity typeLookup fields

StrongWeak
Project - Google CloudPROJECT_IDNot applicable
Virtual Machine - Google CloudINSTANCE_IDNot applicable

Metric mapping

The following tables contain the mapping between the GCP metrics and the TrueSight Capacity Optimization metrics.

Configuration metrics

TrueSight Capacity Optimization metricGoogle Cloud metricFormula
AVAILABILITY_ZONEInstance.zone
CPU_FAMILYInstance.cpuPlatform
CPU_NUMmachineType.guestCpus
CREATION_TIMEInstance.creationTimestamp
DISK_NUMInstance.diskInstance.getDisks().size()
NETIF_NUMInstance.networkInterfacesInstance.getNetworkInterfaces().size()
REGION_NAMEInstance.zonezone.substring(0, zone.length() - 2)
REQUESTED_INSTANCE_TYPEInstance.machineType
TOTAL_REAL_MEMmachineType.memoryMb
VM_LAST_STATUSInstance.status

Default performance metrics

The following table contains the out-of-the-box performance metrics that the Google Cloud Platform provides.

TrueSight Capacity Optimization metricGoogle Cloud metricFormula
VCPU_NUMReserved Cores
CPU_UTILCPU UtilizationAverage (CPU Utilization)
CPU_TIMECPU UsageAverage (CPU Usage)
DISK_READ_RATEDisk Read BytesDiskReadBytes/duration
DISK_PHYS_READ_RATEDisk Read OperationsDiskReadOperations/duration
DISK_WRITE_RATEDisk Write BytesDiskWriteBytes/duration
DISK_PHYS_WRITE_RATEDisk Write OperationsDiskWriteOperations/duration
NET_OUT_BYTE_RATESent BytesSentBytes/duration
NET_OUT_PKT_RATESent PacketsPacketsSent/duration
NET_IN_BYTE_RATEReceived BytesReceivedBytes/duration
NET_IN_PKT_RATEReceived PacketsReceivedPackets/duration
NET_BYTE_RATEReceived Bytes and Sent bytesSum (ReceivedBytes and SentBytes)
UPTIMEUptime

Performance metrics from the agent

The following table contains the performance metrics that you get after installing the Monitoring Agent and enabling the Stackdriver monitoring.

TrueSight Capacity Optimization metricGoogle Cloud metricFormula
BYCPU_CPU_UTILCPU UtilizationAverage (CPU Utilization)
BYDISK_FREE_SPACEDisk Free SpaceAverage (Disk Free Space)
BYLDISK_IO_READ_RATEDisk Read Operations countAverage (Disk Read Operations Count/time)
BYLDISK_IO_WRITE_RATEDisk Write Operations CountAverage (Disk Write Operations Count/time)
BYLDISK_IO_RATEDisk Operations CountAverage (Disk Operations Count/time)
BYDISK_SERVICE_TIMEDisk Weighted I/O TimeAverage (Disk Weighted I/O time)
CPU_UTIL_USERCPU UsageAverage (CPU Usage)
CPU_UTIL_GUESTCPU Usage PercentAverage (CPU Usage Percent)
DISK_IO_BLOCKEDDisk Pending Operations CountAverage (Disk Pending Operations Count)
DISK_IO_RATEDisk Operations CountAverage (Disk Operations Count)
DISK_IO_READ_RATEDisk Read Operations CountAverage (Disk Read Operations Count)
DISK_IO_WRITE_RATEDisk Write Operations CountAverage (Disk Write Operations Count)
DISK_USED_SPACE_PCTDisk UtilizationAverage (Disk Utilization)
DISK_UTILDisk Operation TimeAverage (Disk Operation Time)
MEM_BUFFEREDMemory BufferedAverage (Memory Buffered)
MEM_CACHEDMemory CachedAverage (Memory Cached)
MEM_CONSUMEDMemory ConsumedAverage (Memory Consumed)
MEM_SWAP_RATESwap I/O OperationsAverage (Swap I/O Operations)
MEM_UTILMemory Usage PercentAverage (Memory Usage Percent)
MEM_UTIL_CACHEDMemory Usage PercentAverage (Memory Usage Percent)
NET_CONNECTIONS_CURRENTTCP ConnectionsAverage (Count of Established TCP Connections)
SWAP_SPACE_USEDSwap UsageAverage (Swap Bytes Used)
SWAP_SPACE_UTILSwap Percent UsedAverage (Swap Percent Used)
Was this page helpful? Yes No Submitting... Thank you

Comments