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


# Google Cloud Run

**Status**: [Development][DocumentStatus]

これらの規約は、Cloud Run上で実行されるリソースに対して推奨されます。

<!-- semconv entity.gcp.cloud_run -->
<!-- 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.cloud_run`

**Description:** Google Cloud Runが使用するリソース。

> [!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 |
| --- | --- | --- | --- | --- | --- | --- |
| Other | [`gcp.cloud_run.job.execution`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gcp/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | string | [`CLOUD_RUN_EXECUTION`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)環境変数で設定される、そのJobに対して実行されているCloud Runの[実行（execution）](https://cloud.google.com/run/docs/managing/job-executions)の名前。 | `job-name-xxxx`; `sample-job-mdw84` |
| Other | [`gcp.cloud_run.job.task_index`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/gcp/) | ![Development](https://img.shields.io/badge/-development-blue) | `Recommended` | int | [`CLOUD_RUN_TASK_INDEX`](https://cloud.google.com/run/docs/container-contract#jobs-env-vars)環境変数で提供される、実行内のタスクのインデックス。 | `0`; `1` |
<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status

