feat(semantic-conventions): update semantic conventions to v1.36.0 (#5779)
This commit is contained in:
parent
41ba7f57cb
commit
06330cebbb
|
|
@ -7,9 +7,9 @@ ROOT_DIR="${SCRIPT_DIR}/../../"
|
|||
|
||||
# Get latest version by running `git tag -l --sort=version:refname | tail -1`
|
||||
# ... in git@github.com:open-telemetry/semantic-conventions.git
|
||||
SPEC_VERSION=v1.34.0
|
||||
SPEC_VERSION=v1.36.0
|
||||
# ... in git@github.com:open-telemetry/weaver.git
|
||||
GENERATOR_VERSION=v0.15.0
|
||||
GENERATOR_VERSION=v0.16.1
|
||||
|
||||
# When running on windows and you are getting references to ";C" (like Telemetry;C)
|
||||
# then this is an issue with the bash shell, so first run the following in your shell:
|
||||
|
|
|
|||
|
|
@ -9,6 +9,161 @@ All notable changes to the semantic-conventions package will be documented in th
|
|||
|
||||
### :rocket: Features
|
||||
|
||||
* feat: update semantic conventions to v1.36.0 [#5779](https://github.com/open-telemetry/opentelemetry-js/pull/5779) @trentm
|
||||
* Semantic Conventions v1.36.0: [changelog](https://github.com/open-telemetry/semantic-conventions/blob/main/CHANGELOG.md#v1360) | [latest docs](https://opentelemetry.io/docs/specs/semconv/)
|
||||
* `@opentelemetry/semantic-conventions` (stable) changes: *none*
|
||||
* `@opentelemetry/semantic-conventions/incubating` (unstable) changes: *8 exported values changed, 7 newly deprecated exports, 3 newly undeprecated exports, 88 added exports*
|
||||
|
||||
#### Unstable changes in v1.36.0
|
||||
|
||||
<details>
|
||||
<summary>8 exported values changed</summary>
|
||||
|
||||
```js
|
||||
CLOUD_PLATFORM_VALUE_AZURE_AKS // "azure_aks" -> "azure.aks"
|
||||
CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE // "azure_app_service" -> "azure.app_service"
|
||||
CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS // "azure_container_apps" -> "azure.container_apps"
|
||||
CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES // "azure_container_instances" -> "azure.container_instances"
|
||||
CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS // "azure_functions" -> "azure.functions"
|
||||
CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT // "azure_openshift" -> "azure.openshift"
|
||||
CLOUD_PLATFORM_VALUE_AZURE_VM // "azure_vm" -> "azure.vm"
|
||||
GEN_AI_SYSTEM_VALUE_AZ_AI_OPENAI // "az.ai.openai" -> "azure.ai.openai"
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>7 newly deprecated exports</summary>
|
||||
|
||||
```js
|
||||
METRIC_CPU_FREQUENCY // cpu.frequency: Replaced by `system.cpu.frequency`.
|
||||
METRIC_CPU_TIME // cpu.time: Replaced by `system.cpu.time`.
|
||||
METRIC_CPU_UTILIZATION // cpu.utilization: Replaced by `system.cpu.utilization`.
|
||||
METRIC_OTEL_SDK_SPAN_ENDED // otel.sdk.span.ended: Obsoleted.
|
||||
METRIC_SYSTEM_NETWORK_CONNECTIONS // system.network.connections: Replaced by `system.network.connection.count`.
|
||||
ATTR_AZ_NAMESPACE // az.namespace: Replaced by `azure.resource_provider.namespace`.
|
||||
ATTR_AZ_SERVICE_REQUEST_ID // az.service_request_id: Replaced by `azure.service.request.id`.
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>3 newly undeprecated exports</summary>
|
||||
|
||||
```js
|
||||
METRIC_SYSTEM_CPU_FREQUENCY // system.cpu.frequency
|
||||
METRIC_SYSTEM_CPU_TIME // system.cpu.time
|
||||
METRIC_SYSTEM_CPU_UTILIZATION // system.cpu.utilization
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>88 added exports</summary>
|
||||
|
||||
```js
|
||||
METRIC_K8S_CONTAINER_CPU_LIMIT // k8s.container.cpu.limit
|
||||
METRIC_K8S_CONTAINER_CPU_REQUEST // k8s.container.cpu.request
|
||||
METRIC_K8S_CONTAINER_EPHEMERAL_STORAGE_LIMIT // k8s.container.ephemeral_storage.limit
|
||||
METRIC_K8S_CONTAINER_EPHEMERAL_STORAGE_REQUEST // k8s.container.ephemeral_storage.request
|
||||
METRIC_K8S_CONTAINER_MEMORY_LIMIT // k8s.container.memory.limit
|
||||
METRIC_K8S_CONTAINER_MEMORY_REQUEST // k8s.container.memory.request
|
||||
METRIC_K8S_CONTAINER_READY // k8s.container.ready
|
||||
METRIC_K8S_CONTAINER_RESTART_COUNT // k8s.container.restart.count
|
||||
METRIC_K8S_CONTAINER_STATUS_REASON // k8s.container.status.reason
|
||||
METRIC_K8S_CONTAINER_STATUS_STATE // k8s.container.status.state
|
||||
METRIC_K8S_CONTAINER_STORAGE_LIMIT // k8s.container.storage.limit
|
||||
METRIC_K8S_CONTAINER_STORAGE_REQUEST // k8s.container.storage.request
|
||||
METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION // k8s.hpa.metric.target.cpu.average_utilization
|
||||
METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE // k8s.hpa.metric.target.cpu.average_value
|
||||
METRIC_K8S_HPA_METRIC_TARGET_CPU_VALUE // k8s.hpa.metric.target.cpu.value
|
||||
METRIC_K8S_NODE_ALLOCATABLE_CPU // k8s.node.allocatable.cpu
|
||||
METRIC_K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE // k8s.node.allocatable.ephemeral_storage
|
||||
METRIC_K8S_NODE_ALLOCATABLE_MEMORY // k8s.node.allocatable.memory
|
||||
METRIC_K8S_NODE_ALLOCATABLE_PODS // k8s.node.allocatable.pods
|
||||
METRIC_K8S_NODE_CONDITION_STATUS // k8s.node.condition.status
|
||||
METRIC_K8S_RESOURCEQUOTA_CPU_LIMIT_HARD // k8s.resourcequota.cpu.limit.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_CPU_LIMIT_USED // k8s.resourcequota.cpu.limit.used
|
||||
METRIC_K8S_RESOURCEQUOTA_CPU_REQUEST_HARD // k8s.resourcequota.cpu.request.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_CPU_REQUEST_USED // k8s.resourcequota.cpu.request.used
|
||||
METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD // k8s.resourcequota.ephemeral_storage.limit.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USED // k8s.resourcequota.ephemeral_storage.limit.used
|
||||
METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD // k8s.resourcequota.ephemeral_storage.request.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USED // k8s.resourcequota.ephemeral_storage.request.used
|
||||
METRIC_K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARD // k8s.resourcequota.hugepage_count.request.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USED // k8s.resourcequota.hugepage_count.request.used
|
||||
METRIC_K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARD // k8s.resourcequota.memory.limit.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_MEMORY_LIMIT_USED // k8s.resourcequota.memory.limit.used
|
||||
METRIC_K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARD // k8s.resourcequota.memory.request.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_MEMORY_REQUEST_USED // k8s.resourcequota.memory.request.used
|
||||
METRIC_K8S_RESOURCEQUOTA_OBJECT_COUNT_HARD // k8s.resourcequota.object_count.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_OBJECT_COUNT_USED // k8s.resourcequota.object_count.used
|
||||
METRIC_K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD // k8s.resourcequota.persistentvolumeclaim_count.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED // k8s.resourcequota.persistentvolumeclaim_count.used
|
||||
METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD // k8s.resourcequota.storage.request.hard
|
||||
METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED // k8s.resourcequota.storage.request.used
|
||||
|
||||
METRIC_OTEL_SDK_SPAN_STARTED // otel.sdk.span.started
|
||||
|
||||
METRIC_SYSTEM_NETWORK_CONNECTION_COUNT // system.network.connection.count
|
||||
|
||||
ATTR_AZURE_RESOURCE_PROVIDER_NAMESPACE // azure.resource_provider.namespace
|
||||
ATTR_AZURE_SERVICE_REQUEST_ID // azure.service.request.id
|
||||
|
||||
ATTR_DNS_ANSWERS // dns.answers
|
||||
|
||||
GEN_AI_SYSTEM_VALUE_AZURE_AI_INFERENCE // "azure.ai.inference"
|
||||
GEN_AI_SYSTEM_VALUE_AZURE_AI_OPENAI // "azure.ai.openai"
|
||||
|
||||
ATTR_K8S_CONTAINER_STATUS_REASON // k8s.container.status.reason
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_COMPLETED // "Completed"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_CONTAINER_CANNOT_RUN // "ContainerCannotRun"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_CONTAINER_CREATING // "ContainerCreating"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_CRASH_LOOP_BACK_OFF // "CrashLoopBackOff"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_CREATE_CONTAINER_CONFIG_ERROR // "CreateContainerConfigError"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_ERR_IMAGE_PULL // "ErrImagePull"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_ERROR // "Error"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_IMAGE_PULL_BACK_OFF // "ImagePullBackOff"
|
||||
K8S_CONTAINER_STATUS_REASON_VALUE_OOM_KILLED // "OOMKilled"
|
||||
ATTR_K8S_CONTAINER_STATUS_STATE // k8s.container.status.state
|
||||
K8S_CONTAINER_STATUS_STATE_VALUE_RUNNING // "running"
|
||||
K8S_CONTAINER_STATUS_STATE_VALUE_TERMINATED // "terminated"
|
||||
K8S_CONTAINER_STATUS_STATE_VALUE_WAITING // "waiting"
|
||||
ATTR_K8S_HPA_METRIC_TYPE // k8s.hpa.metric.type
|
||||
ATTR_K8S_HPA_SCALETARGETREF_API_VERSION // k8s.hpa.scaletargetref.api_version
|
||||
ATTR_K8S_HPA_SCALETARGETREF_KIND // k8s.hpa.scaletargetref.kind
|
||||
ATTR_K8S_HPA_SCALETARGETREF_NAME // k8s.hpa.scaletargetref.name
|
||||
ATTR_K8S_HUGEPAGE_SIZE // k8s.hugepage.size
|
||||
ATTR_K8S_NODE_CONDITION_STATUS // k8s.node.condition.status
|
||||
K8S_NODE_CONDITION_STATUS_VALUE_CONDITION_FALSE // "false"
|
||||
K8S_NODE_CONDITION_STATUS_VALUE_CONDITION_TRUE // "true"
|
||||
K8S_NODE_CONDITION_STATUS_VALUE_CONDITION_UNKNOWN // "unknown"
|
||||
ATTR_K8S_NODE_CONDITION_TYPE // k8s.node.condition.type
|
||||
K8S_NODE_CONDITION_TYPE_VALUE_DISK_PRESSURE // "DiskPressure"
|
||||
K8S_NODE_CONDITION_TYPE_VALUE_MEMORY_PRESSURE // "MemoryPressure"
|
||||
K8S_NODE_CONDITION_TYPE_VALUE_NETWORK_UNAVAILABLE // "NetworkUnavailable"
|
||||
K8S_NODE_CONDITION_TYPE_VALUE_PID_PRESSURE // "PIDPressure"
|
||||
K8S_NODE_CONDITION_TYPE_VALUE_READY // "Ready"
|
||||
ATTR_K8S_RESOURCEQUOTA_RESOURCE_NAME // k8s.resourcequota.resource_name
|
||||
ATTR_K8S_STORAGECLASS_NAME // k8s.storageclass.name
|
||||
|
||||
ATTR_MAINFRAME_LPAR_NAME // mainframe.lpar.name
|
||||
|
||||
OS_TYPE_VALUE_ZOS // "zos"
|
||||
|
||||
OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER // "prometheus_http_text_metric_exporter"
|
||||
OTEL_COMPONENT_TYPE_VALUE_ZIPKIN_HTTP_SPAN_EXPORTER // "zipkin_http_span_exporter"
|
||||
ATTR_OTEL_SPAN_PARENT_ORIGIN // otel.span.parent.origin
|
||||
OTEL_SPAN_PARENT_ORIGIN_VALUE_LOCAL // "local"
|
||||
OTEL_SPAN_PARENT_ORIGIN_VALUE_NONE // "none"
|
||||
OTEL_SPAN_PARENT_ORIGIN_VALUE_REMOTE // "remote"
|
||||
|
||||
ATTR_ZOS_SMF_ID // zos.smf.id
|
||||
ATTR_ZOS_SYSPLEX_NAME // zos.sysplex.name
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
* feat: improve the jsdoc comment on exported constants for enum values [#5784](https://github.com/open-telemetry/opentelemetry-js/pull/5784) @trentm
|
||||
* The jsdoc comment for enum values now includes the 'brief', an
|
||||
`@experimental` tag, and a `@deprecated` tag if the corresponding fields
|
||||
|
|
|
|||
|
|
@ -800,22 +800,26 @@ export const ATTR_AWS_STEP_FUNCTIONS_ACTIVITY_ARN = 'aws.step_functions.activity
|
|||
export const ATTR_AWS_STEP_FUNCTIONS_STATE_MACHINE_ARN = 'aws.step_functions.state_machine.arn' as const;
|
||||
|
||||
/**
|
||||
* [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
|
||||
* Deprecated, use `azure.resource_provider.namespace` instead.
|
||||
*
|
||||
* @example Microsoft.Storage
|
||||
* @example Microsoft.KeyVault
|
||||
* @example Microsoft.ServiceBus
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `azure.resource_provider.namespace`.
|
||||
*/
|
||||
export const ATTR_AZ_NAMESPACE = 'az.namespace' as const;
|
||||
|
||||
/**
|
||||
* The unique identifier of the service request. It's generated by the Azure service and returned with the response.
|
||||
* Deprecated, use `azure.service.request.id` instead.
|
||||
*
|
||||
* @example 00000000-0000-0000-0000-000000000000
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `azure.service.request.id`.
|
||||
*/
|
||||
export const ATTR_AZ_SERVICE_REQUEST_ID = 'az.service_request_id' as const;
|
||||
|
||||
|
|
@ -940,6 +944,26 @@ export const ATTR_AZURE_COSMOSDB_REQUEST_BODY_SIZE = 'azure.cosmosdb.request.bod
|
|||
*/
|
||||
export const ATTR_AZURE_COSMOSDB_RESPONSE_SUB_STATUS_CODE = 'azure.cosmosdb.response.sub_status_code' as const;
|
||||
|
||||
/**
|
||||
* [Azure Resource Provider Namespace](https://learn.microsoft.com/azure/azure-resource-manager/management/azure-services-resource-providers) as recognized by the client.
|
||||
*
|
||||
* @example Microsoft.Storage
|
||||
* @example Microsoft.KeyVault
|
||||
* @example Microsoft.ServiceBus
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_AZURE_RESOURCE_PROVIDER_NAMESPACE = 'azure.resource_provider.namespace' as const;
|
||||
|
||||
/**
|
||||
* The unique identifier of the service request. It's generated by the Azure service and returned with the response.
|
||||
*
|
||||
* @example 00000000-0000-0000-0000-000000000000
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_AZURE_SERVICE_REQUEST_ID = 'azure.service.request.id' as const;
|
||||
|
||||
/**
|
||||
* Array of brand name and version separated by a space
|
||||
*
|
||||
|
|
@ -1623,67 +1647,67 @@ export const CLOUD_PLATFORM_VALUE_AWS_LAMBDA = "aws_lambda" as const;
|
|||
export const CLOUD_PLATFORM_VALUE_AWS_OPENSHIFT = "aws_openshift" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_aks" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.aks" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure Kubernetes Service
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure_aks" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_AKS = "azure.aks" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_app_service" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.app_service" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure App Service
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure_app_service" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_APP_SERVICE = "azure.app_service" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_container_apps" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.container_apps" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure Container Apps
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure_container_apps" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_APPS = "azure.container_apps" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_container_instances" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.container_instances" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure Container Instances
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure_container_instances" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_CONTAINER_INSTANCES = "azure.container_instances" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_functions" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.functions" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure Functions
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure_functions" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_FUNCTIONS = "azure.functions" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_openshift" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.openshift" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure Red Hat OpenShift
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure_openshift" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_OPENSHIFT = "azure.openshift" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure_vm" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
* Enum value "azure.vm" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
*
|
||||
* Azure Virtual Machines
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_VM = "azure_vm" as const;
|
||||
export const CLOUD_PLATFORM_VALUE_AZURE_VM = "azure.vm" as const;
|
||||
|
||||
/**
|
||||
* Enum value "gcp_app_engine" for attribute {@link ATTR_CLOUD_PLATFORM}.
|
||||
|
|
@ -1912,7 +1936,7 @@ export const ATTR_CLOUD_REGION = 'cloud.region' as const;
|
|||
* with the resolved function version, as the same runtime instance may be invocable with
|
||||
* multiple different aliases.
|
||||
* - **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
|
||||
* - **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
|
||||
* - **Azure:** The [Fully Qualified Resource ID](https://learn.microsoft.com/rest/api/resources/resources/get-by-id) of the invoked function,
|
||||
* *not* the function app, having the form
|
||||
* `/subscriptions/<SUBSCRIPTION_GUID>/resourceGroups/<RG>/providers/Microsoft.Web/sites/<FUNCAPP>/functions/<FUNC>`.
|
||||
* This means that a span attribute **MUST** be used, as an Azure function app can host multiple functions that would usually share
|
||||
|
|
@ -4199,6 +4223,15 @@ export const DISK_IO_DIRECTION_VALUE_READ = "read" as const;
|
|||
*/
|
||||
export const DISK_IO_DIRECTION_VALUE_WRITE = "write" as const;
|
||||
|
||||
/**
|
||||
* The list of IPv4 or IPv6 addresses resolved during DNS lookup.
|
||||
*
|
||||
* @example ["10.0.0.1", "2001:0db8:85a3:0000:0000:8a2e:0370:7334"]
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_DNS_ANSWERS = 'dns.answers' as const;
|
||||
|
||||
/**
|
||||
* The name being queried.
|
||||
*
|
||||
|
|
@ -5801,17 +5834,39 @@ export const GEN_AI_SYSTEM_VALUE_AWS_BEDROCK = "aws.bedrock" as const;
|
|||
* Azure AI Inference
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by azure.ai.inference
|
||||
*/
|
||||
export const GEN_AI_SYSTEM_VALUE_AZ_AI_INFERENCE = "az.ai.inference" as const;
|
||||
|
||||
/**
|
||||
* Enum value "az.ai.openai" for attribute {@link ATTR_GEN_AI_SYSTEM}.
|
||||
* Enum value "azure.ai.inference" for attribute {@link ATTR_GEN_AI_SYSTEM}.
|
||||
*
|
||||
* Azure AI Inference
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const GEN_AI_SYSTEM_VALUE_AZURE_AI_INFERENCE = "azure.ai.inference" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure.ai.openai" for attribute {@link ATTR_GEN_AI_SYSTEM}.
|
||||
*
|
||||
* Azure OpenAI
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const GEN_AI_SYSTEM_VALUE_AZ_AI_OPENAI = "az.ai.openai" as const;
|
||||
export const GEN_AI_SYSTEM_VALUE_AZURE_AI_OPENAI = "azure.ai.openai" as const;
|
||||
|
||||
/**
|
||||
* Enum value "azure.ai.openai" for attribute {@link ATTR_GEN_AI_SYSTEM}.
|
||||
*
|
||||
* Azure OpenAI
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by azure.ai.openai
|
||||
*/
|
||||
export const GEN_AI_SYSTEM_VALUE_AZ_AI_OPENAI = "azure.ai.openai" as const;
|
||||
|
||||
/**
|
||||
* Enum value "cohere" for attribute {@link ATTR_GEN_AI_SYSTEM}.
|
||||
|
|
@ -6700,7 +6755,7 @@ export const ATTR_HTTP_RESPONSE_SIZE = 'http.response.size' as const;
|
|||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated hp.response.header.content-length
|
||||
* @deprecated Replaced by `http.response.header.content-length`.
|
||||
*/
|
||||
export const ATTR_HTTP_RESPONSE_CONTENT_LENGTH = 'http.response_content_length' as const;
|
||||
|
||||
|
|
@ -7178,6 +7233,142 @@ export const ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count' as
|
|||
*/
|
||||
export const ATTR_K8S_CONTAINER_STATUS_LAST_TERMINATED_REASON = 'k8s.container.status.last_terminated_reason' as const;
|
||||
|
||||
/**
|
||||
* The reason for the container state. Corresponds to the `reason` field of the: [K8s ContainerStateWaiting](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstatewaiting-v1-core) or [K8s ContainerStateTerminated](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstateterminated-v1-core)
|
||||
*
|
||||
* @example ContainerCreating
|
||||
* @example CrashLoopBackOff
|
||||
* @example CreateContainerConfigError
|
||||
* @example ErrImagePull
|
||||
* @example ImagePullBackOff
|
||||
* @example OOMKilled
|
||||
* @example Completed
|
||||
* @example Error
|
||||
* @example ContainerCannotRun
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_CONTAINER_STATUS_REASON = 'k8s.container.status.reason' as const;
|
||||
|
||||
/**
|
||||
* Enum value "Completed" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* The container has completed execution.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_COMPLETED = "Completed" as const;
|
||||
|
||||
/**
|
||||
* Enum value "ContainerCannotRun" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* The container cannot run.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_CONTAINER_CANNOT_RUN = "ContainerCannotRun" as const;
|
||||
|
||||
/**
|
||||
* Enum value "ContainerCreating" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* The container is being created.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_CONTAINER_CREATING = "ContainerCreating" as const;
|
||||
|
||||
/**
|
||||
* Enum value "CrashLoopBackOff" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* The container is in a crash loop back off state.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_CRASH_LOOP_BACK_OFF = "CrashLoopBackOff" as const;
|
||||
|
||||
/**
|
||||
* Enum value "CreateContainerConfigError" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* There was an error creating the container configuration.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_CREATE_CONTAINER_CONFIG_ERROR = "CreateContainerConfigError" as const;
|
||||
|
||||
/**
|
||||
* Enum value "ErrImagePull" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* There was an error pulling the container image.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_ERR_IMAGE_PULL = "ErrImagePull" as const;
|
||||
|
||||
/**
|
||||
* Enum value "Error" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* There was an error with the container.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_ERROR = "Error" as const;
|
||||
|
||||
/**
|
||||
* Enum value "ImagePullBackOff" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* The container image pull is in back off state.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_IMAGE_PULL_BACK_OFF = "ImagePullBackOff" as const;
|
||||
|
||||
/**
|
||||
* Enum value "OOMKilled" for attribute {@link ATTR_K8S_CONTAINER_STATUS_REASON}.
|
||||
*
|
||||
* The container was killed due to out of memory.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_REASON_VALUE_OOM_KILLED = "OOMKilled" as const;
|
||||
|
||||
/**
|
||||
* The state of the container. [K8s ContainerState](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstate-v1-core)
|
||||
*
|
||||
* @example terminated
|
||||
* @example running
|
||||
* @example waiting
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_CONTAINER_STATUS_STATE = 'k8s.container.status.state' as const;
|
||||
|
||||
/**
|
||||
* Enum value "running" for attribute {@link ATTR_K8S_CONTAINER_STATUS_STATE}.
|
||||
*
|
||||
* The container is running.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_STATE_VALUE_RUNNING = "running" as const;
|
||||
|
||||
/**
|
||||
* Enum value "terminated" for attribute {@link ATTR_K8S_CONTAINER_STATUS_STATE}.
|
||||
*
|
||||
* The container has terminated.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_STATE_VALUE_TERMINATED = "terminated" as const;
|
||||
|
||||
/**
|
||||
* Enum value "waiting" for attribute {@link ATTR_K8S_CONTAINER_STATUS_STATE}.
|
||||
*
|
||||
* The container is waiting.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_CONTAINER_STATUS_STATE_VALUE_WAITING = "waiting" as const;
|
||||
|
||||
/**
|
||||
* The cronjob annotation placed on the CronJob, the `<key>` being the annotation name, the value being the annotation value.
|
||||
*
|
||||
|
|
@ -7231,24 +7422,36 @@ export const ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name' as const;
|
|||
export const ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid' as const;
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the DaemonSet.
|
||||
* The annotation placed on the DaemonSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.daemonset.annotation.replicas=1
|
||||
* @example k8s.daemonset.annotation.data=
|
||||
* @example 1
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `replicas` with value `1` **SHOULD** be recorded
|
||||
* as the `k8s.daemonset.annotation.replicas` attribute with value `"1"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.daemonset.annotation.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_DAEMONSET_ANNOTATION = (key: string) => `k8s.daemonset.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the DaemonSet.
|
||||
* The label placed on the DaemonSet, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.daemonset.label.app=guestbook
|
||||
* @example k8s.daemonset.label.injected=
|
||||
* @example guestbook
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `app` with value `guestbook` **SHOULD** be recorded
|
||||
* as the `k8s.daemonset.label.app` attribute with value `"guestbook"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.daemonset.label.injected` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -7273,24 +7476,36 @@ export const ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name' as const;
|
|||
export const ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid' as const;
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Deployment.
|
||||
* The annotation placed on the Deployment, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.deployment.annotation.replicas=1
|
||||
* @example k8s.deployment.annotation.data=
|
||||
* @example 1
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `replicas` with value `1` **SHOULD** be recorded
|
||||
* as the `k8s.deployment.annotation.replicas` attribute with value `"1"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.deployment.annotation.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_DEPLOYMENT_ANNOTATION = (key: string) => `k8s.deployment.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Deployment.
|
||||
* The label placed on the Deployment, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.deployment.label.app=guestbook
|
||||
* @example k8s.deployment.label.injected=
|
||||
* @example guestbook
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `replicas` with value `0` **SHOULD** be recorded
|
||||
* as the `k8s.deployment.label.app` attribute with value `"guestbook"`.
|
||||
* - A label `injected` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.deployment.label.injected` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -7314,6 +7529,18 @@ export const ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name' as const;
|
|||
*/
|
||||
export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const;
|
||||
|
||||
/**
|
||||
* The type of metric source for the horizontal pod autoscaler.
|
||||
*
|
||||
* @example Resource
|
||||
* @example ContainerResource
|
||||
*
|
||||
* @note This attribute reflects the `type` field of spec.metrics[] in the HPA.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_HPA_METRIC_TYPE = 'k8s.hpa.metric.type' as const;
|
||||
|
||||
/**
|
||||
* The name of the horizontal pod autoscaler.
|
||||
*
|
||||
|
|
@ -7323,6 +7550,42 @@ export const ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid' as const;
|
|||
*/
|
||||
export const ATTR_K8S_HPA_NAME = 'k8s.hpa.name' as const;
|
||||
|
||||
/**
|
||||
* The API version of the target resource to scale for the HorizontalPodAutoscaler.
|
||||
*
|
||||
* @example apps/v1
|
||||
* @example autoscaling/v2
|
||||
*
|
||||
* @note This maps to the `apiVersion` field in the `scaleTargetRef` of the HPA spec.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_HPA_SCALETARGETREF_API_VERSION = 'k8s.hpa.scaletargetref.api_version' as const;
|
||||
|
||||
/**
|
||||
* The kind of the target resource to scale for the HorizontalPodAutoscaler.
|
||||
*
|
||||
* @example Deployment
|
||||
* @example StatefulSet
|
||||
*
|
||||
* @note This maps to the `kind` field in the `scaleTargetRef` of the HPA spec.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_HPA_SCALETARGETREF_KIND = 'k8s.hpa.scaletargetref.kind' as const;
|
||||
|
||||
/**
|
||||
* The name of the target resource to scale for the HorizontalPodAutoscaler.
|
||||
*
|
||||
* @example my-deployment
|
||||
* @example my-statefulset
|
||||
*
|
||||
* @note This maps to the `name` field in the `scaleTargetRef` of the HPA spec.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_HPA_SCALETARGETREF_NAME = 'k8s.hpa.scaletargetref.name' as const;
|
||||
|
||||
/**
|
||||
* The UID of the horizontal pod autoscaler.
|
||||
*
|
||||
|
|
@ -7333,24 +7596,45 @@ export const ATTR_K8S_HPA_NAME = 'k8s.hpa.name' as const;
|
|||
export const ATTR_K8S_HPA_UID = 'k8s.hpa.uid' as const;
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Job.
|
||||
* The size (identifier) of the K8s huge page.
|
||||
*
|
||||
* @example k8s.job.annotation.number=1
|
||||
* @example k8s.job.annotation.data=
|
||||
* @example 2Mi
|
||||
*
|
||||
* @note The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_HUGEPAGE_SIZE = 'k8s.hugepage.size' as const;
|
||||
|
||||
/**
|
||||
* The annotation placed on the Job, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* @example 1
|
||||
* @example
|
||||
*
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `number` with value `1` **SHOULD** be recorded
|
||||
* as the `k8s.job.annotation.number` attribute with value `"1"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.job.annotation.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_JOB_ANNOTATION = (key: string) => `k8s.job.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Job.
|
||||
* The label placed on the Job, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.job.label.jobtype=ci
|
||||
* @example k8s.job.label.automated=
|
||||
* @example ci
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `jobtype` with value `ci` **SHOULD** be recorded
|
||||
* as the `k8s.job.label.jobtype` attribute with value `"ci"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.job.label.automated` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -7375,24 +7659,36 @@ export const ATTR_K8S_JOB_NAME = 'k8s.job.name' as const;
|
|||
export const ATTR_K8S_JOB_UID = 'k8s.job.uid' as const;
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the Namespace.
|
||||
* The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.namespace.annotation.ttl=0
|
||||
* @example k8s.namespace.annotation.data=
|
||||
* @example 0
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `ttl` with value `0` **SHOULD** be recorded
|
||||
* as the `k8s.namespace.annotation.ttl` attribute with value `"0"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.namespace.annotation.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_NAMESPACE_ANNOTATION = (key: string) => `k8s.namespace.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the Namespace.
|
||||
* The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.namespace.label.kubernetes.io/metadata.name=default
|
||||
* @example k8s.namespace.label.data=
|
||||
* @example default
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `kubernetes.io/metadata.name` with value `default` **SHOULD** be recorded
|
||||
* as the `k8s.namespace.label.kubernetes.io/metadata.name` attribute with value `"default"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.namespace.label.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -7455,6 +7751,106 @@ export const K8S_NAMESPACE_PHASE_VALUE_TERMINATING = "terminating" as const;
|
|||
*/
|
||||
export const ATTR_K8S_NODE_ANNOTATION = (key: string) => `k8s.node.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The status of the condition, one of True, False, Unknown.
|
||||
*
|
||||
* @example true
|
||||
* @example false
|
||||
* @example unknown
|
||||
*
|
||||
* @note This attribute aligns with the `status` field of the
|
||||
* [NodeCondition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#nodecondition-v1-core)
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_NODE_CONDITION_STATUS = 'k8s.node.condition.status' as const;
|
||||
|
||||
/**
|
||||
* Enum value "false" for attribute {@link ATTR_K8S_NODE_CONDITION_STATUS}.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_STATUS_VALUE_CONDITION_FALSE = "false" as const;
|
||||
|
||||
/**
|
||||
* Enum value "true" for attribute {@link ATTR_K8S_NODE_CONDITION_STATUS}.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_STATUS_VALUE_CONDITION_TRUE = "true" as const;
|
||||
|
||||
/**
|
||||
* Enum value "unknown" for attribute {@link ATTR_K8S_NODE_CONDITION_STATUS}.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_STATUS_VALUE_CONDITION_UNKNOWN = "unknown" as const;
|
||||
|
||||
/**
|
||||
* The condition type of a K8s Node.
|
||||
*
|
||||
* @example Ready
|
||||
* @example DiskPressure
|
||||
*
|
||||
* @note K8s Node conditions as described
|
||||
* by [K8s documentation](https://v1-32.docs.kubernetes.io/docs/reference/node/node-status/#condition).
|
||||
*
|
||||
* This attribute aligns with the `type` field of the
|
||||
* [NodeCondition](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#nodecondition-v1-core)
|
||||
*
|
||||
* The set of possible values is not limited to those listed here. Managed Kubernetes environments,
|
||||
* or custom controllers **MAY** introduce additional node condition types.
|
||||
* When this occurs, the exact value as reported by the Kubernetes API **SHOULD** be used.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_NODE_CONDITION_TYPE = 'k8s.node.condition.type' as const;
|
||||
|
||||
/**
|
||||
* Enum value "DiskPressure" for attribute {@link ATTR_K8S_NODE_CONDITION_TYPE}.
|
||||
*
|
||||
* Pressure exists on the disk size—that is, if the disk capacity is low
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_TYPE_VALUE_DISK_PRESSURE = "DiskPressure" as const;
|
||||
|
||||
/**
|
||||
* Enum value "MemoryPressure" for attribute {@link ATTR_K8S_NODE_CONDITION_TYPE}.
|
||||
*
|
||||
* Pressure exists on the node memory—that is, if the node memory is low
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_TYPE_VALUE_MEMORY_PRESSURE = "MemoryPressure" as const;
|
||||
|
||||
/**
|
||||
* Enum value "NetworkUnavailable" for attribute {@link ATTR_K8S_NODE_CONDITION_TYPE}.
|
||||
*
|
||||
* The network for the node is not correctly configured
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_TYPE_VALUE_NETWORK_UNAVAILABLE = "NetworkUnavailable" as const;
|
||||
|
||||
/**
|
||||
* Enum value "PIDPressure" for attribute {@link ATTR_K8S_NODE_CONDITION_TYPE}.
|
||||
*
|
||||
* Pressure exists on the processes—that is, if there are too many processes on the node
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_TYPE_VALUE_PID_PRESSURE = "PIDPressure" as const;
|
||||
|
||||
/**
|
||||
* Enum value "Ready" for attribute {@link ATTR_K8S_NODE_CONDITION_TYPE}.
|
||||
*
|
||||
* The node is healthy and ready to accept pods
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const K8S_NODE_CONDITION_TYPE_VALUE_READY = "Ready" as const;
|
||||
|
||||
/**
|
||||
* The label placed on the Node, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
|
|
@ -7560,24 +7956,36 @@ export const ATTR_K8S_POD_NAME = 'k8s.pod.name' as const;
|
|||
export const ATTR_K8S_POD_UID = 'k8s.pod.uid' as const;
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the ReplicaSet.
|
||||
* The annotation placed on the ReplicaSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.replicaset.annotation.replicas=0
|
||||
* @example k8s.replicaset.annotation.data=
|
||||
* @example 0
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `replicas` with value `0` **SHOULD** be recorded
|
||||
* as the `k8s.replicaset.annotation.replicas` attribute with value `"0"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.replicaset.annotation.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_REPLICASET_ANNOTATION = (key: string) => `k8s.replicaset.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the ReplicaSet.
|
||||
* The label placed on the ReplicaSet, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.replicaset.label.app=guestbook
|
||||
* @example k8s.replicaset.label.injected=
|
||||
* @example guestbook
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `app` with value `guestbook` **SHOULD** be recorded
|
||||
* as the `k8s.replicaset.label.app` attribute with value `"guestbook"`.
|
||||
* - A label `injected` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.replicaset.label.injected` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -7628,6 +8036,17 @@ export const ATTR_K8S_REPLICATIONCONTROLLER_UID = 'k8s.replicationcontroller.uid
|
|||
*/
|
||||
export const ATTR_K8S_RESOURCEQUOTA_NAME = 'k8s.resourcequota.name' as const;
|
||||
|
||||
/**
|
||||
* The name of the K8s resource a resource quota defines.
|
||||
*
|
||||
* @example count/replicationcontrollers
|
||||
*
|
||||
* @note The value for this attribute can be either the full `count/<resource>[.<group>]` string (e.g., count/deployments.apps, count/pods), or, for certain core Kubernetes resources, just the resource name (e.g., pods, services, configmaps). Both forms are supported by Kubernetes for object count quotas. See [Kubernetes Resource Quotas documentation](https://kubernetes.io/docs/concepts/policy/resource-quotas/#object-count-quota) for more details.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_RESOURCEQUOTA_RESOURCE_NAME = 'k8s.resourcequota.resource_name' as const;
|
||||
|
||||
/**
|
||||
* The UID of the resource quota.
|
||||
*
|
||||
|
|
@ -7638,24 +8057,36 @@ export const ATTR_K8S_RESOURCEQUOTA_NAME = 'k8s.resourcequota.name' as const;
|
|||
export const ATTR_K8S_RESOURCEQUOTA_UID = 'k8s.resourcequota.uid' as const;
|
||||
|
||||
/**
|
||||
* The annotation key-value pairs placed on the StatefulSet.
|
||||
* The annotation placed on the StatefulSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.statefulset.annotation.replicas=1
|
||||
* @example k8s.statefulset.annotation.data=
|
||||
* @example 1
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `replicas` with value `1` **SHOULD** be recorded
|
||||
* as the `k8s.statefulset.annotation.replicas` attribute with value `"1"`.
|
||||
* - A label `data` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.statefulset.annotation.data` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_STATEFULSET_ANNOTATION = (key: string) => `k8s.statefulset.annotation.${key}`;
|
||||
|
||||
/**
|
||||
* The label key-value pairs placed on the StatefulSet.
|
||||
* The label placed on the StatefulSet, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
*
|
||||
* @example k8s.statefulset.label.app=guestbook
|
||||
* @example k8s.statefulset.label.injected=
|
||||
* @example guestbook
|
||||
* @example
|
||||
*
|
||||
* @note The `<key>` being the label name, the value being the label value, even if the value is empty.
|
||||
* @note
|
||||
* Examples:
|
||||
*
|
||||
* - A label `replicas` with value `0` **SHOULD** be recorded
|
||||
* as the `k8s.statefulset.label.app` attribute with value `"guestbook"`.
|
||||
* - A label `injected` with empty string value **SHOULD** be recorded as
|
||||
* the `k8s.statefulset.label.injected` attribute with value `""`.
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -7679,6 +8110,15 @@ export const ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name' as const;
|
|||
*/
|
||||
export const ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid' as const;
|
||||
|
||||
/**
|
||||
* The name of K8s [StorageClass](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#storageclass-v1-storage-k8s-io) object.
|
||||
*
|
||||
* @example gold.storageclass.storage.k8s.io
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_K8S_STORAGECLASS_NAME = 'k8s.storageclass.name' as const;
|
||||
|
||||
/**
|
||||
* The name of the K8s volume.
|
||||
*
|
||||
|
|
@ -7861,6 +8301,15 @@ export const ATTR_LOG_RECORD_ORIGINAL = 'log.record.original' as const;
|
|||
*/
|
||||
export const ATTR_LOG_RECORD_UID = 'log.record.uid' as const;
|
||||
|
||||
/**
|
||||
* Name of the logical partition that hosts a systems with a mainframe operating system.
|
||||
*
|
||||
* @example LPAR01
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_MAINFRAME_LPAR_NAME = 'mainframe.lpar.name' as const;
|
||||
|
||||
/**
|
||||
* Deprecated, use `rpc.message.compressed_size` instead.
|
||||
*
|
||||
|
|
@ -9438,11 +9887,22 @@ export const OS_TYPE_VALUE_WINDOWS = "windows" as const;
|
|||
/**
|
||||
* Enum value "z_os" for attribute {@link ATTR_OS_TYPE}.
|
||||
*
|
||||
* Deprecated. Use `zos` instead.
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `zos`.
|
||||
*/
|
||||
export const OS_TYPE_VALUE_Z_OS = "z_os" as const;
|
||||
|
||||
/**
|
||||
* Enum value "zos" for attribute {@link ATTR_OS_TYPE}.
|
||||
*
|
||||
* IBM z/OS
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const OS_TYPE_VALUE_Z_OS = "z_os" as const;
|
||||
export const OS_TYPE_VALUE_ZOS = "zos" as const;
|
||||
|
||||
/**
|
||||
* The version string of the operating system as defined in [Version Attributes](/docs/resource/README.md#version-attributes).
|
||||
|
|
@ -9599,6 +10059,15 @@ export const OTEL_COMPONENT_TYPE_VALUE_OTLP_HTTP_SPAN_EXPORTER = "otlp_http_span
|
|||
*/
|
||||
export const OTEL_COMPONENT_TYPE_VALUE_PERIODIC_METRIC_READER = "periodic_metric_reader" as const;
|
||||
|
||||
/**
|
||||
* Enum value "prometheus_http_text_metric_exporter" for attribute {@link ATTR_OTEL_COMPONENT_TYPE}.
|
||||
*
|
||||
* Prometheus metric exporter over HTTP with the default text-based format
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const OTEL_COMPONENT_TYPE_VALUE_PROMETHEUS_HTTP_TEXT_METRIC_EXPORTER = "prometheus_http_text_metric_exporter" as const;
|
||||
|
||||
/**
|
||||
* Enum value "simple_log_processor" for attribute {@link ATTR_OTEL_COMPONENT_TYPE}.
|
||||
*
|
||||
|
|
@ -9617,6 +10086,15 @@ export const OTEL_COMPONENT_TYPE_VALUE_SIMPLE_LOG_PROCESSOR = "simple_log_proces
|
|||
*/
|
||||
export const OTEL_COMPONENT_TYPE_VALUE_SIMPLE_SPAN_PROCESSOR = "simple_span_processor" as const;
|
||||
|
||||
/**
|
||||
* Enum value "zipkin_http_span_exporter" for attribute {@link ATTR_OTEL_COMPONENT_TYPE}.
|
||||
*
|
||||
* Zipkin span exporter over HTTP
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const OTEL_COMPONENT_TYPE_VALUE_ZIPKIN_HTTP_SPAN_EXPORTER = "zipkin_http_span_exporter" as const;
|
||||
|
||||
/**
|
||||
* Deprecated. Use the `otel.scope.name` attribute
|
||||
*
|
||||
|
|
@ -9639,6 +10117,40 @@ export const ATTR_OTEL_LIBRARY_NAME = 'otel.library.name' as const;
|
|||
*/
|
||||
export const ATTR_OTEL_LIBRARY_VERSION = 'otel.library.version' as const;
|
||||
|
||||
/**
|
||||
* Determines whether the span has a parent span, and if so, [whether it is a remote parent](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote)
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_OTEL_SPAN_PARENT_ORIGIN = 'otel.span.parent.origin' as const;
|
||||
|
||||
/**
|
||||
* Enum value "local" for attribute {@link ATTR_OTEL_SPAN_PARENT_ORIGIN}.
|
||||
*
|
||||
* The span has a parent and the parent's span context [isRemote()](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) is false
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const OTEL_SPAN_PARENT_ORIGIN_VALUE_LOCAL = "local" as const;
|
||||
|
||||
/**
|
||||
* Enum value "none" for attribute {@link ATTR_OTEL_SPAN_PARENT_ORIGIN}.
|
||||
*
|
||||
* The span does not have a parent, it is a root span
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const OTEL_SPAN_PARENT_ORIGIN_VALUE_NONE = "none" as const;
|
||||
|
||||
/**
|
||||
* Enum value "remote" for attribute {@link ATTR_OTEL_SPAN_PARENT_ORIGIN}.
|
||||
*
|
||||
* The span has a parent and the parent's span context [isRemote()](https://opentelemetry.io/docs/specs/otel/trace/api/#isremote) is true
|
||||
*
|
||||
* @experimental This enum value is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const OTEL_SPAN_PARENT_ORIGIN_VALUE_REMOTE = "remote" as const;
|
||||
|
||||
/**
|
||||
* The result value of the sampler for this span
|
||||
*
|
||||
|
|
@ -9792,7 +10304,7 @@ export const PROCESS_CPU_STATE_VALUE_WAIT = "wait" as const;
|
|||
export const ATTR_PROCESS_CREATION_TIME = 'process.creation.time' as const;
|
||||
|
||||
/**
|
||||
* Process environment variables, <key> being the environment variable name, the value being the environment variable value.
|
||||
* Process environment variables, `<key>` being the environment variable name, the value being the environment variable value.
|
||||
*
|
||||
* @example ubuntu
|
||||
* @example /usr/local/bin:/usr/bin
|
||||
|
|
@ -12602,3 +13114,21 @@ export const ATTR_WEBENGINE_NAME = 'webengine.name' as const;
|
|||
*/
|
||||
export const ATTR_WEBENGINE_VERSION = 'webengine.version' as const;
|
||||
|
||||
/**
|
||||
* The System Management Facility (SMF) Identifier uniquely identified a z/OS system within a SYSPLEX or mainframe environment and is used for system and performance analysis.
|
||||
*
|
||||
* @example SYS1
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_ZOS_SMF_ID = 'zos.smf.id' as const;
|
||||
|
||||
/**
|
||||
* The name of the SYSPLEX to which the z/OS system belongs too.
|
||||
*
|
||||
* @example SYSPLEX1
|
||||
*
|
||||
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const ATTR_ZOS_SYSPLEX_NAME = 'zos.sysplex.name' as const;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,23 +127,29 @@ export const METRIC_CONTAINER_NETWORK_IO = 'container.network.io' as const;
|
|||
export const METRIC_CONTAINER_UPTIME = 'container.uptime' as const;
|
||||
|
||||
/**
|
||||
* Operating frequency of the logical CPU in Hertz.
|
||||
* Deprecated. Use `system.cpu.frequency` instead.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `system.cpu.frequency`.
|
||||
*/
|
||||
export const METRIC_CPU_FREQUENCY = 'cpu.frequency' as const;
|
||||
|
||||
/**
|
||||
* Seconds each logical CPU spent on each mode
|
||||
* Deprecated. Use `system.cpu.time` instead.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `system.cpu.time`.
|
||||
*/
|
||||
export const METRIC_CPU_TIME = 'cpu.time' as const;
|
||||
|
||||
/**
|
||||
* For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu.time) over a measurement interval, divided by the elapsed time.
|
||||
* Deprecated. Use `system.cpu.utilization` instead.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `system.cpu.utilization`.
|
||||
*/
|
||||
export const METRIC_CPU_UTILIZATION = 'cpu.utilization' as const;
|
||||
|
||||
|
|
@ -719,15 +725,127 @@ export const METRIC_JVM_SYSTEM_CPU_LOAD_1M = 'jvm.system.cpu.load_1m' as const;
|
|||
*/
|
||||
export const METRIC_JVM_SYSTEM_CPU_UTILIZATION = 'jvm.system.cpu.utilization' as const;
|
||||
|
||||
/**
|
||||
* Maximum CPU resource limit set for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_CPU_LIMIT = 'k8s.container.cpu.limit' as const;
|
||||
|
||||
/**
|
||||
* CPU resource requested for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_CPU_REQUEST = 'k8s.container.cpu.request' as const;
|
||||
|
||||
/**
|
||||
* Maximum ephemeral storage resource limit set for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_EPHEMERAL_STORAGE_LIMIT = 'k8s.container.ephemeral_storage.limit' as const;
|
||||
|
||||
/**
|
||||
* Ephemeral storage resource requested for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_EPHEMERAL_STORAGE_REQUEST = 'k8s.container.ephemeral_storage.request' as const;
|
||||
|
||||
/**
|
||||
* Maximum memory resource limit set for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_MEMORY_LIMIT = 'k8s.container.memory.limit' as const;
|
||||
|
||||
/**
|
||||
* Memory resource requested for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_MEMORY_REQUEST = 'k8s.container.memory.request' as const;
|
||||
|
||||
/**
|
||||
* Indicates whether the container is currently marked as ready to accept traffic, based on its readiness probe (1 = ready, 0 = not ready)
|
||||
*
|
||||
* @note This metric **SHOULD** reflect the value of the `ready` field in the
|
||||
* [K8s ContainerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#containerstatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_READY = 'k8s.container.ready' as const;
|
||||
|
||||
/**
|
||||
* Describes how many times the container has restarted (since the last counter reset)
|
||||
*
|
||||
* @note This value is pulled directly from the K8s API and the value can go indefinitely high and be reset to 0
|
||||
* at any time depending on how your kubelet is configured to prune dead containers.
|
||||
* It is best to not depend too much on the exact value but rather look at it as
|
||||
* either == 0, in which case you can conclude there were no restarts in the recent past, or > 0, in which case
|
||||
* you can conclude there were restarts in the recent past, and not try and analyze the value beyond that.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart.count' as const;
|
||||
|
||||
/**
|
||||
* Describes the number of K8s containers that are currently in a state for a given reason
|
||||
*
|
||||
* @note All possible container state reasons will be reported at each time interval to avoid missing metrics.
|
||||
* Only the value corresponding to the current state reason will be non-zero.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_STATUS_REASON = 'k8s.container.status.reason' as const;
|
||||
|
||||
/**
|
||||
* Describes the number of K8s containers that are currently in a given state
|
||||
*
|
||||
* @note All possible container states will be reported at each time interval to avoid missing metrics.
|
||||
* Only the value corresponding to the current state will be non-zero.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_STATUS_STATE = 'k8s.container.status.state' as const;
|
||||
|
||||
/**
|
||||
* Maximum storage resource limit set for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_STORAGE_LIMIT = 'k8s.container.storage.limit' as const;
|
||||
|
||||
/**
|
||||
* Storage resource requested for the container
|
||||
*
|
||||
* @note See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CONTAINER_STORAGE_REQUEST = 'k8s.container.storage.request' as const;
|
||||
|
||||
/**
|
||||
* The number of actively running jobs for a cronjob
|
||||
*
|
||||
* @note This metric aligns with the `active` field of the
|
||||
* [K8s CronJobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#cronjobstatus-v1-batch).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.cronjob`](../resource/k8s.md#cronjob) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_CRONJOB_ACTIVE_JOBS = 'k8s.cronjob.active_jobs' as const;
|
||||
|
|
@ -738,9 +856,6 @@ export const METRIC_K8S_CRONJOB_ACTIVE_JOBS = 'k8s.cronjob.active_jobs' as const
|
|||
* @note This metric aligns with the `currentNumberScheduled` field of the
|
||||
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_DAEMONSET_CURRENT_SCHEDULED_NODES = 'k8s.daemonset.current_scheduled_nodes' as const;
|
||||
|
|
@ -751,9 +866,6 @@ export const METRIC_K8S_DAEMONSET_CURRENT_SCHEDULED_NODES = 'k8s.daemonset.curre
|
|||
* @note This metric aligns with the `desiredNumberScheduled` field of the
|
||||
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_DAEMONSET_DESIRED_SCHEDULED_NODES = 'k8s.daemonset.desired_scheduled_nodes' as const;
|
||||
|
|
@ -764,9 +876,6 @@ export const METRIC_K8S_DAEMONSET_DESIRED_SCHEDULED_NODES = 'k8s.daemonset.desir
|
|||
* @note This metric aligns with the `numberMisscheduled` field of the
|
||||
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misscheduled_nodes' as const;
|
||||
|
|
@ -777,9 +886,6 @@ export const METRIC_K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misschedul
|
|||
* @note This metric aligns with the `numberReady` field of the
|
||||
* [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.daemonset`](../resource/k8s.md#daemonset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_DAEMONSET_READY_NODES = 'k8s.daemonset.ready_nodes' as const;
|
||||
|
|
@ -790,9 +896,6 @@ export const METRIC_K8S_DAEMONSET_READY_NODES = 'k8s.daemonset.ready_nodes' as c
|
|||
* @note This metric aligns with the `availableReplicas` field of the
|
||||
* [K8s DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.deployment`](../resource/k8s.md#deployment) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_DEPLOYMENT_AVAILABLE_PODS = 'k8s.deployment.available_pods' as const;
|
||||
|
|
@ -803,9 +906,6 @@ export const METRIC_K8S_DEPLOYMENT_AVAILABLE_PODS = 'k8s.deployment.available_po
|
|||
* @note This metric aligns with the `replicas` field of the
|
||||
* [K8s DeploymentSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentspec-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.deployment`](../resource/k8s.md#deployment) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_DEPLOYMENT_DESIRED_PODS = 'k8s.deployment.desired_pods' as const;
|
||||
|
|
@ -816,9 +916,6 @@ export const METRIC_K8S_DEPLOYMENT_DESIRED_PODS = 'k8s.deployment.desired_pods'
|
|||
* @note This metric aligns with the `currentReplicas` field of the
|
||||
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_CURRENT_PODS = 'k8s.hpa.current_pods' as const;
|
||||
|
|
@ -829,9 +926,6 @@ export const METRIC_K8S_HPA_CURRENT_PODS = 'k8s.hpa.current_pods' as const;
|
|||
* @note This metric aligns with the `desiredReplicas` field of the
|
||||
* [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling)
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_DESIRED_PODS = 'k8s.hpa.desired_pods' as const;
|
||||
|
|
@ -842,22 +936,52 @@ export const METRIC_K8S_HPA_DESIRED_PODS = 'k8s.hpa.desired_pods' as const;
|
|||
* @note This metric aligns with the `maxReplicas` field of the
|
||||
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_MAX_PODS = 'k8s.hpa.max_pods' as const;
|
||||
|
||||
/**
|
||||
* Target average utilization, in percentage, for CPU resource in HPA config.
|
||||
*
|
||||
* @note This metric aligns with the `averageUtilization` field of the
|
||||
* [K8s HPA MetricTarget](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#metrictarget-v2-autoscaling).
|
||||
* If the type of the metric is [`ContainerResource`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis),
|
||||
* the `k8s.container.name` attribute **MUST** be set to identify the specific container within the pod to which the metric applies.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION = 'k8s.hpa.metric.target.cpu.average_utilization' as const;
|
||||
|
||||
/**
|
||||
* Target average value for CPU resource in HPA config.
|
||||
*
|
||||
* @note This metric aligns with the `averageValue` field of the
|
||||
* [K8s HPA MetricTarget](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#metrictarget-v2-autoscaling).
|
||||
* If the type of the metric is [`ContainerResource`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis),
|
||||
* the `k8s.container.name` attribute **MUST** be set to identify the specific container within the pod to which the metric applies.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE = 'k8s.hpa.metric.target.cpu.average_value' as const;
|
||||
|
||||
/**
|
||||
* Target value for CPU resource in HPA config.
|
||||
*
|
||||
* @note This metric aligns with the `value` field of the
|
||||
* [K8s HPA MetricTarget](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#metrictarget-v2-autoscaling).
|
||||
* If the type of the metric is [`ContainerResource`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-metrics-apis),
|
||||
* the `k8s.container.name` attribute **MUST** be set to identify the specific container within the pod to which the metric applies.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_METRIC_TARGET_CPU_VALUE = 'k8s.hpa.metric.target.cpu.value' as const;
|
||||
|
||||
/**
|
||||
* The lower limit for the number of replica pods to which the autoscaler can scale down
|
||||
*
|
||||
* @note This metric aligns with the `minReplicas` field of the
|
||||
* [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling)
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.hpa`](../resource/k8s.md#horizontalpodautoscaler) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_HPA_MIN_PODS = 'k8s.hpa.min_pods' as const;
|
||||
|
|
@ -868,9 +992,6 @@ export const METRIC_K8S_HPA_MIN_PODS = 'k8s.hpa.min_pods' as const;
|
|||
* @note This metric aligns with the `active` field of the
|
||||
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.job`](../resource/k8s.md#job) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_JOB_ACTIVE_PODS = 'k8s.job.active_pods' as const;
|
||||
|
|
@ -879,10 +1000,7 @@ export const METRIC_K8S_JOB_ACTIVE_PODS = 'k8s.job.active_pods' as const;
|
|||
* The desired number of successfully finished pods the job should be run with
|
||||
*
|
||||
* @note This metric aligns with the `completions` field of the
|
||||
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.job`](../resource/k8s.md#job) resource.
|
||||
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch)..
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -894,9 +1012,6 @@ export const METRIC_K8S_JOB_DESIRED_SUCCESSFUL_PODS = 'k8s.job.desired_successfu
|
|||
* @note This metric aligns with the `failed` field of the
|
||||
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.job`](../resource/k8s.md#job) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_JOB_FAILED_PODS = 'k8s.job.failed_pods' as const;
|
||||
|
|
@ -907,9 +1022,6 @@ export const METRIC_K8S_JOB_FAILED_PODS = 'k8s.job.failed_pods' as const;
|
|||
* @note This metric aligns with the `parallelism` field of the
|
||||
* [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.job`](../resource/k8s.md#job) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods' as const;
|
||||
|
|
@ -920,9 +1032,6 @@ export const METRIC_K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods' as c
|
|||
* @note This metric aligns with the `succeeded` field of the
|
||||
* [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.job`](../resource/k8s.md#job) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_JOB_SUCCESSFUL_PODS = 'k8s.job.successful_pods' as const;
|
||||
|
|
@ -930,13 +1039,47 @@ export const METRIC_K8S_JOB_SUCCESSFUL_PODS = 'k8s.job.successful_pods' as const
|
|||
/**
|
||||
* Describes number of K8s namespaces that are currently in a given phase.
|
||||
*
|
||||
* @note This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.namespace`](../resource/k8s.md#namespace) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_NAMESPACE_PHASE = 'k8s.namespace.phase' as const;
|
||||
|
||||
/**
|
||||
* Amount of cpu allocatable on the node
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_NODE_ALLOCATABLE_CPU = 'k8s.node.allocatable.cpu' as const;
|
||||
|
||||
/**
|
||||
* Amount of ephemeral-storage allocatable on the node
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE = 'k8s.node.allocatable.ephemeral_storage' as const;
|
||||
|
||||
/**
|
||||
* Amount of memory allocatable on the node
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_NODE_ALLOCATABLE_MEMORY = 'k8s.node.allocatable.memory' as const;
|
||||
|
||||
/**
|
||||
* Amount of pods allocatable on the node
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_NODE_ALLOCATABLE_PODS = 'k8s.node.allocatable.pods' as const;
|
||||
|
||||
/**
|
||||
* Describes the condition of a particular Node.
|
||||
*
|
||||
* @note All possible node condition pairs (type and status) will be reported at each time interval to avoid missing metrics. Condition pairs corresponding to the current conditions' statuses will be non-zero.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_NODE_CONDITION_STATUS = 'k8s.node.condition.status' as const;
|
||||
|
||||
/**
|
||||
* Total CPU time consumed
|
||||
*
|
||||
|
|
@ -1045,9 +1188,6 @@ export const METRIC_K8S_POD_UPTIME = 'k8s.pod.uptime' as const;
|
|||
* @note This metric aligns with the `availableReplicas` field of the
|
||||
* [K8s ReplicaSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.replicaset`](../resource/k8s.md#replicaset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_REPLICASET_AVAILABLE_PODS = 'k8s.replicaset.available_pods' as const;
|
||||
|
|
@ -1058,9 +1198,6 @@ export const METRIC_K8S_REPLICASET_AVAILABLE_PODS = 'k8s.replicaset.available_po
|
|||
* @note This metric aligns with the `replicas` field of the
|
||||
* [K8s ReplicaSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetspec-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.replicaset`](../resource/k8s.md#replicaset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_REPLICASET_DESIRED_PODS = 'k8s.replicaset.desired_pods' as const;
|
||||
|
|
@ -1089,9 +1226,6 @@ export const METRIC_K8S_REPLICATION_CONTROLLER_DESIRED_PODS = 'k8s.replication_c
|
|||
* @note This metric aligns with the `availableReplicas` field of the
|
||||
* [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core)
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationcontroller.available_pods' as const;
|
||||
|
|
@ -1102,22 +1236,248 @@ export const METRIC_K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationc
|
|||
* @note This metric aligns with the `replicas` field of the
|
||||
* [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core)
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.replicationcontroller`](../resource/k8s.md#replicationcontroller) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_REPLICATIONCONTROLLER_DESIRED_PODS = 'k8s.replicationcontroller.desired_pods' as const;
|
||||
|
||||
/**
|
||||
* The CPU limits in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_CPU_LIMIT_HARD = 'k8s.resourcequota.cpu.limit.hard' as const;
|
||||
|
||||
/**
|
||||
* The CPU limits in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_CPU_LIMIT_USED = 'k8s.resourcequota.cpu.limit.used' as const;
|
||||
|
||||
/**
|
||||
* The CPU requests in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_CPU_REQUEST_HARD = 'k8s.resourcequota.cpu.request.hard' as const;
|
||||
|
||||
/**
|
||||
* The CPU requests in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_CPU_REQUEST_USED = 'k8s.resourcequota.cpu.request.used' as const;
|
||||
|
||||
/**
|
||||
* The sum of local ephemeral storage limits in the namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD = 'k8s.resourcequota.ephemeral_storage.limit.hard' as const;
|
||||
|
||||
/**
|
||||
* The sum of local ephemeral storage limits in the namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USED = 'k8s.resourcequota.ephemeral_storage.limit.used' as const;
|
||||
|
||||
/**
|
||||
* The sum of local ephemeral storage requests in the namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD = 'k8s.resourcequota.ephemeral_storage.request.hard' as const;
|
||||
|
||||
/**
|
||||
* The sum of local ephemeral storage requests in the namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USED = 'k8s.resourcequota.ephemeral_storage.request.used' as const;
|
||||
|
||||
/**
|
||||
* The huge page requests in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARD = 'k8s.resourcequota.hugepage_count.request.hard' as const;
|
||||
|
||||
/**
|
||||
* The huge page requests in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USED = 'k8s.resourcequota.hugepage_count.request.used' as const;
|
||||
|
||||
/**
|
||||
* The memory limits in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARD = 'k8s.resourcequota.memory.limit.hard' as const;
|
||||
|
||||
/**
|
||||
* The memory limits in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_LIMIT_USED = 'k8s.resourcequota.memory.limit.used' as const;
|
||||
|
||||
/**
|
||||
* The memory requests in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARD = 'k8s.resourcequota.memory.request.hard' as const;
|
||||
|
||||
/**
|
||||
* The memory requests in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_MEMORY_REQUEST_USED = 'k8s.resourcequota.memory.request.used' as const;
|
||||
|
||||
/**
|
||||
* The object count limits in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_OBJECT_COUNT_HARD = 'k8s.resourcequota.object_count.hard' as const;
|
||||
|
||||
/**
|
||||
* The object count limits in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_OBJECT_COUNT_USED = 'k8s.resourcequota.object_count.used' as const;
|
||||
|
||||
/**
|
||||
* The total number of PersistentVolumeClaims that can exist in the namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
||||
* storage class.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD = 'k8s.resourcequota.persistentvolumeclaim_count.hard' as const;
|
||||
|
||||
/**
|
||||
* The total number of PersistentVolumeClaims that can exist in the namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
||||
* storage class.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED = 'k8s.resourcequota.persistentvolumeclaim_count.used' as const;
|
||||
|
||||
/**
|
||||
* The storage requests in a specific namespace.
|
||||
* The value represents the configured quota limit of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `hard` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
||||
* storage class.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD = 'k8s.resourcequota.storage.request.hard' as const;
|
||||
|
||||
/**
|
||||
* The storage requests in a specific namespace.
|
||||
* The value represents the current observed total usage of the resource in the namespace.
|
||||
*
|
||||
* @note This metric is retrieved from the `used` field of the
|
||||
* [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core).
|
||||
*
|
||||
* The `k8s.storageclass.name` should be required when a resource quota is defined for a specific
|
||||
* storage class.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED = 'k8s.resourcequota.storage.request.used' as const;
|
||||
|
||||
/**
|
||||
* The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision
|
||||
*
|
||||
* @note This metric aligns with the `currentReplicas` field of the
|
||||
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_STATEFULSET_CURRENT_PODS = 'k8s.statefulset.current_pods' as const;
|
||||
|
|
@ -1128,9 +1488,6 @@ export const METRIC_K8S_STATEFULSET_CURRENT_PODS = 'k8s.statefulset.current_pods
|
|||
* @note This metric aligns with the `replicas` field of the
|
||||
* [K8s StatefulSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetspec-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods' as const;
|
||||
|
|
@ -1141,9 +1498,6 @@ export const METRIC_K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods
|
|||
* @note This metric aligns with the `readyReplicas` field of the
|
||||
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods' as const;
|
||||
|
|
@ -1154,9 +1508,6 @@ export const METRIC_K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods' as
|
|||
* @note This metric aligns with the `updatedReplicas` field of the
|
||||
* [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps).
|
||||
*
|
||||
* This metric **SHOULD**, at a minimum, be reported against a
|
||||
* [`k8s.statefulset`](../resource/k8s.md#statefulset) resource.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_K8S_STATEFULSET_UPDATED_PODS = 'k8s.statefulset.updated_pods' as const;
|
||||
|
|
@ -1506,29 +1857,25 @@ export const METRIC_OTEL_SDK_PROCESSOR_SPAN_QUEUE_CAPACITY = 'otel.sdk.processor
|
|||
export const METRIC_OTEL_SDK_PROCESSOR_SPAN_QUEUE_SIZE = 'otel.sdk.processor.span.queue.size' as const;
|
||||
|
||||
/**
|
||||
* The number of created spans for which the end operation was called
|
||||
*
|
||||
* @note For spans with `recording=true`: Implementations **MUST** record both `otel.sdk.span.live` and `otel.sdk.span.ended`.
|
||||
* For spans with `recording=false`: If implementations decide to record this metric, they **MUST** also record `otel.sdk.span.live`.
|
||||
* Use `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Obsoleted.
|
||||
*/
|
||||
export const METRIC_OTEL_SDK_SPAN_ENDED = 'otel.sdk.span.ended' as const;
|
||||
|
||||
/**
|
||||
* Deprecated, use `otel.sdk.span.ended` instead.
|
||||
* Use `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `otel.sdk.span.ended`.
|
||||
* @deprecated Obsoleted.
|
||||
*/
|
||||
export const METRIC_OTEL_SDK_SPAN_ENDED_COUNT = 'otel.sdk.span.ended.count' as const;
|
||||
|
||||
/**
|
||||
* The number of created spans for which the end operation has not been called yet
|
||||
*
|
||||
* @note For spans with `recording=true`: Implementations **MUST** record both `otel.sdk.span.live` and `otel.sdk.span.ended`.
|
||||
* For spans with `recording=false`: If implementations decide to record this metric, they **MUST** also record `otel.sdk.span.ended`.
|
||||
* The number of created spans with `recording=true` for which the end operation has not been called yet
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
|
|
@ -1543,6 +1890,15 @@ export const METRIC_OTEL_SDK_SPAN_LIVE = 'otel.sdk.span.live' as const;
|
|||
*/
|
||||
export const METRIC_OTEL_SDK_SPAN_LIVE_COUNT = 'otel.sdk.span.live.count' as const;
|
||||
|
||||
/**
|
||||
* The number of created spans
|
||||
*
|
||||
* @note Implementations **MUST** record this metric for all spans, even for non-recording ones.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_OTEL_SDK_SPAN_STARTED = 'otel.sdk.span.started' as const;
|
||||
|
||||
/**
|
||||
* Number of times the process has been context switched.
|
||||
*
|
||||
|
|
@ -1728,11 +2084,9 @@ export const METRIC_RPC_SERVER_RESPONSE_SIZE = 'rpc.server.response.size' as con
|
|||
export const METRIC_RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc' as const;
|
||||
|
||||
/**
|
||||
* Deprecated. Use `cpu.frequency` instead.
|
||||
* Operating frequency of the logical CPU in Hertz.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `cpu.frequency`.
|
||||
*/
|
||||
export const METRIC_SYSTEM_CPU_FREQUENCY = 'system.cpu.frequency' as const;
|
||||
|
||||
|
|
@ -1753,20 +2107,16 @@ export const METRIC_SYSTEM_CPU_LOGICAL_COUNT = 'system.cpu.logical.count' as con
|
|||
export const METRIC_SYSTEM_CPU_PHYSICAL_COUNT = 'system.cpu.physical.count' as const;
|
||||
|
||||
/**
|
||||
* Deprecated. Use `cpu.time` instead.
|
||||
* Seconds each logical CPU spent on each mode
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `cpu.time`.
|
||||
*/
|
||||
export const METRIC_SYSTEM_CPU_TIME = 'system.cpu.time' as const;
|
||||
|
||||
/**
|
||||
* Deprecated. Use `cpu.utilization` instead.
|
||||
* For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu.time) over a measurement interval, divided by the elapsed time.
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `cpu.utilization`.
|
||||
*/
|
||||
export const METRIC_SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization' as const;
|
||||
|
||||
|
|
@ -1901,6 +2251,15 @@ export const METRIC_SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization' as c
|
|||
/**
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*/
|
||||
export const METRIC_SYSTEM_NETWORK_CONNECTION_COUNT = 'system.network.connection.count' as const;
|
||||
|
||||
/**
|
||||
* Deprecated, use `system.network.connection.count` instead
|
||||
*
|
||||
* @experimental This metric is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
|
||||
*
|
||||
* @deprecated Replaced by `system.network.connection.count`.
|
||||
*/
|
||||
export const METRIC_SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections' as const;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue