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 entity | Child entity | Relationship 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 type | Lookup fields | |
---|---|---|
Strong | Weak | |
Project - Google Cloud | PROJECT_ID | Not applicable |
Virtual Machine - Google Cloud | INSTANCE_ID | Not applicable |
Metric mapping
The following tables contain the mapping between the GCP metrics and the TrueSight Capacity Optimization metrics.
Configuration metrics
TrueSight Capacity Optimization metric | Google Cloud metric | Formula |
---|---|---|
AVAILABILITY_ZONE | Instance.zone | |
CPU_FAMILY | Instance.cpuPlatform | |
CPU_NUM | machineType.guestCpus | |
CREATION_TIME | Instance.creationTimestamp | |
DISK_NUM | Instance.disk | Instance.getDisks().size() |
NETIF_NUM | Instance.networkInterfaces | Instance.getNetworkInterfaces().size() |
REGION_NAME | Instance.zone | zone.substring(0, zone.length() - 2) |
REQUESTED_INSTANCE_TYPE | Instance.machineType | |
TOTAL_REAL_MEM | machineType.memoryMb | |
VM_LAST_STATUS | Instance.status |
Default performance metrics
The following table contains the out-of-the-box performance metrics that the Google Cloud Platform provides.
TrueSight Capacity Optimization metric | Google Cloud metric | Formula |
---|---|---|
VCPU_NUM | Reserved Cores | |
CPU_UTIL | CPU Utilization | Average (CPU Utilization) |
CPU_TIME | CPU Usage | Average (CPU Usage) |
DISK_READ_RATE | Disk Read Bytes | DiskReadBytes/duration |
DISK_PHYS_READ_RATE | Disk Read Operations | DiskReadOperations/duration |
DISK_WRITE_RATE | Disk Write Bytes | DiskWriteBytes/duration |
DISK_PHYS_WRITE_RATE | Disk Write Operations | DiskWriteOperations/duration |
NET_OUT_BYTE_RATE | Sent Bytes | SentBytes/duration |
NET_OUT_PKT_RATE | Sent Packets | PacketsSent/duration |
NET_IN_BYTE_RATE | Received Bytes | ReceivedBytes/duration |
NET_IN_PKT_RATE | Received Packets | ReceivedPackets/duration |
NET_BYTE_RATE | Received Bytes and Sent bytes | Sum (ReceivedBytes and SentBytes) |
UPTIME | Uptime |
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 metric | Google Cloud metric | Formula |
---|---|---|
BYCPU_CPU_UTIL | CPU Utilization | Average (CPU Utilization) |
BYDISK_FREE_SPACE | Disk Free Space | Average (Disk Free Space) |
BYLDISK_IO_READ_RATE | Disk Read Operations count | Average (Disk Read Operations Count/time) |
BYLDISK_IO_WRITE_RATE | Disk Write Operations Count | Average (Disk Write Operations Count/time) |
BYLDISK_IO_RATE | Disk Operations Count | Average (Disk Operations Count/time) |
BYDISK_SERVICE_TIME | Disk Weighted I/O Time | Average (Disk Weighted I/O time) |
CPU_UTIL_USER | CPU Usage | Average (CPU Usage) |
CPU_UTIL_GUEST | CPU Usage Percent | Average (CPU Usage Percent) |
DISK_IO_BLOCKED | Disk Pending Operations Count | Average (Disk Pending Operations Count) |
DISK_IO_RATE | Disk Operations Count | Average (Disk Operations Count) |
DISK_IO_READ_RATE | Disk Read Operations Count | Average (Disk Read Operations Count) |
DISK_IO_WRITE_RATE | Disk Write Operations Count | Average (Disk Write Operations Count) |
DISK_USED_SPACE_PCT | Disk Utilization | Average (Disk Utilization) |
DISK_UTIL | Disk Operation Time | Average (Disk Operation Time) |
MEM_BUFFERED | Memory Buffered | Average (Memory Buffered) |
MEM_CACHED | Memory Cached | Average (Memory Cached) |
MEM_CONSUMED | Memory Consumed | Average (Memory Consumed) |
MEM_SWAP_RATE | Swap I/O Operations | Average (Swap I/O Operations) |
MEM_UTIL | Memory Usage Percent | Average (Memory Usage Percent) |
MEM_UTIL_CACHED | Memory Usage Percent | Average (Memory Usage Percent) |
NET_CONNECTIONS_CURRENT | TCP Connections | Average (Count of Established TCP Connections) |
SWAP_SPACE_USED | Swap Usage | Average (Swap Bytes Used) |
SWAP_SPACE_UTIL | Swap Percent Used | Average (Swap Percent Used) |
Comments
Log in or register to comment.