From fbd76ef3e26793481268dfa144352dcf05823697 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 May 2026 17:41:39 +0000 Subject: [PATCH 1/6] feat(semconv): update dependency open-telemetry/semantic-conventions to v1.38.0 --- semantic_conventions/Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic_conventions/Rakefile b/semantic_conventions/Rakefile index 8e87ae8a0..beed71b83 100644 --- a/semantic_conventions/Rakefile +++ b/semantic_conventions/Rakefile @@ -50,7 +50,7 @@ task default: default_tasks desc 'update semantic conventions' task generate: %i[update_spec_version_constant generate_require_rollups] -SPEC_VERSION = '1.37.0' +SPEC_VERSION = '1.38.0' OTEL_WEAVER_VERSION = 'v0.22.1' semconv_source_dir = Pathname.new('./tmp/semconvrepo') semconv_output_dir = Pathname.new('./lib/opentelemetry/semconv') From 00f3d2debb9a1886825b2bb80ab4a382808e1de2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 May 2026 17:42:15 +0000 Subject: [PATCH 2/6] chore: regenerate semantic conventions --- .../semantic_conventions/version.rb | 2 +- .../opentelemetry/semconv/http/attributes.rb | 15 +- .../semconv/incubating/app/attributes.rb | 14 + .../semconv/incubating/aws/attributes.rb | 2 +- .../semconv/incubating/azure/attributes.rb | 2 +- .../incubating/container/attributes.rb | 6 +- .../semconv/incubating/container/metrics.rb | 33 ++ .../semconv/incubating/db/attributes.rb | 11 +- .../semconv/incubating/dns/attributes.rb | 2 +- .../semconv/incubating/enduser/attributes.rb | 2 +- .../semconv/incubating/event/attributes.rb | 2 +- .../semconv/incubating/faas/attributes.rb | 2 +- .../semconv/incubating/gcp/attributes.rb | 45 ++ .../semconv/incubating/gen_ai/attributes.rb | 66 +++ .../semconv/incubating/http/attributes.rb | 19 +- .../semconv/incubating/k8s/attributes.rb | 12 +- .../semconv/incubating/k8s/metrics.rb | 384 ++++++++++++++++-- .../incubating/messaging/attributes.rb | 2 +- .../opentelemetry/semconv/incubating/nfs.rb | 22 + .../semconv/incubating/nfs/attributes.rb | 41 ++ .../semconv/incubating/nfs/metrics.rb | 134 ++++++ .../semconv/incubating/onc_rpc.rb | 21 + .../semconv/incubating/onc_rpc/attributes.rb | 51 +++ .../semconv/incubating/openshift.rb | 22 + .../incubating/openshift/attributes.rb | 41 ++ .../semconv/incubating/openshift/metrics.rb | 243 +++++++++++ .../semconv/incubating/peer/attributes.rb | 5 + .../opentelemetry/semconv/incubating/pprof.rb | 21 + .../semconv/incubating/pprof/attributes.rb | 61 +++ .../semconv/incubating/process/attributes.rb | 10 +- .../semconv/incubating/rpc/attributes.rb | 6 +- .../semconv/incubating/rpc/metrics.rb | 4 + .../semconv/incubating/system/attributes.rb | 16 +- .../semconv/incubating/system/metrics.rb | 40 +- .../semconv/incubating/thread/attributes.rb | 21 + .../semconv/incubating/v8js/metrics.rb | 24 +- .../semconv/incubating/vcs/attributes.rb | 2 +- 37 files changed, 1324 insertions(+), 82 deletions(-) create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/nfs.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/attributes.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/metrics.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc/attributes.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/openshift.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/attributes.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/metrics.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/pprof.rb create mode 100644 semantic_conventions/lib/opentelemetry/semconv/incubating/pprof/attributes.rb diff --git a/semantic_conventions/lib/opentelemetry/semantic_conventions/version.rb b/semantic_conventions/lib/opentelemetry/semantic_conventions/version.rb index e126ba0f2..1677c1310 100644 --- a/semantic_conventions/lib/opentelemetry/semantic_conventions/version.rb +++ b/semantic_conventions/lib/opentelemetry/semantic_conventions/version.rb @@ -7,7 +7,7 @@ module OpenTelemetry module SemanticConventions # Version of the OpenTelemetry Semantic Conventions from which this library was generated. - SPEC_VERSION = '1.37.0' + SPEC_VERSION = '1.38.0' # Release version of this gem. May not match SPEC_VERSION until gem is released after a spec update. VERSION = '1.37.1' end diff --git a/semantic_conventions/lib/opentelemetry/semconv/http/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/http/attributes.rb index 023a75d9c..1ec863f7b 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/http/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/http/attributes.rb @@ -54,8 +54,9 @@ module HTTP # HTTP request method. # # HTTP request method value SHOULD be "known" to the instrumentation. - # By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) - # and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + # By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods), + # the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html) + # and the QUERY method defined in [httpbis-safe-method-w-body](https://datatracker.ietf.org/doc/draft-ietf-httpbis-safe-method-w-body/?include_text=1). # # If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. # @@ -115,11 +116,19 @@ module HTTP # @note Stability Level: stable HTTP_RESPONSE_STATUS_CODE = 'http.response.status_code' - # The matched route, that is, the path template in the format used by the respective server framework. + # The matched route template for the request. This MUST be low-cardinality and include all static path segments, with dynamic path segments represented with placeholders. # # MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. # SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. # + # A static path segment is a part of the route template with a fixed, low-cardinality value. This includes literal strings like `/users/` and placeholders that + # are constrained to a finite, predefined set of values, e.g. `{controller}` or `{action}`. + # + # A dynamic path segment is a placeholder for a value that can have high cardinality and is not constrained to a predefined list like static path segments. + # + # Instrumentations SHOULD use routing information provided by the corresponding web framework. They SHOULD pick the most precise source of routing information and MAY + # support custom route formatting. Instrumentations SHOULD document the format and the API used to obtain the route string. + # # @note Stability Level: stable HTTP_ROUTE = 'http.route' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/app/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/app/attributes.rb index e7af1e2b4..b06ffd5ac 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/app/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/app/attributes.rb @@ -79,6 +79,20 @@ module APP # @note Stability Level: development APP_SCREEN_COORDINATE_Y = 'app.screen.coordinate.y' + # An identifier that uniquely differentiates this screen from other screens in the same application. + # + # A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets). + # + # @note Stability Level: development + APP_SCREEN_ID = 'app.screen.id' + + # The name of an application screen. + # + # A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets). + # + # @note Stability Level: development + APP_SCREEN_NAME = 'app.screen.name' + # An identifier that uniquely differentiates this widget from other widgets in the same application. # # A widget is an application component, typically an on-screen visual GUI element. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb index 39394bd20..8dfec06a3 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb @@ -201,7 +201,7 @@ module AWS # @note Stability Level: development AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' - # The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. + # The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. # # @note Stability Level: development AWS_LAMBDA_RESOURCE_MAPPING_ID = 'aws.lambda.resource_mapping.id' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/azure/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/azure/attributes.rb index ef794e855..d706551a1 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/azure/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/azure/attributes.rb @@ -41,7 +41,7 @@ module AZURE # List of regions contacted during operation in the order that they were contacted. If there is more than one region listed, it indicates that the operation was performed on multiple regions i.e. cross-regional call. # - # Region name matches the format of `displayName` in [Azure Location API](https://learn.microsoft.com/rest/api/subscription/subscriptions/list-locations?view=rest-subscription-2021-10-01&tabs=HTTP#location) + # Region name matches the format of `displayName` in [Azure Location API](https://learn.microsoft.com/rest/api/resources/subscriptions/list-locations) # # @note Stability Level: development AZURE_COSMOSDB_OPERATION_CONTACTED_REGIONS = 'azure.cosmosdb.operation.contacted_regions' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/container/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/container/attributes.rb index 274ad265d..3303f8e1d 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/container/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/container/attributes.rb @@ -68,7 +68,7 @@ module CONTAINER # Runtime specific image identifier. Usually a hash algorithm followed by a UUID. # - # Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerInspect) endpoint. + # Docker defines a sha256 of the image id; `container.image.id` corresponds to the `Image` field from the Docker container inspect [API](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Container/operation/ContainerInspect) endpoint. # K8s defines a link to the container registry repository with digest `"imageID": "registry.azurecr.io /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"`. # The ID is assigned by the container runtime and can vary in different environments. Consider using `oci.manifest.digest` if it is important to identify the same image in different environments/runtimes. # @@ -82,12 +82,12 @@ module CONTAINER # Repo digests of the container image as provided by the container runtime. # - # [Docker](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. + # [Docker](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Image/operation/ImageInspect) and [CRI](https://github.com/kubernetes/cri-api/blob/c75ef5b473bbe2d0a4fc92f82235efd665ea8e9f/pkg/apis/runtime/v1/api.proto#L1237-L1238) report those under the `RepoDigests` field. # # @note Stability Level: development CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests' - # Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/engine/api/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. + # Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.43/#tag/Image/operation/ImageInspect). Should be only the `` section of the full name for example from `registry.example.com/my-org/my-image:`. # # @note Stability Level: development CONTAINER_IMAGE_TAGS = 'container.image.tags' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/container/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/container/metrics.rb index fed4de144..e078c6fcf 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/container/metrics.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/container/metrics.rb @@ -77,6 +77,31 @@ module CONTAINER # @note Stability Level: development CONTAINER_FILESYSTEM_USAGE = 'container.filesystem.usage' + # Container memory available. + # + # Available memory for use. This is defined as the memory limit - workingSetBytes. If memory limit is undefined, the available bytes is omitted. + # In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and by subtracting the `container_memory_working_set_bytes` metric from the `container_spec_memory_limit_bytes` metric. + # In K8s, this metric is derived from the [MemoryStats.AvailableBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + CONTAINER_MEMORY_AVAILABLE = 'container.memory.available' + + # Container memory paging faults. + # + # In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and specifically the `container_memory_failures_total{failure_type=pgfault, scope=container}` and `container_memory_failures_total{failure_type=pgmajfault, scope=container}`metric. + # In K8s, this metric is derived from the [MemoryStats.PageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) and [MemoryStats.MajorPageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + CONTAINER_MEMORY_PAGING_FAULTS = 'container.memory.paging.faults' + + # Container memory RSS. + # + # In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and specifically the `container_memory_rss` metric. + # In K8s, this metric is derived from the [MemoryStats.RSSBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + CONTAINER_MEMORY_RSS = 'container.memory.rss' + # Memory usage of the container. # # Memory usage of the container. @@ -84,6 +109,14 @@ module CONTAINER # @note Stability Level: development CONTAINER_MEMORY_USAGE = 'container.memory.usage' + # Container memory working set. + # + # In general, this metric can be derived from [cadvisor](https://github.com/google/cadvisor/blob/v0.53.0/docs/storage/prometheus.md#prometheus-container-metrics) and specifically the `container_memory_working_set_bytes` metric. + # In K8s, this metric is derived from the [MemoryStats.WorkingSetBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + CONTAINER_MEMORY_WORKING_SET = 'container.memory.working_set' + # Network bytes for the container. # # The number of bytes sent/received on all network interfaces by the container. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/db/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/db/attributes.rb index de1cd0b01..af3022c26 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/db/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/db/attributes.rb @@ -162,7 +162,7 @@ module DB # Deprecated, use `db.response.status_code` instead. # # @note Stability Level: development - # @deprecated Replaced by `db.response.status_code`. + # @deprecated Use `db.response.status_code` instead. DB_COSMOSDB_STATUS_CODE = 'db.cosmosdb.status_code' # Deprecated, use `azure.cosmosdb.response.sub_status_code` instead. @@ -304,14 +304,17 @@ module DB # `db.query.parameter.` SHOULD match # up with the parameterized placeholders present in `db.query.text`. # + # It is RECOMMENDED to capture the value as provided by the application + # without attempting to do any case normalization. + # # `db.query.parameter.` SHOULD NOT be captured on batch operations. # # Examples: # # - For a query `SELECT * FROM users where username = %s` with the parameter `"jdoe"`, # the attribute `db.query.parameter.0` SHOULD be set to `"jdoe"`. - # - For a query `"SELECT * FROM users WHERE username = %(username)s;` with parameter - # `username = "jdoe"`, the attribute `db.query.parameter.username` SHOULD be set to `"jdoe"`. + # - For a query `"SELECT * FROM users WHERE username = %(userName)s;` with parameter + # `userName = "jdoe"`, the attribute `db.query.parameter.userName` SHOULD be set to `"jdoe"`. # # @note Stability Level: development DB_QUERY_PARAMETER_LAMBDA = ->(key) { "db.query.parameter.#{key}" } @@ -347,7 +350,7 @@ module DB # Deprecated, use `db.namespace` instead. # # @note Stability Level: development - # @deprecated Replaced by `db.namespace`. + # @deprecated Uncategorized. DB_REDIS_DATABASE_INDEX = 'db.redis.database_index' # Number of rows returned by the operation. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/dns/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/dns/attributes.rb index fd6a5a034..d02277eb1 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/dns/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/dns/attributes.rb @@ -31,7 +31,7 @@ module DNS # The name being queried. # - # If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n respectively. + # The name represents the queried domain name as it appears in the DNS query without any additional normalization. # # @note Stability Level: development DNS_QUESTION_NAME = 'dns.question.name' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/enduser/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/enduser/attributes.rb index 7d409793c..e01e2b743 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/enduser/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/enduser/attributes.rb @@ -47,7 +47,7 @@ module ENDUSER # Deprecated, use `user.roles` instead. # # @note Stability Level: development - # @deprecated Replaced by `user.roles`. + # @deprecated Use `user.roles` instead. ENDUSER_ROLE = 'enduser.role' # Deprecated, no replacement at this time. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/event/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/event/attributes.rb index 60b960393..d822801be 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/event/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/event/attributes.rb @@ -27,7 +27,7 @@ module EVENT # Identifies the class / type of event. # # @note Stability Level: development - # @deprecated Replaced by EventName top-level field on the LogRecord. + # @deprecated The value of this attribute MUST now be set as the value of the EventName field on the LogRecord to indicate that the LogRecord represents an Event. EVENT_NAME = 'event.name' # @!endgroup diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/faas/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/faas/attributes.rb index ae07338bd..fcdaeefa0 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/faas/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/faas/attributes.rb @@ -135,7 +135,7 @@ module FAAS # - **Google Cloud Run (Services):** The [revision](https://cloud.google.com/run/docs/managing/revisions) # (i.e., the function name plus the revision suffix). # - **Google Cloud Functions:** The value of the - # [`K_REVISION` environment variable](https://cloud.google.com/functions/docs/env-var#runtime_environment_variables_set_automatically). + # [`K_REVISION` environment variable](https://cloud.google.com/run/docs/container-contract#services-env-vars). # - **Azure Functions:** Not applicable. Do not set this attribute. # # @note Stability Level: development diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/gcp/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/gcp/attributes.rb index 8e2e16e47..551ba4c9d 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/gcp/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/gcp/attributes.rb @@ -77,6 +77,51 @@ module GCP # @note Stability Level: development GCP_APPHUB_WORKLOAD_ID = 'gcp.apphub.workload.id' + # The container within GCP where the AppHub destination application is defined. + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_APPLICATION_CONTAINER = 'gcp.apphub_destination.application.container' + + # The name of the destination application as configured in AppHub. + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_APPLICATION_ID = 'gcp.apphub_destination.application.id' + + # The GCP zone or region where the destination application is defined. + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_APPLICATION_LOCATION = 'gcp.apphub_destination.application.location' + + # Criticality of a destination workload indicates its importance to the business as specified in [AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type) + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_SERVICE_CRITICALITY_TYPE = 'gcp.apphub_destination.service.criticality_type' + + # Software lifecycle stage of a destination service as defined [AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1) + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_SERVICE_ENVIRONMENT_TYPE = 'gcp.apphub_destination.service.environment_type' + + # The name of the destination service as configured in AppHub. + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_SERVICE_ID = 'gcp.apphub_destination.service.id' + + # Criticality of a destination workload indicates its importance to the business as specified in [AppHub type enum](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type) + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_WORKLOAD_CRITICALITY_TYPE = 'gcp.apphub_destination.workload.criticality_type' + + # Environment of a destination workload is the stage of a software lifecycle as provided in the [AppHub environment type](https://cloud.google.com/app-hub/docs/reference/rest/v1/Attributes#type_1) + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_WORKLOAD_ENVIRONMENT_TYPE = 'gcp.apphub_destination.workload.environment_type' + + # The name of the destination workload as configured in AppHub. + # + # @note Stability Level: development + GCP_APPHUB_DESTINATION_WORKLOAD_ID = 'gcp.apphub_destination.workload.id' + # Identifies the Google Cloud service for which the official client library is intended. # # Intended to be a stable identifier for Google Cloud client libraries that is uniform across implementation languages. The value should be derived from the canonical service domain for the service; for example, 'foo.googleapis.com' should result in a value of 'foo'. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb index 9d8513792..c7cab8abd 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/gen_ai/attributes.rb @@ -57,6 +57,33 @@ module GEN_AI # @note Stability Level: development GEN_AI_DATA_SOURCE_ID = 'gen_ai.data_source.id' + # The number of dimensions the resulting output embeddings should have. + # + # @note Stability Level: development + GEN_AI_EMBEDDINGS_DIMENSION_COUNT = 'gen_ai.embeddings.dimension.count' + + # A free-form explanation for the assigned score provided by the evaluator. + # + # @note Stability Level: development + GEN_AI_EVALUATION_EXPLANATION = 'gen_ai.evaluation.explanation' + + # The name of the evaluation metric used for the GenAI response. + # + # @note Stability Level: development + GEN_AI_EVALUATION_NAME = 'gen_ai.evaluation.name' + + # Human readable label for evaluation. + # + # This attribute provides a human-readable interpretation of the evaluation score produced by an evaluator. For example, a score value of 1 could mean "relevant" in one evaluation system and "not relevant" in another, depending on the scoring range and evaluator. The label SHOULD have low cardinality. Possible values depend on the evaluation metric and evaluator used; implementations SHOULD document the possible values. + # + # @note Stability Level: development + GEN_AI_EVALUATION_SCORE_LABEL = 'gen_ai.evaluation.score.label' + + # The evaluation score returned by the evaluator. + # + # @note Stability Level: development + GEN_AI_EVALUATION_SCORE_VALUE = 'gen_ai.evaluation.score.value' + # The chat history provided to the model as an input. # # Instrumentations MUST follow [Input messages JSON schema](/docs/gen-ai/gen-ai-input-messages.json). @@ -287,11 +314,50 @@ module GEN_AI # @note Stability Level: development GEN_AI_TOKEN_TYPE = 'gen_ai.token.type' + # Parameters passed to the tool call. + # + # > [!WARNING] + # > This attribute may contain sensitive information. + # + # It's expected to be an object - in case a serialized string is available + # to the instrumentation, the instrumentation SHOULD do the best effort to + # deserialize it to an object. When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise. + # + # @note Stability Level: development + GEN_AI_TOOL_CALL_ARGUMENTS = 'gen_ai.tool.call.arguments' + # The tool call identifier. # # @note Stability Level: development GEN_AI_TOOL_CALL_ID = 'gen_ai.tool.call.id' + # The result returned by the tool call (if any and if execution was successful). + # + # > [!WARNING] + # > This attribute may contain sensitive information. + # + # It's expected to be an object - in case a serialized string is available + # to the instrumentation, the instrumentation SHOULD do the best effort to + # deserialize it to an object. When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise. + # + # @note Stability Level: development + GEN_AI_TOOL_CALL_RESULT = 'gen_ai.tool.call.result' + + # The list of source system tool definitions available to the GenAI agent or model. + # + # The value of this attribute matches source system tool definition format. + # + # It's expected to be an array of objects where each object represents a tool definition. In case a serialized string is available + # to the instrumentation, the instrumentation SHOULD do the best effort to + # deserialize it to an array. When recorded on spans, it MAY be recorded as a JSON string if structured format is not supported and SHOULD be recorded in structured form otherwise. + # + # Since this attribute could be large, it's NOT RECOMMENDED to populate + # it by default. Instrumentations MAY provide a way to enable + # populating this attribute. + # + # @note Stability Level: development + GEN_AI_TOOL_DEFINITIONS = 'gen_ai.tool.definitions' + # The tool description. # # @note Stability Level: development diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/http/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/http/attributes.rb index 42b9bd643..56782ffe3 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/http/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/http/attributes.rb @@ -35,10 +35,10 @@ module HTTP # @note Stability Level: development HTTP_CONNECTION_STATE = 'http.connection.state' - # Deprecated, use `network.protocol.name` instead. + # Deprecated, use `network.protocol.name` and `network.protocol.version` instead. # # @note Stability Level: development - # @deprecated Replaced by `network.protocol.name`. + # @deprecated Split into `network.protocol.name` and `network.protocol.version` HTTP_FLAVOR = 'http.flavor' # Deprecated, use one of `server.address`, `client.address` or `http.request.header.host` instead, depending on the usage. @@ -91,8 +91,9 @@ module HTTP # HTTP request method. # # HTTP request method value SHOULD be "known" to the instrumentation. - # By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods) - # and the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html). + # By default, this convention defines "known" methods as the ones listed in [RFC9110](https://www.rfc-editor.org/rfc/rfc9110.html#name-methods), + # the PATCH method defined in [RFC5789](https://www.rfc-editor.org/rfc/rfc5789.html) + # and the QUERY method defined in [httpbis-safe-method-w-body](https://datatracker.ietf.org/doc/draft-ietf-httpbis-safe-method-w-body/?include_text=1). # # If the HTTP request method is not known to instrumentation, it MUST set the `http.request.method` attribute to `_OTHER`. # @@ -201,11 +202,19 @@ module HTTP # @deprecated Replaced by `http.response.body.size`. HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED = 'http.response_content_length_uncompressed' - # The matched route, that is, the path template in the format used by the respective server framework. + # The matched route template for the request. This MUST be low-cardinality and include all static path segments, with dynamic path segments represented with placeholders. # # MUST NOT be populated when this is not supported by the HTTP server framework as the route attribute should have low-cardinality and the URI path can NOT substitute it. # SHOULD include the [application root](/docs/http/http-spans.md#http-server-definitions) if there is one. # + # A static path segment is a part of the route template with a fixed, low-cardinality value. This includes literal strings like `/users/` and placeholders that + # are constrained to a finite, predefined set of values, e.g. `{controller}` or `{action}`. + # + # A dynamic path segment is a placeholder for a value that can have high cardinality and is not constrained to a predefined list like static path segments. + # + # Instrumentations SHOULD use routing information provided by the corresponding web framework. They SHOULD pick the most precise source of routing information and MAY + # support custom route formatting. Instrumentations SHOULD document the format and the API used to obtain the route string. + # # @note Stability Level: stable # # @deprecated Now available in the stable namespace at {OpenTelemetry::SemConv::HTTP::HTTP_ROUTE}. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/attributes.rb index afa75bc2d..b14609979 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/attributes.rb @@ -484,6 +484,16 @@ module K8S # @note Stability Level: development K8S_POD_NAME = 'k8s.pod.name' + # The phase for the pod. Corresponds to the `phase` field of the: [K8s PodStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podstatus-v1-core) + # + # @note Stability Level: development + K8S_POD_STATUS_PHASE = 'k8s.pod.status.phase' + + # The reason for the pod state. Corresponds to the `reason` field of the: [K8s PodStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.33/#podstatus-v1-core) + # + # @note Stability Level: development + K8S_POD_STATUS_REASON = 'k8s.pod.status.reason' + # The UID of the Pod. # # @note Stability Level: development @@ -552,7 +562,7 @@ module K8S # The name of the K8s resource a resource quota defines. # - # The value for this attribute can be either the full `count/[.]` 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. + # The value for this attribute can be either the full `count/[.]` 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/#quota-on-object-count) for more details. # # @note Stability Level: development K8S_RESOURCEQUOTA_RESOURCE_NAME = 'k8s.resourcequota.resource_name' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/metrics.rb index b53daea76..3bcc37630 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/metrics.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/k8s/metrics.rb @@ -31,6 +31,13 @@ module K8S # @note Stability Level: development K8S_CONTAINER_CPU_LIMIT = 'k8s.container.cpu.limit' + # The ratio of container CPU usage to its CPU limit. + # + # The value range is [0.0,1.0]. A value of 1.0 means the container is using 100% of its CPU limit. If the CPU limit is not set, this metric SHOULD NOT be emitted for that container. + # + # @note Stability Level: development + K8S_CONTAINER_CPU_LIMIT_UTILIZATION = 'k8s.container.cpu.limit_utilization' + # CPU resource requested for the container. # # See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details. @@ -38,6 +45,11 @@ module K8S # @note Stability Level: development K8S_CONTAINER_CPU_REQUEST = 'k8s.container.cpu.request' + # The ratio of container CPU usage to its CPU request. + # + # @note Stability Level: development + K8S_CONTAINER_CPU_REQUEST_UTILIZATION = 'k8s.container.cpu.request_utilization' + # Maximum ephemeral storage resource limit set for the container. # # See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#resourcerequirements-v1-core for details. @@ -115,84 +127,150 @@ module K8S # @note Stability Level: development K8S_CONTAINER_STORAGE_REQUEST = 'k8s.container.storage.request' - # The number of actively running jobs for a cronjob. + # Deprecated, use `k8s.cronjob.job.active` instead. # # This metric aligns with the `active` field of the # [K8s CronJobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#cronjobstatus-v1-batch). # # @note Stability Level: development + # @deprecated Replaced by `k8s.cronjob.job.active`. K8S_CRONJOB_ACTIVE_JOBS = 'k8s.cronjob.active_jobs' - # Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. + # The number of actively running jobs for a cronjob. + # + # This metric aligns with the `active` field of the + # [K8s CronJobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#cronjobstatus-v1-batch). + # + # @note Stability Level: development + K8S_CRONJOB_JOB_ACTIVE = 'k8s.cronjob.job.active' + + # Deprecated, use `k8s.daemonset.node.current_scheduled` instead. # # This metric aligns with the `currentNumberScheduled` field of the # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.daemonset.node.current_scheduled`. K8S_DAEMONSET_CURRENT_SCHEDULED_NODES = 'k8s.daemonset.current_scheduled_nodes' - # Number of nodes that should be running the daemon pod (including nodes currently running the daemon pod). + # Deprecated, use `k8s.daemonset.node.desired_scheduled` instead. # # This metric aligns with the `desiredNumberScheduled` field of the # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.daemonset.node.desired_scheduled`. K8S_DAEMONSET_DESIRED_SCHEDULED_NODES = 'k8s.daemonset.desired_scheduled_nodes' - # Number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. + # Deprecated, use `k8s.daemonset.node.misscheduled` instead. # # This metric aligns with the `numberMisscheduled` field of the # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.daemonset.node.misscheduled`. K8S_DAEMONSET_MISSCHEDULED_NODES = 'k8s.daemonset.misscheduled_nodes' + # Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. + # + # This metric aligns with the `currentNumberScheduled` field of the + # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). + # + # @note Stability Level: development + K8S_DAEMONSET_NODE_CURRENT_SCHEDULED = 'k8s.daemonset.node.current_scheduled' + + # Number of nodes that should be running the daemon pod (including nodes currently running the daemon pod). + # + # This metric aligns with the `desiredNumberScheduled` field of the + # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). + # + # @note Stability Level: development + K8S_DAEMONSET_NODE_DESIRED_SCHEDULED = 'k8s.daemonset.node.desired_scheduled' + + # Number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. + # + # This metric aligns with the `numberMisscheduled` field of the + # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). + # + # @note Stability Level: development + K8S_DAEMONSET_NODE_MISSCHEDULED = 'k8s.daemonset.node.misscheduled' + # Number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready. # # This metric aligns with the `numberReady` field of the # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). # # @note Stability Level: development + K8S_DAEMONSET_NODE_READY = 'k8s.daemonset.node.ready' + + # Deprecated, use `k8s.daemonset.node.ready` instead. + # + # This metric aligns with the `numberReady` field of the + # [K8s DaemonSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#daemonsetstatus-v1-apps). + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.daemonset.node.ready`. K8S_DAEMONSET_READY_NODES = 'k8s.daemonset.ready_nodes' - # Total number of available replica pods (ready for at least minReadySeconds) targeted by this deployment. + # Deprecated, use `k8s.deployment.pod.available` instead. # # This metric aligns with the `availableReplicas` field of the # [K8s DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentstatus-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.deployment.pod.available`. K8S_DEPLOYMENT_AVAILABLE_PODS = 'k8s.deployment.available_pods' - # Number of desired replica pods in this deployment. + # Deprecated, use `k8s.deployment.pod.desired` instead. # # This metric aligns with the `replicas` field of the # [K8s DeploymentSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentspec-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.deployment.pod.desired`. K8S_DEPLOYMENT_DESIRED_PODS = 'k8s.deployment.desired_pods' - # Current number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscaler. + # Total number of available replica pods (ready for at least minReadySeconds) targeted by this deployment. + # + # This metric aligns with the `availableReplicas` field of the + # [K8s DeploymentStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentstatus-v1-apps). + # + # @note Stability Level: development + K8S_DEPLOYMENT_POD_AVAILABLE = 'k8s.deployment.pod.available' + + # Number of desired replica pods in this deployment. + # + # This metric aligns with the `replicas` field of the + # [K8s DeploymentSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#deploymentspec-v1-apps). + # + # @note Stability Level: development + K8S_DEPLOYMENT_POD_DESIRED = 'k8s.deployment.pod.desired' + + # Deprecated, use `k8s.hpa.pod.current` instead. # # This metric aligns with the `currentReplicas` field of the # [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) # # @note Stability Level: development + # @deprecated Replaced by `k8s.hpa.pod.current`. K8S_HPA_CURRENT_PODS = 'k8s.hpa.current_pods' - # Desired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscaler. + # Deprecated, use `k8s.hpa.pod.desired` instead. # # This metric aligns with the `desiredReplicas` field of the # [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) # # @note Stability Level: development + # @deprecated Replaced by `k8s.hpa.pod.desired`. K8S_HPA_DESIRED_PODS = 'k8s.hpa.desired_pods' - # The upper limit for the number of replica pods to which the autoscaler can scale up. + # Deprecated, use `k8s.hpa.pod.max` instead. # # This metric aligns with the `maxReplicas` field of the # [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) # # @note Stability Level: development + # @deprecated Replaced by `k8s.hpa.pod.max`. K8S_HPA_MAX_PODS = 'k8s.hpa.max_pods' # Target average utilization, in percentage, for CPU resource in HPA config. @@ -225,52 +303,130 @@ module K8S # @note Stability Level: development K8S_HPA_METRIC_TARGET_CPU_VALUE = 'k8s.hpa.metric.target.cpu.value' - # The lower limit for the number of replica pods to which the autoscaler can scale down. + # Deprecated, use `k8s.hpa.pod.min` instead. # # This metric aligns with the `minReplicas` field of the # [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) # # @note Stability Level: development + # @deprecated Replaced by `k8s.hpa.pod.min`. K8S_HPA_MIN_PODS = 'k8s.hpa.min_pods' - # The number of pending and actively running pods for a job. + # Current number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscaler. + # + # This metric aligns with the `currentReplicas` field of the + # [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) + # + # @note Stability Level: development + K8S_HPA_POD_CURRENT = 'k8s.hpa.pod.current' + + # Desired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscaler. + # + # This metric aligns with the `desiredReplicas` field of the + # [K8s HorizontalPodAutoscalerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerstatus-v2-autoscaling) + # + # @note Stability Level: development + K8S_HPA_POD_DESIRED = 'k8s.hpa.pod.desired' + + # The upper limit for the number of replica pods to which the autoscaler can scale up. + # + # This metric aligns with the `maxReplicas` field of the + # [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) + # + # @note Stability Level: development + K8S_HPA_POD_MAX = 'k8s.hpa.pod.max' + + # The lower limit for the number of replica pods to which the autoscaler can scale down. + # + # This metric aligns with the `minReplicas` field of the + # [K8s HorizontalPodAutoscalerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#horizontalpodautoscalerspec-v2-autoscaling) + # + # @note Stability Level: development + K8S_HPA_POD_MIN = 'k8s.hpa.pod.min' + + # Deprecated, use `k8s.job.pod.active` instead. # # This metric aligns with the `active` field of the # [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch). # # @note Stability Level: development + # @deprecated Replaced by `k8s.job.pod.active`. K8S_JOB_ACTIVE_PODS = 'k8s.job.active_pods' - # The desired number of successfully finished pods the job should be run with. + # Deprecated, use `k8s.job.pod.desired_successful` instead. # # This metric aligns with the `completions` field of the # [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).. # # @note Stability Level: development + # @deprecated Replaced by `k8s.job.pod.desired_successful`. K8S_JOB_DESIRED_SUCCESSFUL_PODS = 'k8s.job.desired_successful_pods' - # The number of pods which reached phase Failed for a job. + # Deprecated, use `k8s.job.pod.failed` instead. # # This metric aligns with the `failed` field of the # [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch). # # @note Stability Level: development + # @deprecated Replaced by `k8s.job.pod.failed`. K8S_JOB_FAILED_PODS = 'k8s.job.failed_pods' - # The max desired number of pods the job should run at any given time. + # Deprecated, use `k8s.job.pod.max_parallel` instead. # # This metric aligns with the `parallelism` field of the # [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch). # # @note Stability Level: development + # @deprecated Replaced by `k8s.job.pod.max_parallel`. K8S_JOB_MAX_PARALLEL_PODS = 'k8s.job.max_parallel_pods' + # The number of pending and actively running pods for a job. + # + # This metric aligns with the `active` field of the + # [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch). + # + # @note Stability Level: development + K8S_JOB_POD_ACTIVE = 'k8s.job.pod.active' + + # The desired number of successfully finished pods the job should be run with. + # + # This metric aligns with the `completions` field of the + # [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch).. + # + # @note Stability Level: development + K8S_JOB_POD_DESIRED_SUCCESSFUL = 'k8s.job.pod.desired_successful' + + # The number of pods which reached phase Failed for a job. + # + # This metric aligns with the `failed` field of the + # [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch). + # + # @note Stability Level: development + K8S_JOB_POD_FAILED = 'k8s.job.pod.failed' + + # The max desired number of pods the job should run at any given time. + # + # This metric aligns with the `parallelism` field of the + # [K8s JobSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobspec-v1-batch). + # + # @note Stability Level: development + K8S_JOB_POD_MAX_PARALLEL = 'k8s.job.pod.max_parallel' + # The number of pods which reached phase Succeeded for a job. # # This metric aligns with the `succeeded` field of the # [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch). # # @note Stability Level: development + K8S_JOB_POD_SUCCESSFUL = 'k8s.job.pod.successful' + + # Deprecated, use `k8s.job.pod.successful` instead. + # + # This metric aligns with the `succeeded` field of the + # [K8s JobStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#jobstatus-v1-batch). + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.job.pod.successful`. K8S_JOB_SUCCESSFUL_PODS = 'k8s.job.successful_pods' # Describes number of K8s namespaces that are currently in a given phase. @@ -278,24 +434,28 @@ module K8S # @note Stability Level: development K8S_NAMESPACE_PHASE = 'k8s.namespace.phase' - # Amount of cpu allocatable on the node. + # Deprecated, use `k8s.node.cpu.allocatable` instead. # # @note Stability Level: development + # @deprecated Replaced by `k8s.node.cpu.allocatable`. K8S_NODE_ALLOCATABLE_CPU = 'k8s.node.allocatable.cpu' - # Amount of ephemeral-storage allocatable on the node. + # Deprecated, use `k8s.node.ephemeral_storage.allocatable` instead. # # @note Stability Level: development + # @deprecated Replaced by `k8s.node.ephemeral_storage.allocatable`. K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE = 'k8s.node.allocatable.ephemeral_storage' - # Amount of memory allocatable on the node. + # Deprecated, use `k8s.node.memory.allocatable` instead. # # @note Stability Level: development + # @deprecated Replaced by `k8s.node.memory.allocatable`. K8S_NODE_ALLOCATABLE_MEMORY = 'k8s.node.allocatable.memory' - # Amount of pods allocatable on the node. + # Deprecated, use `k8s.node.pod.allocatable` instead. # # @note Stability Level: development + # @deprecated Replaced by `k8s.node.pod.allocatable`. K8S_NODE_ALLOCATABLE_PODS = 'k8s.node.allocatable.pods' # Describes the condition of a particular Node. @@ -305,6 +465,11 @@ module K8S # @note Stability Level: development K8S_NODE_CONDITION_STATUS = 'k8s.node.condition.status' + # Amount of cpu allocatable on the node. + # + # @note Stability Level: development + K8S_NODE_CPU_ALLOCATABLE = 'k8s.node.cpu.allocatable' + # Total CPU time consumed. # # Total CPU time consumed by the specific Node on all available CPU cores @@ -319,6 +484,11 @@ module K8S # @note Stability Level: development K8S_NODE_CPU_USAGE = 'k8s.node.cpu.usage' + # Amount of ephemeral-storage allocatable on the node. + # + # @note Stability Level: development + K8S_NODE_EPHEMERAL_STORAGE_ALLOCATABLE = 'k8s.node.ephemeral_storage.allocatable' + # Node filesystem available bytes. # # This metric is derived from the @@ -351,6 +521,35 @@ module K8S # @note Stability Level: development K8S_NODE_FILESYSTEM_USAGE = 'k8s.node.filesystem.usage' + # Amount of memory allocatable on the node. + # + # @note Stability Level: development + K8S_NODE_MEMORY_ALLOCATABLE = 'k8s.node.memory.allocatable' + + # Node memory available. + # + # Available memory for use. This is defined as the memory limit - workingSetBytes. If memory limit is undefined, the available bytes is omitted. + # This metric is derived from the [MemoryStats.AvailableBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_NODE_MEMORY_AVAILABLE = 'k8s.node.memory.available' + + # Node memory paging faults. + # + # Cumulative number of major/minor page faults. + # This metric is derived from the [MemoryStats.PageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) and [MemoryStats.MajorPageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) fields of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_NODE_MEMORY_PAGING_FAULTS = 'k8s.node.memory.paging.faults' + + # Node memory RSS. + # + # The amount of anonymous and swap cache memory (includes transparent hugepages). + # This metric is derived from the [MemoryStats.RSSBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_NODE_MEMORY_RSS = 'k8s.node.memory.rss' + # Memory usage of the Node. # # Total memory usage of the Node @@ -358,6 +557,14 @@ module K8S # @note Stability Level: development K8S_NODE_MEMORY_USAGE = 'k8s.node.memory.usage' + # Node memory working set. + # + # The amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory. WorkingSetBytes is <= UsageBytes. + # This metric is derived from the [MemoryStats.WorkingSetBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [NodeStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#NodeStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_NODE_MEMORY_WORKING_SET = 'k8s.node.memory.working_set' + # Node network errors. # # @note Stability Level: development @@ -368,6 +575,11 @@ module K8S # @note Stability Level: development K8S_NODE_NETWORK_IO = 'k8s.node.network.io' + # Amount of pods allocatable on the node. + # + # @note Stability Level: development + K8S_NODE_POD_ALLOCATABLE = 'k8s.node.pod.allocatable' + # The time the Node has been running. # # Instrumentations SHOULD use a gauge with type `double` and measure uptime in seconds as a floating point number with the highest precision available. @@ -422,6 +634,30 @@ module K8S # @note Stability Level: development K8S_POD_FILESYSTEM_USAGE = 'k8s.pod.filesystem.usage' + # Pod memory available. + # + # Available memory for use. This is defined as the memory limit - workingSetBytes. If memory limit is undefined, the available bytes is omitted. + # This metric is derived from the [MemoryStats.AvailableBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_POD_MEMORY_AVAILABLE = 'k8s.pod.memory.available' + + # Pod memory paging faults. + # + # Cumulative number of major/minor page faults. + # This metric is derived from the [MemoryStats.PageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) and [MemoryStats.MajorPageFaults](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_POD_MEMORY_PAGING_FAULTS = 'k8s.pod.memory.paging.faults' + + # Pod memory RSS. + # + # The amount of anonymous and swap cache memory (includes transparent hugepages). + # This metric is derived from the [MemoryStats.RSSBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_POD_MEMORY_RSS = 'k8s.pod.memory.rss' + # Memory usage of the Pod. # # Total memory usage of the Pod @@ -429,6 +665,14 @@ module K8S # @note Stability Level: development K8S_POD_MEMORY_USAGE = 'k8s.pod.memory.usage' + # Pod memory working set. + # + # The amount of working set memory. This includes recently accessed memory, dirty memory, and kernel memory. WorkingSetBytes is <= UsageBytes. + # This metric is derived from the [MemoryStats.WorkingSetBytes](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#MemoryStats) field of the [PodStats.Memory](https://pkg.go.dev/k8s.io/kubelet@v0.34.0/pkg/apis/stats/v1alpha1#PodStats) of the Kubelet's stats API. + # + # @note Stability Level: development + K8S_POD_MEMORY_WORKING_SET = 'k8s.pod.memory.working_set' + # Pod network errors. # # @note Stability Level: development @@ -439,6 +683,22 @@ module K8S # @note Stability Level: development K8S_POD_NETWORK_IO = 'k8s.pod.network.io' + # Describes number of K8s Pods that are currently in a given phase. + # + # All possible pod phases will be reported at each time interval to avoid missing metrics. + # Only the value corresponding to the current phase will be non-zero. + # + # @note Stability Level: development + K8S_POD_STATUS_PHASE = 'k8s.pod.status.phase' + + # Describes the number of K8s Pods that are currently in a state for a given reason. + # + # All possible pod status reasons will be reported at each time interval to avoid missing metrics. + # Only the value corresponding to the current reason will be non-zero. + # + # @note Stability Level: development + K8S_POD_STATUS_REASON = 'k8s.pod.status.reason' + # The time the Pod has been running. # # Instrumentations SHOULD use a gauge with type `double` and measure uptime in seconds as a floating point number with the highest precision available. @@ -511,41 +771,71 @@ module K8S # @note Stability Level: development K8S_POD_VOLUME_USAGE = 'k8s.pod.volume.usage' - # Total number of available replica pods (ready for at least minReadySeconds) targeted by this replicaset. + # Deprecated, use `k8s.replicaset.pod.available` instead. # # This metric aligns with the `availableReplicas` field of the # [K8s ReplicaSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetstatus-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.replicaset.pod.available`. K8S_REPLICASET_AVAILABLE_PODS = 'k8s.replicaset.available_pods' - # Number of desired replica pods in this replicaset. + # Deprecated, use `k8s.replicaset.pod.desired` instead. # # This metric aligns with the `replicas` field of the # [K8s ReplicaSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetspec-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.replicaset.pod.desired`. K8S_REPLICASET_DESIRED_PODS = 'k8s.replicaset.desired_pods' - # Deprecated, use `k8s.replicationcontroller.available_pods` instead. + # Total number of available replica pods (ready for at least minReadySeconds) targeted by this replicaset. + # + # This metric aligns with the `availableReplicas` field of the + # [K8s ReplicaSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetstatus-v1-apps). # # @note Stability Level: development - # @deprecated Replaced by `k8s.replicationcontroller.available_pods`. + K8S_REPLICASET_POD_AVAILABLE = 'k8s.replicaset.pod.available' + + # Number of desired replica pods in this replicaset. + # + # This metric aligns with the `replicas` field of the + # [K8s ReplicaSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicasetspec-v1-apps). + # + # @note Stability Level: development + K8S_REPLICASET_POD_DESIRED = 'k8s.replicaset.pod.desired' + + # Deprecated, use `k8s.replicationcontroller.pod.available` instead. + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.replicationcontroller.pod.available`. K8S_REPLICATION_CONTROLLER_AVAILABLE_PODS = 'k8s.replication_controller.available_pods' - # Deprecated, use `k8s.replicationcontroller.desired_pods` instead. + # Deprecated, use `k8s.replicationcontroller.pod.desired` instead. # # @note Stability Level: development - # @deprecated Replaced by `k8s.replicationcontroller.desired_pods`. + # @deprecated Replaced by `k8s.replicationcontroller.pod.desired`. K8S_REPLICATION_CONTROLLER_DESIRED_PODS = 'k8s.replication_controller.desired_pods' + # Deprecated, use `k8s.replicationcontroller.pod.available` instead. + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.replicationcontroller.pod.available`. + K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationcontroller.available_pods' + + # Deprecated, use `k8s.replicationcontroller.pod.desired` instead. + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.replicationcontroller.pod.desired`. + K8S_REPLICATIONCONTROLLER_DESIRED_PODS = 'k8s.replicationcontroller.desired_pods' + # Total number of available replica pods (ready for at least minReadySeconds) targeted by this replication controller. # # This metric aligns with the `availableReplicas` field of the # [K8s ReplicationControllerStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerstatus-v1-core) # # @note Stability Level: development - K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS = 'k8s.replicationcontroller.available_pods' + K8S_REPLICATIONCONTROLLER_POD_AVAILABLE = 'k8s.replicationcontroller.pod.available' # Number of desired replica pods in this replication controller. # @@ -553,7 +843,7 @@ module K8S # [K8s ReplicationControllerSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#replicationcontrollerspec-v1-core) # # @note Stability Level: development - K8S_REPLICATIONCONTROLLER_DESIRED_PODS = 'k8s.replicationcontroller.desired_pods' + K8S_REPLICATIONCONTROLLER_POD_DESIRED = 'k8s.replicationcontroller.pod.desired' # The CPU limits in a specific namespace. # The value represents the configured quota limit of the resource in the namespace. @@ -747,29 +1037,47 @@ module K8S # @note Stability Level: development K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED = 'k8s.resourcequota.storage.request.used' - # The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision. + # Deprecated, use `k8s.statefulset.pod.current` instead. # # This metric aligns with the `currentReplicas` field of the # [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.statefulset.pod.current`. K8S_STATEFULSET_CURRENT_PODS = 'k8s.statefulset.current_pods' - # Number of desired replica pods in this statefulset. + # Deprecated, use `k8s.statefulset.pod.desired` instead. # # This metric aligns with the `replicas` field of the # [K8s StatefulSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetspec-v1-apps). # # @note Stability Level: development + # @deprecated Replaced by `k8s.statefulset.pod.desired`. K8S_STATEFULSET_DESIRED_PODS = 'k8s.statefulset.desired_pods' + # The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision. + # + # This metric aligns with the `currentReplicas` field of the + # [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps). + # + # @note Stability Level: development + K8S_STATEFULSET_POD_CURRENT = 'k8s.statefulset.pod.current' + + # Number of desired replica pods in this statefulset. + # + # This metric aligns with the `replicas` field of the + # [K8s StatefulSetSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetspec-v1-apps). + # + # @note Stability Level: development + K8S_STATEFULSET_POD_DESIRED = 'k8s.statefulset.pod.desired' + # The number of replica pods created for this statefulset with a Ready Condition. # # This metric aligns with the `readyReplicas` field of the # [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps). # # @note Stability Level: development - K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods' + K8S_STATEFULSET_POD_READY = 'k8s.statefulset.pod.ready' # Number of replica pods created by the statefulset controller from the statefulset version indicated by updateRevision. # @@ -777,6 +1085,24 @@ module K8S # [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps). # # @note Stability Level: development + K8S_STATEFULSET_POD_UPDATED = 'k8s.statefulset.pod.updated' + + # Deprecated, use `k8s.statefulset.pod.ready` instead. + # + # This metric aligns with the `readyReplicas` field of the + # [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps). + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.statefulset.pod.ready`. + K8S_STATEFULSET_READY_PODS = 'k8s.statefulset.ready_pods' + + # Deprecated, use `k8s.statefulset.pod.updated` instead. + # + # This metric aligns with the `updatedReplicas` field of the + # [K8s StatefulSetStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30/#statefulsetstatus-v1-apps). + # + # @note Stability Level: development + # @deprecated Replaced by `k8s.statefulset.pod.updated`. K8S_STATEFULSET_UPDATED_PODS = 'k8s.statefulset.updated_pods' # @!endgroup diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/messaging/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/messaging/attributes.rb index 95cb78222..4875b0597 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/messaging/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/messaging/attributes.rb @@ -132,7 +132,7 @@ module MESSAGING # Deprecated, use `messaging.destination.partition.id` instead. # # @note Stability Level: development - # @deprecated Replaced by `messaging.destination.partition.id`. + # @deprecated Record string representation of the partition id in `messaging.destination.partition.id` attribute. MESSAGING_KAFKA_DESTINATION_PARTITION = 'messaging.kafka.destination.partition' # Message keys in Kafka are used for grouping alike messages to ensure they're processed on the same partition. They differ from `messaging.message.id` in that they're not unique. If the key is `null`, the attribute MUST NOT be set. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs.rb new file mode 100644 index 000000000..513654720 --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +# This file was autogenerated. Do not edit it by hand. + +require_relative 'nfs/attributes' +require_relative 'nfs/metrics' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/attributes.rb new file mode 100644 index 000000000..7aab2d78e --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/attributes.rb @@ -0,0 +1,41 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This file was autogenerated. Do not edit it by hand. + +module OpenTelemetry + module SemConv + module Incubating + module NFS + # @!group Attribute Names + + # NFSv4+ operation name. + # + # @note Stability Level: development + NFS_OPERATION_NAME = 'nfs.operation.name' + + # Linux: one of "hit" (NFSD_STATS_RC_HITS), "miss" (NFSD_STATS_RC_MISSES), or "nocache" (NFSD_STATS_RC_NOCACHE -- uncacheable) + # + # @note Stability Level: development + NFS_SERVER_REPCACHE_STATUS = 'nfs.server.repcache.status' + + # @!endgroup + end + end + end +end diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/metrics.rb new file mode 100644 index 000000000..fe3d97684 --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/nfs/metrics.rb @@ -0,0 +1,134 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This file was autogenerated. Do not edit it by hand. + +module OpenTelemetry + module SemConv + module Incubating + module NFS + # @!group Metrics Names + + # Reports the count of kernel NFS client TCP segments and UDP datagrams handled. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.netudpcnt and svc_stat.nettcpcnt + # + # @note Stability Level: development + NFS_CLIENT_NET_COUNT = 'nfs.client.net.count' + + # Reports the count of kernel NFS client TCP connections accepted. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.nettcpconn + # + # @note Stability Level: development + NFS_CLIENT_NET_TCP_CONNECTION_ACCEPTED = 'nfs.client.net.tcp.connection.accepted' + + # Reports the count of kernel NFSv4+ client operations. + # + # @note Stability Level: development + NFS_CLIENT_OPERATION_COUNT = 'nfs.client.operation.count' + + # Reports the count of kernel NFS client procedures. + # + # @note Stability Level: development + NFS_CLIENT_PROCEDURE_COUNT = 'nfs.client.procedure.count' + + # Reports the count of kernel NFS client RPC authentication refreshes. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.rpcauthrefresh + # + # @note Stability Level: development + NFS_CLIENT_RPC_AUTHREFRESH_COUNT = 'nfs.client.rpc.authrefresh.count' + + # Reports the count of kernel NFS client RPCs sent, regardless of whether they're accepted/rejected by the server. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.rpccnt + # + # @note Stability Level: development + NFS_CLIENT_RPC_COUNT = 'nfs.client.rpc.count' + + # Reports the count of kernel NFS client RPC retransmits. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.rpcretrans + # + # @note Stability Level: development + NFS_CLIENT_RPC_RETRANSMIT_COUNT = 'nfs.client.rpc.retransmit.count' + + # Reports the count of kernel NFS server stale file handles. + # + # Linux: this metric is taken from the Linux kernel NFSD_STATS_FH_STALE counter in the nfsd_net struct + # + # @note Stability Level: development + NFS_SERVER_FH_STALE_COUNT = 'nfs.server.fh.stale.count' + + # Reports the count of kernel NFS server bytes returned to receive and transmit (read and write) requests. + # + # Linux: this metric is taken from the Linux kernel NFSD_STATS_IO_READ and NFSD_STATS_IO_WRITE counters in the nfsd_net struct + # + # @note Stability Level: development + NFS_SERVER_IO = 'nfs.server.io' + + # Reports the count of kernel NFS server TCP segments and UDP datagrams handled. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.nettcpcnt and svc_stat.netudpcnt + # + # @note Stability Level: development + NFS_SERVER_NET_COUNT = 'nfs.server.net.count' + + # Reports the count of kernel NFS server TCP connections accepted. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.nettcpconn + # + # @note Stability Level: development + NFS_SERVER_NET_TCP_CONNECTION_ACCEPTED = 'nfs.server.net.tcp.connection.accepted' + + # Reports the count of kernel NFSv4+ server operations. + # + # @note Stability Level: development + NFS_SERVER_OPERATION_COUNT = 'nfs.server.operation.count' + + # Reports the count of kernel NFS server procedures. + # + # @note Stability Level: development + NFS_SERVER_PROCEDURE_COUNT = 'nfs.server.procedure.count' + + # Reports the kernel NFS server reply cache request count by cache hit status. + # + # @note Stability Level: development + NFS_SERVER_REPCACHE_REQUESTS = 'nfs.server.repcache.requests' + + # Reports the count of kernel NFS server RPCs handled. + # + # Linux: this metric is taken from the Linux kernel's svc_stat.rpccnt, the count of good RPCs. This metric can have + # an error.type of "format", "auth", or "client" for svc_stat.badfmt, svc_stat.badauth, and svc_stat.badclnt. + # + # @note Stability Level: development + NFS_SERVER_RPC_COUNT = 'nfs.server.rpc.count' + + # Reports the count of kernel NFS server available threads. + # + # Linux: this metric is taken from the Linux kernel nfsd_th_cnt variable + # + # @note Stability Level: development + NFS_SERVER_THREAD_COUNT = 'nfs.server.thread.count' + + # @!endgroup + end + end + end +end diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc.rb new file mode 100644 index 000000000..828e6b2a4 --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +# This file was autogenerated. Do not edit it by hand. + +require_relative 'onc_rpc/attributes' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc/attributes.rb new file mode 100644 index 000000000..34eaa647a --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/onc_rpc/attributes.rb @@ -0,0 +1,51 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This file was autogenerated. Do not edit it by hand. + +module OpenTelemetry + module SemConv + module Incubating + module ONC_RPC + # @!group Attribute Names + + # ONC/Sun RPC procedure name. + # + # @note Stability Level: development + ONC_RPC_PROCEDURE_NAME = 'onc_rpc.procedure.name' + + # ONC/Sun RPC procedure number. + # + # @note Stability Level: development + ONC_RPC_PROCEDURE_NUMBER = 'onc_rpc.procedure.number' + + # ONC/Sun RPC program name. + # + # @note Stability Level: development + ONC_RPC_PROGRAM_NAME = 'onc_rpc.program.name' + + # ONC/Sun RPC program version. + # + # @note Stability Level: development + ONC_RPC_VERSION = 'onc_rpc.version' + + # @!endgroup + end + end + end +end diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift.rb new file mode 100644 index 000000000..1dc1cdeb4 --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift.rb @@ -0,0 +1,22 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +# This file was autogenerated. Do not edit it by hand. + +require_relative 'openshift/attributes' +require_relative 'openshift/metrics' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/attributes.rb new file mode 100644 index 000000000..9fdb647dc --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/attributes.rb @@ -0,0 +1,41 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This file was autogenerated. Do not edit it by hand. + +module OpenTelemetry + module SemConv + module Incubating + module OPENSHIFT + # @!group Attribute Names + + # The name of the cluster quota. + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_NAME = 'openshift.clusterquota.name' + + # The UID of the cluster quota. + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_UID = 'openshift.clusterquota.uid' + + # @!endgroup + end + end + end +end diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/metrics.rb new file mode 100644 index 000000000..cc962a671 --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/openshift/metrics.rb @@ -0,0 +1,243 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This file was autogenerated. Do not edit it by hand. + +module OpenTelemetry + module SemConv + module Incubating + module OPENSHIFT + # @!group Metrics Names + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_HARD = 'openshift.clusterquota.cpu.limit.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_USED = 'openshift.clusterquota.cpu.limit.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_HARD = 'openshift.clusterquota.cpu.request.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_USED = 'openshift.clusterquota.cpu.request.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD = 'openshift.clusterquota.ephemeral_storage.limit.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_USED = 'openshift.clusterquota.ephemeral_storage.limit.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD = 'openshift.clusterquota.ephemeral_storage.request.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_USED = 'openshift.clusterquota.ephemeral_storage.request.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_HARD = 'openshift.clusterquota.hugepage_count.request.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_USED = 'openshift.clusterquota.hugepage_count.request.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_HARD = 'openshift.clusterquota.memory.limit.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_USED = 'openshift.clusterquota.memory.limit.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_HARD = 'openshift.clusterquota.memory.request.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_USED = 'openshift.clusterquota.memory.request.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_HARD = 'openshift.clusterquota.object_count.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_USED = 'openshift.clusterquota.object_count.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # The `k8s.storageclass.name` should be required when a resource quota is defined for a specific + # storage class. + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD = 'openshift.clusterquota.persistentvolumeclaim_count.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # The `k8s.storageclass.name` should be required when a resource quota is defined for a specific + # storage class. + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED = 'openshift.clusterquota.persistentvolumeclaim_count.used' + + # The enforced hard limit of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Hard` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # The `k8s.storageclass.name` should be required when a resource quota is defined for a specific + # storage class. + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_HARD = 'openshift.clusterquota.storage.request.hard' + + # The current observed total usage of the resource across all projects. + # + # This metric is retrieved from the `Status.Total.Used` field of the + # [K8s ResourceQuotaStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcequotastatus-v1-core) + # of the + # [ClusterResourceQuota](https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/schedule_and_quota_apis/clusterresourcequota-quota-openshift-io-v1#status-total). + # + # The `k8s.storageclass.name` should be required when a resource quota is defined for a specific + # storage class. + # + # @note Stability Level: development + OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_USED = 'openshift.clusterquota.storage.request.used' + + # @!endgroup + end + end + end +end diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/peer/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/peer/attributes.rb index 54cf99ea6..1f985a31b 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/peer/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/peer/attributes.rb @@ -26,6 +26,11 @@ module PEER # The [`service.name`](/docs/resource/README.md#service) of the remote service. SHOULD be equal to the actual `service.name` resource attribute of the remote service if any. # + # Examples of `peer.service` that users may specify: + # + # - A Redis cache of auth tokens as `peer.service="AuthTokenCache"`. + # - A gRPC service `rpc.service="io.opentelemetry.AuthService"` may be hosted in both a gateway, `peer.service="ExternalApiService"` and a backend, `peer.service="AuthService"`. + # # @note Stability Level: development PEER_SERVICE = 'peer.service' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/pprof.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/pprof.rb new file mode 100644 index 000000000..ee645517c --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/pprof.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +# This file was autogenerated. Do not edit it by hand. + +require_relative 'pprof/attributes' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/pprof/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/pprof/attributes.rb new file mode 100644 index 000000000..c08ecd9e4 --- /dev/null +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/pprof/attributes.rb @@ -0,0 +1,61 @@ +# frozen_string_literal: true + +# Copyright The OpenTelemetry Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# +# This file was autogenerated. Do not edit it by hand. + +module OpenTelemetry + module SemConv + module Incubating + module PPROF + # @!group Attribute Names + + # Provides an indication that multiple symbols map to this location's address, for example due to identical code folding by the linker. In that case the line information represents one of the multiple symbols. This field must be recomputed when the symbolization state of the profile changes. + # + # @note Stability Level: development + PPROF_LOCATION_IS_FOLDED = 'pprof.location.is_folded' + + # Indicates that there are filenames related to this mapping. + # + # @note Stability Level: development + PPROF_MAPPING_HAS_FILENAMES = 'pprof.mapping.has_filenames' + + # Indicates that there are functions related to this mapping. + # + # @note Stability Level: development + PPROF_MAPPING_HAS_FUNCTIONS = 'pprof.mapping.has_functions' + + # Indicates that there are inline frames related to this mapping. + # + # @note Stability Level: development + PPROF_MAPPING_HAS_INLINE_FRAMES = 'pprof.mapping.has_inline_frames' + + # Indicates that there are line numbers related to this mapping. + # + # @note Stability Level: development + PPROF_MAPPING_HAS_LINE_NUMBERS = 'pprof.mapping.has_line_numbers' + + # Free-form text associated with the profile. This field should not be used to store any machine-readable information, it is only for human-friendly content. + # + # @note Stability Level: development + PPROF_PROFILE_COMMENT = 'pprof.profile.comment' + + # @!endgroup + end + end + end +end diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/process/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/process/attributes.rb index 52906592e..f5811e0a0 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/process/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/process/attributes.rb @@ -49,7 +49,7 @@ module PROCESS # Specifies whether the context switches for this data point were voluntary or involuntary. # # @note Stability Level: development - PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch_type' + PROCESS_CONTEXT_SWITCH_TYPE = 'process.context_switch.type' # Deprecated, use `cpu.mode` instead. # @@ -144,9 +144,10 @@ module PROCESS # @note Stability Level: development PROCESS_OWNER = 'process.owner' - # The type of page fault for this data point. Type `major` is for major/hard page faults, and `minor` is for minor/soft page faults. + # Deprecated, use `system.paging.fault.type` instead. # # @note Stability Level: development + # @deprecated Replaced by `system.paging.fault.type`. PROCESS_PAGING_FAULT_TYPE = 'process.paging.fault_type' # Parent Process identifier (PPID). @@ -199,6 +200,11 @@ module PROCESS # @note Stability Level: development PROCESS_SESSION_LEADER_PID = 'process.session_leader.pid' + # The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) + # + # @note Stability Level: development + PROCESS_STATE = 'process.state' + # Process title (proctitle) # # In many Unix-like systems, process title (proctitle), is the string that represents the name or command line of a running process, displayed by system monitoring tools like ps, top, and htop. diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/attributes.rb index 7563cb822..6bf0ddc34 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/attributes.rb @@ -144,17 +144,13 @@ module RPC # @note Stability Level: development RPC_MESSAGE_UNCOMPRESSED_SIZE = 'rpc.message.uncompressed_size' - # The name of the (logical) method being called, must be equal to the $method part in the span name. - # - # This is the logical name of the method from the RPC interface perspective, which can be different from the name of any implementing method/function. The `code.function.name` attribute may be used to store the latter (e.g., method actually executing the call on the server side, RPC client stub method on the client side). + # This is the logical name of the method from the RPC interface perspective. # # @note Stability Level: development RPC_METHOD = 'rpc.method' # The full (logical) name of the service being called, including its package name, if applicable. # - # This is the logical name of the service from the RPC interface perspective, which can be different from the name of any implementing class. The `code.namespace` attribute may be used to store the latter (despite the attribute name, it may include a class name; e.g., class with method actually executing the call on the server side, RPC client stub class on the client side). - # # @note Stability Level: development RPC_SERVICE = 'rpc.service' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/metrics.rb index 093884c6c..69f4dcf68 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/metrics.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/rpc/metrics.rb @@ -48,6 +48,7 @@ module RPC # **Streaming**: This metric is required for server and client streaming RPCs # # @note Stability Level: development + # @deprecated Removed, no replacement at this time. RPC_CLIENT_REQUESTS_PER_RPC = 'rpc.client.requests_per_rpc' # Measures the size of RPC response messages (uncompressed). @@ -64,6 +65,7 @@ module RPC # **Streaming**: This metric is required for server and client streaming RPCs # # @note Stability Level: development + # @deprecated Removed, no replacement at this time. RPC_CLIENT_RESPONSES_PER_RPC = 'rpc.client.responses_per_rpc' # Measures the duration of inbound RPC. @@ -90,6 +92,7 @@ module RPC # **Streaming** : This metric is required for server and client streaming RPCs # # @note Stability Level: development + # @deprecated Removed, no replacement at this time. RPC_SERVER_REQUESTS_PER_RPC = 'rpc.server.requests_per_rpc' # Measures the size of RPC response messages (uncompressed). @@ -106,6 +109,7 @@ module RPC # **Streaming**: This metric is required for server and client streaming RPCs # # @note Stability Level: development + # @deprecated Removed, no replacement at this time. RPC_SERVER_RESPONSES_PER_RPC = 'rpc.server.responses_per_rpc' # @!endgroup diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/system/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/system/attributes.rb index 8a5fecc6e..ce72f7c0a 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/system/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/system/attributes.rb @@ -27,6 +27,7 @@ module SYSTEM # Deprecated, use `cpu.logical_number` instead. # # @note Stability Level: development + # @deprecated Replaced by `cpu.logical_number`. SYSTEM_CPU_LOGICAL_NUMBER = 'system.cpu.logical_number' # Deprecated, use `cpu.mode` instead. @@ -76,25 +77,32 @@ module SYSTEM # @note Stability Level: development SYSTEM_PAGING_DIRECTION = 'system.paging.direction' + # The paging fault type + # + # @note Stability Level: development + SYSTEM_PAGING_FAULT_TYPE = 'system.paging.fault.type' + # The memory paging state # # @note Stability Level: development SYSTEM_PAGING_STATE = 'system.paging.state' - # The memory paging type + # Deprecated, use `system.paging.fault.type` instead. # # @note Stability Level: development + # @deprecated Replaced by `system.paging.fault.type`. SYSTEM_PAGING_TYPE = 'system.paging.type' - # The process state, e.g., [Linux Process State Codes](https://man7.org/linux/man-pages/man1/ps.1.html#PROCESS_STATE_CODES) + # Deprecated, use `process.state` instead. # # @note Stability Level: development + # @deprecated Replaced by `process.state`. SYSTEM_PROCESS_STATUS = 'system.process.status' - # Deprecated, use `system.process.status` instead. + # Deprecated, use `process.state` instead. # # @note Stability Level: development - # @deprecated Replaced by `system.process.status`. + # @deprecated Replaced by `process.state`. SYSTEM_PROCESSES_STATUS = 'system.processes.status' # @!endgroup diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/system/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/system/metrics.rb index fe0bdd977..398d5531d 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/system/metrics.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/system/metrics.rb @@ -53,7 +53,7 @@ module SYSTEM # @note Stability Level: development SYSTEM_CPU_UTILIZATION = 'system.cpu.utilization' - # TODO. + # Disk bytes transferred. # # @note Stability Level: development SYSTEM_DISK_IO = 'system.disk.io' @@ -75,7 +75,7 @@ module SYSTEM # @note Stability Level: development SYSTEM_DISK_LIMIT = 'system.disk.limit' - # TODO. + # The number of disk reads/writes merged into single physical disk access operations. # # @note Stability Level: development SYSTEM_DISK_MERGED = 'system.disk.merged' @@ -90,7 +90,7 @@ module SYSTEM # @note Stability Level: development SYSTEM_DISK_OPERATION_TIME = 'system.disk.operation_time' - # TODO. + # Disk operations count. # # @note Stability Level: development SYSTEM_DISK_OPERATIONS = 'system.disk.operations' @@ -108,7 +108,7 @@ module SYSTEM # @note Stability Level: development SYSTEM_FILESYSTEM_USAGE = 'system.filesystem.usage' - # TODO. + # Fraction of filesystem bytes used. # # @note Stability Level: development SYSTEM_FILESYSTEM_UTILIZATION = 'system.filesystem.utilization' @@ -151,12 +151,12 @@ module SYSTEM # @note Stability Level: development SYSTEM_MEMORY_USAGE = 'system.memory.usage' - # TODO. + # Percentage of memory bytes in use. # # @note Stability Level: development SYSTEM_MEMORY_UTILIZATION = 'system.memory.utilization' - # TODO. + # The number of connections. # # @note Stability Level: development SYSTEM_NETWORK_CONNECTION_COUNT = 'system.network.connection.count' @@ -167,6 +167,18 @@ module SYSTEM # @deprecated Replaced by `system.network.connection.count`. SYSTEM_NETWORK_CONNECTIONS = 'system.network.connections' + # Count of packets that are dropped or discarded even though there was no error. + # + # Measured as: + # + # - Linux: the `drop` column in `/proc/dev/net` ([source](https://web.archive.org/web/20180321091318/http://www.onlamp.com/pub/a/linux/2000/11/16/LinuxAdmin.html)) + # - Windows: [`InDiscards`/`OutDiscards`](https://docs.microsoft.com/windows/win32/api/netioapi/ns-netioapi-mib_if_row2) + # from [`GetIfEntry2`](https://docs.microsoft.com/windows/win32/api/netioapi/nf-netioapi-getifentry2) + # + # @note Stability Level: development + # @deprecated Replaced by `system.network.packet.dropped`. + SYSTEM_NETWORK_DROPPED = 'system.network.dropped' + # Count of network errors detected. # # Measured as: @@ -178,12 +190,12 @@ module SYSTEM # @note Stability Level: development SYSTEM_NETWORK_ERRORS = 'system.network.errors' - # TODO. + # The number of bytes transmitted and received. # # @note Stability Level: development SYSTEM_NETWORK_IO = 'system.network.io' - # TODO. + # The number of packets transferred. # # @note Stability Level: development SYSTEM_NETWORK_PACKET_COUNT = 'system.network.packet.count' @@ -199,12 +211,18 @@ module SYSTEM # @note Stability Level: development SYSTEM_NETWORK_PACKET_DROPPED = 'system.network.packet.dropped' - # TODO. + # The number of packets transferred. + # + # @note Stability Level: development + # @deprecated Replaced by `system.network.packet.count`. + SYSTEM_NETWORK_PACKETS = 'system.network.packets' + + # The number of page faults. # # @note Stability Level: development SYSTEM_PAGING_FAULTS = 'system.paging.faults' - # TODO. + # The number of paging operations. # # @note Stability Level: development SYSTEM_PAGING_OPERATIONS = 'system.paging.operations' @@ -214,7 +232,7 @@ module SYSTEM # @note Stability Level: development SYSTEM_PAGING_USAGE = 'system.paging.usage' - # TODO. + # Swap (unix) or pagefile (windows) utilization. # # @note Stability Level: development SYSTEM_PAGING_UTILIZATION = 'system.paging.utilization' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/thread/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/thread/attributes.rb index f858f0d68..7d1d4a960 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/thread/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/thread/attributes.rb @@ -26,11 +26,32 @@ module THREAD # Current "managed" thread ID (as opposed to OS thread ID). # + # Examples of where the value can be extracted from: + # + # | Language or platform | Source | + # | --- | --- | + # | JVM | `Thread.currentThread().threadId()` | + # | .NET | `Thread.CurrentThread.ManagedThreadId` | + # | Python | `threading.current_thread().ident` | + # | Ruby | `Thread.current.object_id` | + # | C++ | `std::this_thread::get_id()` | + # | Erlang | `erlang:self()` | + # # @note Stability Level: development THREAD_ID = 'thread.id' # Current thread name. # + # Examples of where the value can be extracted from: + # + # | Language or platform | Source | + # | --- | --- | + # | JVM | `Thread.currentThread().getName()` | + # | .NET | `Thread.CurrentThread.Name` | + # | Python | `threading.current_thread().name` | + # | Ruby | `Thread.current.name` | + # | Erlang | `erlang:process_info(self(), registered_name)` | + # # @note Stability Level: development THREAD_NAME = 'thread.name' diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/v8js/metrics.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/v8js/metrics.rb index 1c2512fca..a1d0e5007 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/v8js/metrics.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/v8js/metrics.rb @@ -31,18 +31,16 @@ module V8JS # @note Stability Level: development V8JS_GC_DURATION = 'v8js.gc.duration' - # Heap space available size. - # - # Value can be retrieved from value `space_available_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) + # Deprecated, use `v8js.memory.heap.space.available_size` instead. # # @note Stability Level: development + # @deprecated Replaced by `v8js.memory.heap.space.available_size`. V8JS_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.heap.space.available_size' - # Committed size of a heap space. - # - # Value can be retrieved from value `physical_space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) + # Deprecated, use `v8js.memory.heap.space.physical_size` instead. # # @note Stability Level: development + # @deprecated Replaced by `v8js.memory.heap.space.physical_size`. V8JS_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.heap.space.physical_size' # Total heap memory size pre-allocated. @@ -52,6 +50,20 @@ module V8JS # @note Stability Level: development V8JS_MEMORY_HEAP_LIMIT = 'v8js.memory.heap.limit' + # Heap space available size. + # + # Value can be retrieved from value `space_available_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) + # + # @note Stability Level: development + V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE = 'v8js.memory.heap.space.available_size' + + # Committed size of a heap space. + # + # Value can be retrieved from value `physical_space_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) + # + # @note Stability Level: development + V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE = 'v8js.memory.heap.space.physical_size' + # Heap Memory size allocated. # # The value can be retrieved from value `space_used_size` of [`v8.getHeapSpaceStatistics()`](https://nodejs.org/api/v8.html#v8getheapspacestatistics) diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/vcs/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/vcs/attributes.rb index 3df3aefcc..7236eaddc 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/vcs/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/vcs/attributes.rb @@ -168,7 +168,7 @@ module VCS # @deprecated Replaced by `vcs.ref.head.type`. VCS_REPOSITORY_REF_TYPE = 'vcs.repository.ref.type' - # The [canonical URL](https://support.google.com/webmasters/answer/10347851?hl=en#:~:text=A%20canonical%20URL%20is%20the,Google%20chooses%20one%20as%20canonical.) of the repository providing the complete HTTP(S) address in order to locate and identify the repository through a browser. + # The [canonical URL](https://support.google.com/webmasters/answer/10347851) of the repository providing the complete HTTP(S) address in order to locate and identify the repository through a browser. # # In Git Version Control Systems, the canonical URL SHOULD NOT include # the `.git` extension. From 0b99cf867ebc5a1dcb744414af8057a2c9d949c3 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Fri, 15 May 2026 11:02:54 -0700 Subject: [PATCH 3/6] CI From fa67d0ad120c9bbddd0bf3364522a1c73d799fc5 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Fri, 15 May 2026 11:06:23 -0700 Subject: [PATCH 4/6] chore: Fix spelling --- .cspell.yml | 1 + .../lib/opentelemetry/semconv/incubating/aws/attributes.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.cspell.yml b/.cspell.yml index 201cec088..b926ec4eb 100644 --- a/.cspell.yml +++ b/.cspell.yml @@ -71,6 +71,7 @@ ignoreWords: words: - autocorrection - bigdecimal + - cadvisor - configurator - confluentinc - linkspector diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb index 8dfec06a3..39394bd20 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb @@ -201,7 +201,7 @@ module AWS # @note Stability Level: development AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' - # The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. + # The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. # # @note Stability Level: development AWS_LAMBDA_RESOURCE_MAPPING_ID = 'aws.lambda.resource_mapping.id' From 6345513f23e430e2f34cebf795a76376162d455c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 May 2026 18:07:02 +0000 Subject: [PATCH 5/6] chore: regenerate semantic conventions --- .../lib/opentelemetry/semconv/incubating/aws/attributes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb b/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb index 39394bd20..8dfec06a3 100644 --- a/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb +++ b/semantic_conventions/lib/opentelemetry/semconv/incubating/aws/attributes.rb @@ -201,7 +201,7 @@ module AWS # @note Stability Level: development AWS_LAMBDA_INVOKED_ARN = 'aws.lambda.invoked_arn' - # The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. + # The UUID of the [AWS Lambda EvenSource Mapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). An event source is mapped to a lambda function. It's contents are read by Lambda and used to trigger a function. This isn't available in the lambda execution context or the lambda runtime environtment. This is going to be populated by the AWS SDK for each language when that UUID is present. Some of these operations are Create/Delete/Get/List/Update EventSourceMapping. # # @note Stability Level: development AWS_LAMBDA_RESOURCE_MAPPING_ID = 'aws.lambda.resource_mapping.id' From 3dd27b7f118cde862b3295a5b0f93a0dfe834732 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Fri, 15 May 2026 11:11:24 -0700 Subject: [PATCH 6/6] chore: Move misspelling of environment to cspell This is a temporary change, just to allow the first renovate PR for semconv to go through. The misspelling is fixed in newer semconv versions. --- .cspell.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.cspell.yml b/.cspell.yml index b926ec4eb..f451df771 100644 --- a/.cspell.yml +++ b/.cspell.yml @@ -74,6 +74,7 @@ words: - cadvisor - configurator - confluentinc + - environtment # temporary, just to get through first renovate semconv release. - linkspector - loggregator - LOGRECORD