GCP

GCP Client Attributes

Attributes for Google Cloud client libraries.

AttributeTypeDescriptionExamplesStability
gcp.client.servicestringIdentifies the Google Cloud service for which the official client library is intended. [1]appengine; run; firestore; alloydb; spannerExperimental

[1]: Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, ‘foo.googleapis.com’ should result in a value of ‘foo’.

GCP - Google Cloud Run Attributes

This document defines attributes for Google Cloud Run.

AttributeTypeDescriptionExamplesStability
gcp.cloud_run.job.executionstringThe name of the Cloud Run execution being run for the Job, as set by the CLOUD_RUN_EXECUTION environment variable.job-name-xxxx; sample-job-mdw84Experimental
gcp.cloud_run.job.task_indexintThe index for a task within an execution as provided by the CLOUD_RUN_TASK_INDEX environment variable.0; 1Experimental

GCP - Google Compute Engine (GCE) Attributes

This document defines attributes for Google Compute Engine (GCE).

AttributeTypeDescriptionExamplesStability
gcp.gce.instance.hostnamestringThe hostname of a GCE instance. This is the full value of the default or custom hostname.my-host1234.example.com; sample-vm.us-west1-b.c.my-project.internalExperimental
gcp.gce.instance.namestringThe instance name of a GCE instance. This is the value provided by host.name, the visible name of the instance in the Cloud Console UI, and the prefix for the default hostname of the instance as defined by the default internal DNS name.instance-1; my-vm-nameExperimental