|
4 | 4 | # GCP |
5 | 5 |
|
6 | 6 | - [GCP - AppHub Attributes](#gcp---apphub-attributes) |
| 7 | +- [GCP - AppHub Destination Attributes](#gcp---apphub-destination-attributes) |
7 | 8 | - [GCP Client Attributes](#gcp-client-attributes) |
8 | 9 | - [GCP - Google Cloud Run Attributes](#gcp---google-cloud-run-attributes) |
9 | 10 | - [GCP - Google Compute Engine (GCE) Attributes](#gcp---google-compute-engine-gce-attributes) |
@@ -76,6 +77,66 @@ This document defines attributes AppHub will apply to resources in GCP. See [App |
76 | 77 | | `STAGING` | Staging environment. |  | |
77 | 78 | | `TEST` | Test environment. |  | |
78 | 79 |
|
| 80 | +## GCP - AppHub Destination Attributes |
| 81 | + |
| 82 | +This document defines attributes AppHub will apply to destination resources in GCP. See [AppHub overview](https://cloud.google.com/app-hub/docs/overview). |
| 83 | + |
| 84 | +| Attribute | Type | Description | Examples | Stability | |
| 85 | +|---|---|---|---|---| |
| 86 | +| <a id="gcp-apphub-destination-application-container" href="#gcp-apphub-destination-application-container">`gcp.apphub_destination.application.container`</a> | string | The container within GCP where the AppHub destination application is defined. | `projects/my-container-project` |  | |
| 87 | +| <a id="gcp-apphub-destination-application-id" href="#gcp-apphub-destination-application-id">`gcp.apphub_destination.application.id`</a> | string | The name of the destination application as configured in AppHub. | `my-application` |  | |
| 88 | +| <a id="gcp-apphub-destination-application-location" href="#gcp-apphub-destination-application-location">`gcp.apphub_destination.application.location`</a> | string | The GCP zone or region where the destination application is defined. | `us-central1` |  | |
| 89 | +| <a id="gcp-apphub-destination-service-criticality-type" href="#gcp-apphub-destination-service-criticality-type">`gcp.apphub_destination.service.criticality_type`</a> | string | Criticality of a destination workload indicates its importance to the business as specified in [AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type) | `MISSION_CRITICAL`; `HIGH`; `MEDIUM` |  | |
| 90 | +| <a id="gcp-apphub-destination-service-environment-type" href="#gcp-apphub-destination-service-environment-type">`gcp.apphub_destination.service.environment_type`</a> | string | Software lifecycle stage of a destination service as defined [AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1) | `PRODUCTION`; `STAGING`; `TEST` |  | |
| 91 | +| <a id="gcp-apphub-destination-service-id" href="#gcp-apphub-destination-service-id">`gcp.apphub_destination.service.id`</a> | string | The name of the destination service as configured in AppHub. | `my-service` |  | |
| 92 | +| <a id="gcp-apphub-destination-workload-criticality-type" href="#gcp-apphub-destination-workload-criticality-type">`gcp.apphub_destination.workload.criticality_type`</a> | string | Criticality of a destination workload indicates its importance to the business as specified in [AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type) | `MISSION_CRITICAL`; `HIGH`; `MEDIUM` |  | |
| 93 | +| <a id="gcp-apphub-destination-workload-environment-type" href="#gcp-apphub-destination-workload-environment-type">`gcp.apphub_destination.workload.environment_type`</a> | string | Environment of a destination workload is the stage of a software lifecycle as provided in the [AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1) | `PRODUCTION`; `STAGING`; `TEST` |  | |
| 94 | +| <a id="gcp-apphub-destination-workload-id" href="#gcp-apphub-destination-workload-id">`gcp.apphub_destination.workload.id`</a> | string | The name of the destination workload as configured in AppHub. | `my-workload` |  | |
| 95 | + |
| 96 | +--- |
| 97 | + |
| 98 | +`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. |
| 99 | + |
| 100 | +| Value | Description | Stability | |
| 101 | +|---|---|---| |
| 102 | +| `HIGH` | High impact. |  | |
| 103 | +| `LOW` | Low impact. |  | |
| 104 | +| `MEDIUM` | Medium impact. |  | |
| 105 | +| `MISSION_CRITICAL` | Mission critical service. |  | |
| 106 | + |
| 107 | +--- |
| 108 | + |
| 109 | +`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. |
| 110 | + |
| 111 | +| Value | Description | Stability | |
| 112 | +|---|---|---| |
| 113 | +| `DEVELOPMENT` | Development environment. |  | |
| 114 | +| `PRODUCTION` | Production environment. |  | |
| 115 | +| `STAGING` | Staging environment. |  | |
| 116 | +| `TEST` | Test environment. |  | |
| 117 | + |
| 118 | +--- |
| 119 | + |
| 120 | +`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. |
| 121 | + |
| 122 | +| Value | Description | Stability | |
| 123 | +|---|---|---| |
| 124 | +| `HIGH` | High impact. |  | |
| 125 | +| `LOW` | Low impact. |  | |
| 126 | +| `MEDIUM` | Medium impact. |  | |
| 127 | +| `MISSION_CRITICAL` | Mission critical service. |  | |
| 128 | + |
| 129 | +--- |
| 130 | + |
| 131 | +`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. |
| 132 | + |
| 133 | +| Value | Description | Stability | |
| 134 | +|---|---|---| |
| 135 | +| `DEVELOPMENT` | Development environment. |  | |
| 136 | +| `PRODUCTION` | Production environment. |  | |
| 137 | +| `STAGING` | Staging environment. |  | |
| 138 | +| `TEST` | Test environment. |  | |
| 139 | + |
79 | 140 | ## GCP Client Attributes |
80 | 141 |
|
81 | 142 | Attributes for Google Cloud client libraries. |
|
0 commit comments