> Source: https://www.ymotongpoo.com/works/otel-specs-ja/semconv/system/openshift-metrics/


# OpenShiftメトリクスに関するセマンティック規約

**ステータス**: [Development][DocumentStatus]

## OpenShiftメトリクス

この文書では、OpenTelemetryにおける一般的なOpenShift固有のメトリクスのInstrumentと属性について説明します。これらのメトリクスは、OpenShiftの明確に定義されたAPIから収集されます。

`openshift.`名前空間のInstrumentによるメトリクスは、[OpenShift Resource](/works/otel-specs-ja/semconv/resource/k8s/openshift/)に関連付けるべきであり（SHOULD）、それによって`openshift.clusterquota.name`や`openshift.clusterquota.uid`などのその属性を引き継ぎます。

## ClusterResourceQuotaメトリクス

**Description:** 名前空間`openshift.clusterquota`の下で取得される、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1)レベルのメトリクス。

### メトリクス: `openshift.clusterquota.cpu.limit.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.cpu.limit.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.cpu.limit.hard` | UpDownCounter | `{cpu}` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.cpu.limit.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.cpu.limit.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.cpu.limit.used` | UpDownCounter | `{cpu}` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.cpu.request.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.cpu.request.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.cpu.request.hard` | UpDownCounter | `{cpu}` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.cpu.request.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.cpu.request.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.cpu.request.used` | UpDownCounter | `{cpu}` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.memory.limit.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.memory.limit.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.memory.limit.hard` | UpDownCounter | `By` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.memory.limit.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.memory.limit.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.memory.limit.used` | UpDownCounter | `By` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.memory.request.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.memory.request.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.memory.request.hard` | UpDownCounter | `By` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.memory.request.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.memory.request.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.memory.request.used` | UpDownCounter | `By` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.hugepage_count.request.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.hugepage_count.request.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.hugepage_count.request.hard` | UpDownCounter | `{hugepage}` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.hugepage.size`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | K8sのhuge pageのサイズ（識別子）。 | `2Mi` |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.hugepage_count.request.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.hugepage_count.request.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.hugepage_count.request.used` | UpDownCounter | `{hugepage}` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.hugepage.size`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | K8sのhuge pageのサイズ（識別子）。 | `2Mi` |

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.storage.request.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.storage.request.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.storage.request.hard` | UpDownCounter | `By` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.storageclass.name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | K8sの[StorageClass](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#storageclass-v1-storage-k8s-io)オブジェクトの名前。 | `gold.storageclass.storage.k8s.io` |

**[1] `k8s.storageclass.name`:** リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.storage.request.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.storage.request.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.storage.request.used` | UpDownCounter | `By` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.storageclass.name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | K8sの[StorageClass](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#storageclass-v1-storage-k8s-io)オブジェクトの名前。 | `gold.storageclass.storage.k8s.io` |

**[1] `k8s.storageclass.name`:** リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.persistentvolumeclaim_count.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.persistentvolumeclaim_count.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.persistentvolumeclaim_count.hard` | UpDownCounter | `{persistentvolumeclaim}` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.storageclass.name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | K8sの[StorageClass](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#storageclass-v1-storage-k8s-io)オブジェクトの名前。 | `gold.storageclass.storage.k8s.io` |

**[1] `k8s.storageclass.name`:** リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.persistentvolumeclaim_count.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.persistentvolumeclaim_count.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.persistentvolumeclaim_count.used` | UpDownCounter | `{persistentvolumeclaim}` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.storageclass.name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Conditionally Required` [1] | string | K8sの[StorageClass](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#storageclass-v1-storage-k8s-io)オブジェクトの名前。 | `gold.storageclass.storage.k8s.io` |

**[1] `k8s.storageclass.name`:** リソースクォータが特定のストレージクラスに対して定義されている場合、`k8s.storageclass.name`は必須にすべきです。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.ephemeral_storage.request.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.ephemeral_storage.request.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.ephemeral_storage.request.hard` | UpDownCounter | `By` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.ephemeral_storage.request.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.ephemeral_storage.request.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.ephemeral_storage.request.used` | UpDownCounter | `By` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.ephemeral_storage.limit.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.ephemeral_storage.limit.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.ephemeral_storage.limit.hard` | UpDownCounter | `By` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.ephemeral_storage.limit.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.ephemeral_storage.limit.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.ephemeral_storage.limit.used` | UpDownCounter | `By` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.object_count.hard`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.object_count.hard -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.object_count.hard` | UpDownCounter | `{object}` | すべてのプロジェクトにわたって強制される、リソースのハード上限。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Hard`フィールドから取得されます。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.resourcequota.resource_name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | リソースクォータが定義するK8sリソースの名前。[1] | `count/replicationcontrollers` |

**[1] `k8s.resourcequota.resource_name`:** この属性の値は、完全な`count/<resource>[.<group>]`形式の文字列（例: count/deployments.apps、count/pods）、または一部のコアKubernetesリソースについてはリソース名のみ（例: pods、services、configmaps）のいずれかです。オブジェクト数のクォータについては、Kubernetesは両方の形式をサポートします。詳細は[Kubernetes Resource Quotasのドキュメント](https://kubernetes.io/docs/concepts/policy/resource-quotas/#quota-on-object-count)を参照してください。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

### メトリクス: `openshift.clusterquota.object_count.used`

このメトリクスは[推奨][MetricRecommended]です。

<!-- semconv metric.openshift.clusterquota.object_count.used -->
<!-- NOTE: THIS TEXT IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/snippet.md.j2 -->
<!-- prettier-ignore-start -->

| Name | Instrument Type | Unit (UCUM) | Description | Stability | Entity Associations |
| -------- | --------------- | ----------- | -------------- | --------- | ------ |
| `openshift.clusterquota.object_count.used` | UpDownCounter | `{object}` | すべてのプロジェクトにわたる、現在観測されているリソースの合計使用量。[1] | ![Development](https://img.shields.io/badge/-development-blue) | [`openshift.clusterquota`](https://opentelemetry.io/docs/specs/semconv/registry/entities/openshift/#openshift-clusterquota) |

**[1]:** このメトリクスは、[ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total)の
[K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#resourcequotastatus-v1-core)の
`Status.Total.Used`フィールドから取得されます。

**Attributes:**

| Key | Stability | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Value Type | Description | Example Values |
| --- | --- | --- | --- | --- | --- |
| [`k8s.resourcequota.resource_name`](https://opentelemetry.io/docs/specs/semconv/registry/attributes/k8s/) | ![Development](https://img.shields.io/badge/-development-blue) | `Required` | string | リソースクォータが定義するK8sリソースの名前。[1] | `count/replicationcontrollers` |

**[1] `k8s.resourcequota.resource_name`:** この属性の値は、完全な`count/<resource>[.<group>]`形式の文字列（例: count/deployments.apps、count/pods）、または一部のコアKubernetesリソースについてはリソース名のみ（例: pods、services、configmaps）のいずれかです。オブジェクト数のクォータについては、Kubernetesは両方の形式をサポートします。詳細は[Kubernetes Resource Quotasのドキュメント](https://kubernetes.io/docs/concepts/policy/resource-quotas/#quota-on-object-count)を参照してください。

<!-- prettier-ignore-end -->
<!-- END AUTOGENERATED TEXT -->
<!-- endsemconv -->

[DocumentStatus]: https://opentelemetry.io/docs/specs/otel/document-status
[MetricRecommended]: /works/otel-specs-ja/semconv/general/metric-requirement-level/#recommended

