> Source: https://www.ymotongpoo.com/works/otel-specs-ja/semconv/resource/cloud-provider/gcp/gce/


# Google Compute Engine

<!-- semconv entity.gcp.gce -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

**Status:** ![Development](https://img.shields.io/badge/-development-blue)

**type:** `gcp.gce`

**Description:** Google Compute Engine（GCE）が使用するリソース。

> [!warning]
> このEntity定義には、ロールを持たない属性が含まれています。
> 安定版のEntityは、ロールが定義されていない属性を持ってはなりません（MUST NOT）。

**Attributes:**

| Role | Key | Stability | [Requirement Level](/works/otel-specs-ja/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- | --- |
| Description | [`gcp.gce.instance.labels.<key>`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gcp/) | ![Development](https://img.shields.io/badge/-development-blue) | `Opt-In` | string | GCEインスタンスのラベル。`<key>` はラベル名で、値はラベルの値。[1] | `observability` |
| Other | [`gcp.gce.instance.hostname`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gcp/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | GCEインスタンスのホスト名。これはデフォルトまたは[カスタムホスト名](https://cloud.google.com/compute/docs/instances/custom-hostname-vm)の完全な値です。 | `my-host1234.example.com`; `sample-vm.us-west1-b.c.my-project.internal` |
| Other | [`gcp.gce.instance.name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gcp/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | GCEインスタンスのインスタンス名。これは `host.name` によって提供される値であり、Cloud ConsoleのUIでそのインスタンスに表示される名前であり、[デフォルトの内部DNS名](https://cloud.google.com/compute/docs/internal-dns#instance-fully-qualified-domain-names)で定義されているインスタンスのデフォルトホスト名のプレフィックスでもあります。 | `instance-1`; `my-vm-name` |

**[1] `gcp.gce.instance.labels.<key>`:** 例えば、値 `observability` を持つGCEインスタンスラベル `team` は、値 `"observability"` を持つ `gcp.gce.instance.labels.team` 属性として記録すべきです（SHOULD）。`<key>` はGCEインスタンスラベルのキーと厳密に一致しなければなりません（MUST）。
<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

