GCP

GCP - AppHub Attributes

This document defines attributes AppHub will apply to resources in GCP. See AppHub overview.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
gcp.apphub.application.containerDevelopmentstringThe container within GCP where the AppHub application is defined.projects/my-container-project
gcp.apphub.application.idDevelopmentstringThe name of the application as configured in AppHub.my-application
gcp.apphub.application.locationDevelopmentstringThe GCP zone or region where the application is defined.us-central1
gcp.apphub.service.criticality_typeDevelopmentstringCriticality of a service indicates its importance to the business. [1]MISSION_CRITICAL; HIGH; MEDIUM
gcp.apphub.service.environment_typeDevelopmentstringEnvironment of a service is the stage of a software lifecycle. [2]PRODUCTION; STAGING; TEST
gcp.apphub.service.idDevelopmentstringThe name of the service as configured in AppHub.my-service
gcp.apphub.workload.criticality_typeDevelopmentstringCriticality of a workload indicates its importance to the business. [3]MISSION_CRITICAL; HIGH; MEDIUM
gcp.apphub.workload.environment_typeDevelopmentstringEnvironment of a workload is the stage of a software lifecycle. [4]PRODUCTION; STAGING; TEST
gcp.apphub.workload.idDevelopmentstringThe name of the workload as configured in AppHub.my-workload

[1] gcp.apphub.service.criticality_type: See AppHub type enum

[2] gcp.apphub.service.environment_type: See AppHub environment type

[3] gcp.apphub.workload.criticality_type: See AppHub type enum

[4] gcp.apphub.workload.environment_type: See AppHub environment type


gcp.apphub.service.criticality_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
HIGHHigh impact.Development
LOWLow impact.Development
MEDIUMMedium impact.Development
MISSION_CRITICALMission critical service.Development

gcp.apphub.service.environment_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
DEVELOPMENTDevelopment environment.Development
PRODUCTIONProduction environment.Development
STAGINGStaging environment.Development
TESTTest environment.Development

gcp.apphub.workload.criticality_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
HIGHHigh impact.Development
LOWLow impact.Development
MEDIUMMedium impact.Development
MISSION_CRITICALMission critical service.Development

gcp.apphub.workload.environment_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
DEVELOPMENTDevelopment environment.Development
PRODUCTIONProduction environment.Development
STAGINGStaging environment.Development
TESTTest environment.Development

GCP - AppHub Destination Attributes

This document defines attributes AppHub will apply to destination resources in GCP. See AppHub overview.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
gcp.apphub_destination.application.containerDevelopmentstringThe container within GCP where the AppHub destination application is defined.projects/my-container-project
gcp.apphub_destination.application.idDevelopmentstringThe name of the destination application as configured in AppHub.my-application
gcp.apphub_destination.application.locationDevelopmentstringThe GCP zone or region where the destination application is defined.us-central1
gcp.apphub_destination.service.criticality_typeDevelopmentstringCriticality of a destination workload indicates its importance to the business as specified in AppHub type enumMISSION_CRITICAL; HIGH; MEDIUM
gcp.apphub_destination.service.environment_typeDevelopmentstringSoftware lifecycle stage of a destination service as defined AppHub environment typePRODUCTION; STAGING; TEST
gcp.apphub_destination.service.idDevelopmentstringThe name of the destination service as configured in AppHub.my-service
gcp.apphub_destination.workload.criticality_typeDevelopmentstringCriticality of a destination workload indicates its importance to the business as specified in AppHub type enumMISSION_CRITICAL; HIGH; MEDIUM
gcp.apphub_destination.workload.environment_typeDevelopmentstringEnvironment of a destination workload is the stage of a software lifecycle as provided in the AppHub environment typePRODUCTION; STAGING; TEST
gcp.apphub_destination.workload.idDevelopmentstringThe name of the destination workload as configured in AppHub.my-workload

gcp.apphub_destination.service.criticality_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
HIGHHigh impact.Development
LOWLow impact.Development
MEDIUMMedium impact.Development
MISSION_CRITICALMission critical service.Development

gcp.apphub_destination.service.environment_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
DEVELOPMENTDevelopment environment.Development
PRODUCTIONProduction environment.Development
STAGINGStaging environment.Development
TESTTest environment.Development

gcp.apphub_destination.workload.criticality_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
HIGHHigh impact.Development
LOWLow impact.Development
MEDIUMMedium impact.Development
MISSION_CRITICALMission critical service.Development

gcp.apphub_destination.workload.environment_type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
DEVELOPMENTDevelopment environment.Development
PRODUCTIONProduction environment.Development
STAGINGStaging environment.Development
TESTTest environment.Development

GCP Client Attributes

Attributes for Google Cloud client libraries.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
gcp.client.serviceDevelopmentstringIdentifies the Google Cloud service for which the official client library is intended. [5]appengine; run; firestore; alloydb; spanner

[5] gcp.client.service: 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.

Attributes:

KeyStabilityValue TypeDescriptionExample Values
gcp.cloud_run.job.executionDevelopmentstringThe 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-mdw84
gcp.cloud_run.job.task_indexDevelopmentintThe index for a task within an execution as provided by the CLOUD_RUN_TASK_INDEX environment variable.0; 1

GCP - Google Compute Engine (GCE) Attributes

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

Attributes:

KeyStabilityValue TypeDescriptionExample Values
gcp.gce.instance.hostnameDevelopmentstringThe 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.internal
gcp.gce.instance.nameDevelopmentstringThe 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-name