Google Cloud Platform metadata
GCP infrastructure metadata in Splunk Observability Cloud.
The GCP integration queries the GCP API for metadata about the monitored resources. You can filter and group metrics by this metadata in charts, or in the Infrastructure navigator.
-
Metadata that are common to all services within a project (project-level metadata) are put on properties of
project_id
dimension. -
Metadata that are service-specific (service-level metadata) are put on properties of the
gcp_id
dimension.
Project-level metadata
See the metadata synced at a project level:
GCP name |
Custom property |
Description |
---|---|---|
|
|
Time project was created (for example, |
|
|
All project-wide labels except for |
|
|
Human-readable project name |
|
|
|
|
|
Project status (e.g. |
* Labels
is a list of key-value pairs in GCP. Therefore, if GCP has [key1:label01
, key2:label02
] as the labels property, Infrastructure Monitoring has two properties: gcp_project_label_key1
and gcp_project_label_key2
.
Service-level metadata
See the metadata synced at a service level:
Compute Engine
For Google Cloud Platform Compute Engine instances, Infrastructure Monitoring gets a subset of metadata about the instance, as well as custom metadata specified by the user at an instance level.
Compute Engine instance metadata
GCP name |
Custom property |
Description |
---|---|---|
|
|
Whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user) |
|
|
Maintenance behavior for the instance |
|
|
True if the instance is preemptible; otherwise false |
|
|
CPU platform used by this instance |
|
|
Number of virtual CPUs that are available to the instance |
|
|
Time when the instance was created, (for example, |
|
|
Description of this instance |
|
|
License corresponding to the disks used by the instance |
|
|
Whether to allow this instance to send and receive packets with non-matching destination or source IPs |
|
|
Type of gcp machine to which this instance corresponds |
|
|
Amount of physical memory available to the instance, defined in MB |
|
|
Custom metadata key for the instance (generated based on includelisted properties specified when completing the integration in Splunk Infrastructure Monitoring) |
|
|
String containing instance status and status code, for example |
|
|
Status of the instance, for example |
|
|
Instance self link as reported by GCP |
|
|
Instance ID in a format enforced by Splunk Observability Cloud, for example |
* There is not a one-to-one mapping between the gcp_image_license
property to one in GCP because the property value is derived from the licenses of the disks associated with the compute instance.
** Labels is a list of key value pairs in GCP. Therefore, if GCP has [key1:label01
, key2:label02
] as the labels property, Infrastructure Monitoring has two properties: gcp_project_label_key1
and gcp_project_label_key2
.
For detailed information on properties, see Google Cloud documentation.
Kubernetes Engine
GKE syncs properties for the following resources:
k8s_container
GCP name |
Custom property |
Description |
---|---|---|
|
|
Cluster name |
|
|
Name of the pod’s namespace |
|
|
Pod name |
|
|
Container name |
k8s_node
GCP name |
Custom property |
Description |
---|---|---|
|
|
Cluster name |
|
|
Node name |
k8s_pod
GCP name |
Custom property |
Description |
---|---|---|
|
|
Cluster name |
|
|
Name of the pod’s namespace |
|
|
Pod name |
Storage Bucket
Storage buckets sync the following properties:
GCP name |
Custom property |
Description |
---|---|---|
|
|
Time at which the bucket was created, (for example, |
Labels * |
|
User-specified labels |
Storage class |
|
Bucket’s storage class, such as |
* Labels is a list of key value pairs in GCP. Therefore, if GCP has [key1:label01
, key2:label02
] as the labels property, Infrastructure Monitoring has two properties: gcp_project_label_key1
and gcp_project_label_key2
.
Spanner
Spanner instances currently sync the following properties:
GCP name |
Custom property |
Description |
---|---|---|
|
|
State of the spanner instance (e.g. |
|
|
User-specified labels |
* Labels is a list of key value pairs in GCP. Therefore, if GCP has [key1:label01
, key2:label02
] as the labels property, Infrastructure Monitoring has two properties: gcp_project_label_key1
and gcp_project_label_key2
.