@psnext/slingcli 2.5.20260705-1 → 2.5.20260707-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-websocket/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@earendil-works/pi-ai/dist/providers/amazon-bedrock.models.js +17 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/anthropic.models.js +3 -173
- package/node_modules/@earendil-works/pi-ai/dist/providers/fireworks.models.js +1 -1
- package/node_modules/@earendil-works/pi-ai/dist/providers/huggingface.models.js +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/opencode.models.js +18 -0
- package/node_modules/@earendil-works/pi-ai/dist/providers/openrouter.models.js +96 -6
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.d.ts +254 -597
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js +254 -597
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.d.ts +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.d.ts +174 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js +174 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.d.ts +484 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js +484 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esm/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.d.ts +254 -597
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js +254 -597
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.d.ts +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.d.ts +174 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js +174 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.d.ts +484 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js +484 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/esnext/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.d.ts +254 -597
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js +289 -650
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.d.ts +26 -0
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js +27 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_events.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.d.ts +174 -111
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js +181 -118
- package/node_modules/@opentelemetry/semantic-conventions/build/src/experimental_metrics.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.d.ts +484 -4
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js +506 -7
- package/node_modules/@opentelemetry/semantic-conventions/build/src/stable_attributes.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.d.ts +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/build/src/version.js.map +1 -1
- package/node_modules/@opentelemetry/semantic-conventions/package.json +3 -3
- package/node_modules/@protobufjs/utf8/CHANGELOG.md +8 -0
- package/node_modules/@protobufjs/utf8/index.js +29 -18
- package/node_modules/@protobufjs/utf8/package.json +2 -2
- package/node_modules/@protobufjs/utf8/tests/index.js +5 -0
- package/node_modules/gaxios/build/cjs/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/cjs/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/cjs/test/test.getch.js +66 -0
- package/node_modules/gaxios/build/cjs/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js +1 -1
- package/node_modules/gaxios/build/esm/src/gaxios.js.map +1 -1
- package/node_modules/gaxios/build/esm/test/test.getch.js +66 -0
- package/node_modules/gaxios/build/esm/test/test.getch.js.map +1 -1
- package/node_modules/gaxios/build/esm/tsconfig.tsbuildinfo +1 -1
- package/node_modules/gaxios/package.json +4 -4
- package/package.json +2 -2
- package/sling-default-packages.json +2 -1
- package/slingshot/index.js +2 -2
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
7
|
+
exports.DOTNET_GC_HEAP_GENERATION_VALUE_GEN1 = exports.DOTNET_GC_HEAP_GENERATION_VALUE_GEN0 = exports.ATTR_DOTNET_GC_HEAP_GENERATION = exports.DEPLOYMENT_ENVIRONMENT_NAME_VALUE_TEST = exports.DEPLOYMENT_ENVIRONMENT_NAME_VALUE_STAGING = exports.DEPLOYMENT_ENVIRONMENT_NAME_VALUE_PRODUCTION = exports.DEPLOYMENT_ENVIRONMENT_NAME_VALUE_DEVELOPMENT = exports.ATTR_DEPLOYMENT_ENVIRONMENT_NAME = exports.DB_SYSTEM_NAME_VALUE_POSTGRESQL = exports.DB_SYSTEM_NAME_VALUE_MYSQL = exports.DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER = exports.DB_SYSTEM_NAME_VALUE_MARIADB = exports.ATTR_DB_SYSTEM_NAME = exports.ATTR_DB_STORED_PROCEDURE_NAME = exports.ATTR_DB_RESPONSE_STATUS_CODE = exports.ATTR_DB_QUERY_TEXT = exports.ATTR_DB_QUERY_SUMMARY = exports.ATTR_DB_OPERATION_NAME = exports.ATTR_DB_OPERATION_BATCH_SIZE = exports.ATTR_DB_NAMESPACE = exports.ATTR_DB_COLLECTION_NAME = exports.ATTR_CONTAINER_IMAGE_TAGS = exports.ATTR_CONTAINER_IMAGE_REPO_DIGESTS = exports.ATTR_CONTAINER_IMAGE_NAME = exports.ATTR_CONTAINER_ID = exports.ATTR_CODE_STACKTRACE = exports.ATTR_CODE_LINE_NUMBER = exports.ATTR_CODE_FUNCTION_NAME = exports.ATTR_CODE_FILE_PATH = exports.ATTR_CODE_COLUMN_NUMBER = exports.ATTR_CLIENT_PORT = exports.ATTR_CLIENT_ADDRESS = exports.ATTR_ASPNETCORE_USER_IS_AUTHENTICATED = exports.ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS = exports.ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE = exports.ATTR_ASPNETCORE_ROUTING_MATCH_STATUS = exports.ATTR_ASPNETCORE_ROUTING_IS_FALLBACK = exports.ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED = exports.ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED = exports.ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER = exports.ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER = exports.ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED = exports.ATTR_ASPNETCORE_RATE_LIMITING_RESULT = exports.ATTR_ASPNETCORE_RATE_LIMITING_POLICY = exports.ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE = exports.ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED = exports.ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED = exports.ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED = exports.ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED = exports.ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT = void 0;
|
|
8
|
+
exports.ATTR_K8S_DAEMONSET_LABEL = exports.ATTR_K8S_DAEMONSET_ANNOTATION = exports.ATTR_K8S_CRONJOB_UID = exports.ATTR_K8S_CRONJOB_NAME = exports.ATTR_K8S_CRONJOB_LABEL = exports.ATTR_K8S_CRONJOB_ANNOTATION = exports.ATTR_K8S_CONTAINER_RESTART_COUNT = exports.ATTR_K8S_CONTAINER_NAME = exports.ATTR_K8S_CLUSTER_UID = exports.ATTR_K8S_CLUSTER_NAME = exports.JVM_THREAD_STATE_VALUE_WAITING = exports.JVM_THREAD_STATE_VALUE_TIMED_WAITING = exports.JVM_THREAD_STATE_VALUE_TERMINATED = exports.JVM_THREAD_STATE_VALUE_RUNNABLE = exports.JVM_THREAD_STATE_VALUE_NEW = exports.JVM_THREAD_STATE_VALUE_BLOCKED = exports.ATTR_JVM_THREAD_STATE = exports.ATTR_JVM_THREAD_DAEMON = exports.JVM_MEMORY_TYPE_VALUE_NON_HEAP = exports.JVM_MEMORY_TYPE_VALUE_HEAP = exports.ATTR_JVM_MEMORY_TYPE = exports.ATTR_JVM_MEMORY_POOL_NAME = exports.ATTR_JVM_GC_NAME = exports.ATTR_JVM_GC_ACTION = exports.ATTR_HTTP_ROUTE = exports.ATTR_HTTP_RESPONSE_STATUS_CODE = exports.ATTR_HTTP_RESPONSE_HEADER = exports.ATTR_HTTP_REQUEST_RESEND_COUNT = exports.ATTR_HTTP_REQUEST_METHOD_ORIGINAL = exports.HTTP_REQUEST_METHOD_VALUE_TRACE = exports.HTTP_REQUEST_METHOD_VALUE_PUT = exports.HTTP_REQUEST_METHOD_VALUE_POST = exports.HTTP_REQUEST_METHOD_VALUE_PATCH = exports.HTTP_REQUEST_METHOD_VALUE_OPTIONS = exports.HTTP_REQUEST_METHOD_VALUE_HEAD = exports.HTTP_REQUEST_METHOD_VALUE_GET = exports.HTTP_REQUEST_METHOD_VALUE_DELETE = exports.HTTP_REQUEST_METHOD_VALUE_CONNECT = exports.HTTP_REQUEST_METHOD_VALUE_OTHER = exports.ATTR_HTTP_REQUEST_METHOD = exports.ATTR_HTTP_REQUEST_HEADER = exports.ATTR_EXCEPTION_TYPE = exports.ATTR_EXCEPTION_STACKTRACE = exports.ATTR_EXCEPTION_MESSAGE = exports.ATTR_EXCEPTION_ESCAPED = exports.ERROR_TYPE_VALUE_OTHER = exports.ATTR_ERROR_TYPE = exports.DOTNET_GC_HEAP_GENERATION_VALUE_POH = exports.DOTNET_GC_HEAP_GENERATION_VALUE_LOH = exports.DOTNET_GC_HEAP_GENERATION_VALUE_GEN2 = void 0;
|
|
9
|
+
exports.ATTR_OTEL_SCOPE_VERSION = exports.ATTR_OTEL_SCOPE_NAME = exports.ATTR_OTEL_EVENT_NAME = exports.NETWORK_TYPE_VALUE_IPV6 = exports.NETWORK_TYPE_VALUE_IPV4 = exports.ATTR_NETWORK_TYPE = exports.NETWORK_TRANSPORT_VALUE_UNIX = exports.NETWORK_TRANSPORT_VALUE_UDP = exports.NETWORK_TRANSPORT_VALUE_TCP = exports.NETWORK_TRANSPORT_VALUE_QUIC = exports.NETWORK_TRANSPORT_VALUE_PIPE = exports.ATTR_NETWORK_TRANSPORT = exports.ATTR_NETWORK_PROTOCOL_VERSION = exports.ATTR_NETWORK_PROTOCOL_NAME = exports.ATTR_NETWORK_PEER_PORT = exports.ATTR_NETWORK_PEER_ADDRESS = exports.ATTR_NETWORK_LOCAL_PORT = exports.ATTR_NETWORK_LOCAL_ADDRESS = exports.ATTR_K8S_STATEFULSET_UID = exports.ATTR_K8S_STATEFULSET_NAME = exports.ATTR_K8S_STATEFULSET_LABEL = exports.ATTR_K8S_STATEFULSET_ANNOTATION = exports.ATTR_K8S_REPLICASET_UID = exports.ATTR_K8S_REPLICASET_NAME = exports.ATTR_K8S_REPLICASET_LABEL = exports.ATTR_K8S_REPLICASET_ANNOTATION = exports.ATTR_K8S_POD_UID = exports.ATTR_K8S_POD_START_TIME = exports.ATTR_K8S_POD_NAME = exports.ATTR_K8S_POD_LABEL = exports.ATTR_K8S_POD_IP = exports.ATTR_K8S_POD_HOSTNAME = exports.ATTR_K8S_POD_ANNOTATION = exports.ATTR_K8S_NODE_UID = exports.ATTR_K8S_NODE_NAME = exports.ATTR_K8S_NODE_LABEL = exports.ATTR_K8S_NODE_ANNOTATION = exports.ATTR_K8S_NAMESPACE_NAME = exports.ATTR_K8S_NAMESPACE_LABEL = exports.ATTR_K8S_NAMESPACE_ANNOTATION = exports.ATTR_K8S_JOB_UID = exports.ATTR_K8S_JOB_NAME = exports.ATTR_K8S_JOB_LABEL = exports.ATTR_K8S_JOB_ANNOTATION = exports.ATTR_K8S_DEPLOYMENT_UID = exports.ATTR_K8S_DEPLOYMENT_NAME = exports.ATTR_K8S_DEPLOYMENT_LABEL = exports.ATTR_K8S_DEPLOYMENT_ANNOTATION = exports.ATTR_K8S_DAEMONSET_UID = exports.ATTR_K8S_DAEMONSET_NAME = void 0;
|
|
10
|
+
exports.ATTR_USER_AGENT_ORIGINAL = exports.ATTR_URL_SCHEME = exports.ATTR_URL_QUERY = exports.ATTR_URL_PATH = exports.ATTR_URL_FULL = exports.ATTR_URL_FRAGMENT = exports.ATTR_TELEMETRY_SDK_VERSION = exports.ATTR_TELEMETRY_SDK_NAME = exports.TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS = exports.TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT = exports.TELEMETRY_SDK_LANGUAGE_VALUE_RUST = exports.TELEMETRY_SDK_LANGUAGE_VALUE_RUBY = exports.TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON = exports.TELEMETRY_SDK_LANGUAGE_VALUE_PHP = exports.TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS = exports.TELEMETRY_SDK_LANGUAGE_VALUE_JAVA = exports.TELEMETRY_SDK_LANGUAGE_VALUE_GO = exports.TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG = exports.TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET = exports.TELEMETRY_SDK_LANGUAGE_VALUE_CPP = exports.ATTR_TELEMETRY_SDK_LANGUAGE = exports.ATTR_TELEMETRY_DISTRO_VERSION = exports.ATTR_TELEMETRY_DISTRO_NAME = exports.SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS = exports.SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS = exports.SIGNALR_TRANSPORT_VALUE_LONG_POLLING = exports.ATTR_SIGNALR_TRANSPORT = exports.SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT = exports.SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE = exports.SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN = exports.ATTR_SIGNALR_CONNECTION_STATUS = exports.ATTR_SERVICE_VERSION = exports.ATTR_SERVICE_NAMESPACE = exports.ATTR_SERVICE_NAME = exports.ATTR_SERVICE_INSTANCE_ID = exports.ATTR_SERVER_PORT = exports.ATTR_SERVER_ADDRESS = exports.ATTR_OTEL_STATUS_DESCRIPTION = exports.OTEL_STATUS_CODE_VALUE_OK = exports.OTEL_STATUS_CODE_VALUE_ERROR = exports.ATTR_OTEL_STATUS_CODE = void 0;
|
|
10
11
|
//----------------------------------------------------------------------------------------------------------
|
|
11
12
|
// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/stable/attributes.ts.j2
|
|
12
13
|
//----------------------------------------------------------------------------------------------------------
|
|
@@ -189,6 +190,32 @@ exports.ATTR_CODE_LINE_NUMBER = 'code.line.number';
|
|
|
189
190
|
* @example "at com.example.GenerateTrace.methodB(GenerateTrace.java:13)\\n at com.example.GenerateTrace.methodA(GenerateTrace.java:9)\\n at com.example.GenerateTrace.main(GenerateTrace.java:5)\\n"
|
|
190
191
|
*/
|
|
191
192
|
exports.ATTR_CODE_STACKTRACE = 'code.stacktrace';
|
|
193
|
+
/**
|
|
194
|
+
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/containers/run/#container-identification). The UUID might be abbreviated.
|
|
195
|
+
*
|
|
196
|
+
* @example a3bf90e006b2
|
|
197
|
+
*/
|
|
198
|
+
exports.ATTR_CONTAINER_ID = 'container.id';
|
|
199
|
+
/**
|
|
200
|
+
* Name of the image the container was built on.
|
|
201
|
+
*
|
|
202
|
+
* @example gcr.io/opentelemetry/operator
|
|
203
|
+
*/
|
|
204
|
+
exports.ATTR_CONTAINER_IMAGE_NAME = 'container.image.name';
|
|
205
|
+
/**
|
|
206
|
+
* Repo digests of the container image as provided by the container runtime.
|
|
207
|
+
*
|
|
208
|
+
* @example ["example@sha256:afcc7f1ac1b49db317a7196c902e61c6c3c4607d63599ee1a82d702d249a0ccb", "internal.registry.example.com:5000/example@sha256:b69959407d21e8a062e0416bf13405bb2b71ed7a84dde4158ebafacfa06f5578"]
|
|
209
|
+
*
|
|
210
|
+
* @note [Docker](https://docs.docker.com/reference/api/engine/version/v1.52/#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.
|
|
211
|
+
*/
|
|
212
|
+
exports.ATTR_CONTAINER_IMAGE_REPO_DIGESTS = 'container.image.repo_digests';
|
|
213
|
+
/**
|
|
214
|
+
* Container image tags. An example can be found in [Docker Image Inspect](https://docs.docker.com/reference/api/engine/version/v1.52/#tag/Image/operation/ImageInspect). Should be only the `<tag>` section of the full name for example from `registry.example.com/my-org/my-image:<tag>`.
|
|
215
|
+
*
|
|
216
|
+
* @example ["v1.27.1", "3.5.7-0"]
|
|
217
|
+
*/
|
|
218
|
+
exports.ATTR_CONTAINER_IMAGE_TAGS = 'container.image.tags';
|
|
192
219
|
/**
|
|
193
220
|
* The name of a collection (table, container) within the database.
|
|
194
221
|
*
|
|
@@ -766,6 +793,476 @@ exports.JVM_THREAD_STATE_VALUE_TIMED_WAITING = "timed_waiting";
|
|
|
766
793
|
* A thread that is waiting indefinitely for another thread to perform a particular action is in this state.
|
|
767
794
|
*/
|
|
768
795
|
exports.JVM_THREAD_STATE_VALUE_WAITING = "waiting";
|
|
796
|
+
/**
|
|
797
|
+
* The name of the cluster.
|
|
798
|
+
*
|
|
799
|
+
* @example opentelemetry-cluster
|
|
800
|
+
*/
|
|
801
|
+
exports.ATTR_K8S_CLUSTER_NAME = 'k8s.cluster.name';
|
|
802
|
+
/**
|
|
803
|
+
* A pseudo-ID for the cluster, set to the UID of the `kube-system` namespace.
|
|
804
|
+
*
|
|
805
|
+
* @example 218fc5a9-a5f1-4b54-aa05-46717d0ab26d
|
|
806
|
+
*
|
|
807
|
+
* @note K8s doesn't have support for obtaining a cluster ID. If this is ever
|
|
808
|
+
* added, we will recommend collecting the `k8s.cluster.uid` through the
|
|
809
|
+
* official APIs. In the meantime, we are able to use the `uid` of the
|
|
810
|
+
* `kube-system` namespace as a proxy for cluster ID. Read on for the
|
|
811
|
+
* rationale.
|
|
812
|
+
*
|
|
813
|
+
* Every object created in a K8s cluster is assigned a distinct UID. The
|
|
814
|
+
* `kube-system` namespace is used by Kubernetes itself and will exist
|
|
815
|
+
* for the lifetime of the cluster. Using the `uid` of the `kube-system`
|
|
816
|
+
* namespace is a reasonable proxy for the K8s ClusterID as it will only
|
|
817
|
+
* change if the cluster is rebuilt. Furthermore, Kubernetes UIDs are
|
|
818
|
+
* UUIDs as standardized by
|
|
819
|
+
* [ISO/IEC 9834-8 and ITU-T X.667](https://www.itu.int/ITU-T/studygroups/com17/oid.html).
|
|
820
|
+
* Which states:
|
|
821
|
+
*
|
|
822
|
+
* > If generated according to one of the mechanisms defined in Rec.
|
|
823
|
+
* > ITU-T X.667 | ISO/IEC 9834-8, a UUID is either guaranteed to be
|
|
824
|
+
* > different from all other UUIDs generated before 3603 A.D., or is
|
|
825
|
+
* > extremely likely to be different (depending on the mechanism chosen).
|
|
826
|
+
*
|
|
827
|
+
* Therefore, UIDs between clusters should be extremely unlikely to
|
|
828
|
+
* conflict.
|
|
829
|
+
*/
|
|
830
|
+
exports.ATTR_K8S_CLUSTER_UID = 'k8s.cluster.uid';
|
|
831
|
+
/**
|
|
832
|
+
* The name of the Container from Pod specification, must be unique within a Pod. Container runtime usually uses different globally unique name (`container.name`).
|
|
833
|
+
*
|
|
834
|
+
* @example redis
|
|
835
|
+
*/
|
|
836
|
+
exports.ATTR_K8S_CONTAINER_NAME = 'k8s.container.name';
|
|
837
|
+
/**
|
|
838
|
+
* Number of times the container was restarted. This attribute can be used to identify a particular container (running or stopped) within a container spec.
|
|
839
|
+
*/
|
|
840
|
+
exports.ATTR_K8S_CONTAINER_RESTART_COUNT = 'k8s.container.restart_count';
|
|
841
|
+
/**
|
|
842
|
+
* The cronjob annotation placed on the CronJob, the `<key>` being the annotation name, the value being the annotation value.
|
|
843
|
+
*
|
|
844
|
+
* @example 4
|
|
845
|
+
* @example
|
|
846
|
+
*
|
|
847
|
+
* @note Examples:
|
|
848
|
+
*
|
|
849
|
+
* - An annotation `retries` with value `4` **SHOULD** be recorded as the
|
|
850
|
+
* `k8s.cronjob.annotation.retries` attribute with value `"4"`.
|
|
851
|
+
* - An annotation `data` with empty string value **SHOULD** be recorded as
|
|
852
|
+
* the `k8s.cronjob.annotation.data` attribute with value `""`.
|
|
853
|
+
*/
|
|
854
|
+
const ATTR_K8S_CRONJOB_ANNOTATION = (key) => `k8s.cronjob.annotation.${key}`;
|
|
855
|
+
exports.ATTR_K8S_CRONJOB_ANNOTATION = ATTR_K8S_CRONJOB_ANNOTATION;
|
|
856
|
+
/**
|
|
857
|
+
* The label placed on the CronJob, the `<key>` being the label name, the value being the label value.
|
|
858
|
+
*
|
|
859
|
+
* @example weekly
|
|
860
|
+
* @example
|
|
861
|
+
*
|
|
862
|
+
* @note Examples:
|
|
863
|
+
*
|
|
864
|
+
* - A label `type` with value `weekly` **SHOULD** be recorded as the
|
|
865
|
+
* `k8s.cronjob.label.type` attribute with value `"weekly"`.
|
|
866
|
+
* - A label `automated` with empty string value **SHOULD** be recorded as
|
|
867
|
+
* the `k8s.cronjob.label.automated` attribute with value `""`.
|
|
868
|
+
*/
|
|
869
|
+
const ATTR_K8S_CRONJOB_LABEL = (key) => `k8s.cronjob.label.${key}`;
|
|
870
|
+
exports.ATTR_K8S_CRONJOB_LABEL = ATTR_K8S_CRONJOB_LABEL;
|
|
871
|
+
/**
|
|
872
|
+
* The name of the CronJob.
|
|
873
|
+
*
|
|
874
|
+
* @example opentelemetry
|
|
875
|
+
*/
|
|
876
|
+
exports.ATTR_K8S_CRONJOB_NAME = 'k8s.cronjob.name';
|
|
877
|
+
/**
|
|
878
|
+
* The UID of the CronJob.
|
|
879
|
+
*
|
|
880
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
881
|
+
*/
|
|
882
|
+
exports.ATTR_K8S_CRONJOB_UID = 'k8s.cronjob.uid';
|
|
883
|
+
/**
|
|
884
|
+
* The annotation placed on the DaemonSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
885
|
+
*
|
|
886
|
+
* @example 1
|
|
887
|
+
* @example
|
|
888
|
+
*
|
|
889
|
+
* @note
|
|
890
|
+
* Examples:
|
|
891
|
+
*
|
|
892
|
+
* - A label `replicas` with value `1` **SHOULD** be recorded
|
|
893
|
+
* as the `k8s.daemonset.annotation.replicas` attribute with value `"1"`.
|
|
894
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
895
|
+
* the `k8s.daemonset.annotation.data` attribute with value `""`.
|
|
896
|
+
*/
|
|
897
|
+
const ATTR_K8S_DAEMONSET_ANNOTATION = (key) => `k8s.daemonset.annotation.${key}`;
|
|
898
|
+
exports.ATTR_K8S_DAEMONSET_ANNOTATION = ATTR_K8S_DAEMONSET_ANNOTATION;
|
|
899
|
+
/**
|
|
900
|
+
* The label placed on the DaemonSet, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
901
|
+
*
|
|
902
|
+
* @example guestbook
|
|
903
|
+
* @example
|
|
904
|
+
*
|
|
905
|
+
* @note
|
|
906
|
+
* Examples:
|
|
907
|
+
*
|
|
908
|
+
* - A label `app` with value `guestbook` **SHOULD** be recorded
|
|
909
|
+
* as the `k8s.daemonset.label.app` attribute with value `"guestbook"`.
|
|
910
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
911
|
+
* the `k8s.daemonset.label.injected` attribute with value `""`.
|
|
912
|
+
*/
|
|
913
|
+
const ATTR_K8S_DAEMONSET_LABEL = (key) => `k8s.daemonset.label.${key}`;
|
|
914
|
+
exports.ATTR_K8S_DAEMONSET_LABEL = ATTR_K8S_DAEMONSET_LABEL;
|
|
915
|
+
/**
|
|
916
|
+
* The name of the DaemonSet.
|
|
917
|
+
*
|
|
918
|
+
* @example opentelemetry
|
|
919
|
+
*/
|
|
920
|
+
exports.ATTR_K8S_DAEMONSET_NAME = 'k8s.daemonset.name';
|
|
921
|
+
/**
|
|
922
|
+
* The UID of the DaemonSet.
|
|
923
|
+
*
|
|
924
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
925
|
+
*/
|
|
926
|
+
exports.ATTR_K8S_DAEMONSET_UID = 'k8s.daemonset.uid';
|
|
927
|
+
/**
|
|
928
|
+
* The annotation placed on the Deployment, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
929
|
+
*
|
|
930
|
+
* @example 1
|
|
931
|
+
* @example
|
|
932
|
+
*
|
|
933
|
+
* @note
|
|
934
|
+
* Examples:
|
|
935
|
+
*
|
|
936
|
+
* - A label `replicas` with value `1` **SHOULD** be recorded
|
|
937
|
+
* as the `k8s.deployment.annotation.replicas` attribute with value `"1"`.
|
|
938
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
939
|
+
* the `k8s.deployment.annotation.data` attribute with value `""`.
|
|
940
|
+
*/
|
|
941
|
+
const ATTR_K8S_DEPLOYMENT_ANNOTATION = (key) => `k8s.deployment.annotation.${key}`;
|
|
942
|
+
exports.ATTR_K8S_DEPLOYMENT_ANNOTATION = ATTR_K8S_DEPLOYMENT_ANNOTATION;
|
|
943
|
+
/**
|
|
944
|
+
* The label placed on the Deployment, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
945
|
+
*
|
|
946
|
+
* @example guestbook
|
|
947
|
+
* @example
|
|
948
|
+
*
|
|
949
|
+
* @note
|
|
950
|
+
* Examples:
|
|
951
|
+
*
|
|
952
|
+
* - A label `replicas` with value `0` **SHOULD** be recorded
|
|
953
|
+
* as the `k8s.deployment.label.app` attribute with value `"guestbook"`.
|
|
954
|
+
* - A label `injected` with empty string value **SHOULD** be recorded as
|
|
955
|
+
* the `k8s.deployment.label.injected` attribute with value `""`.
|
|
956
|
+
*/
|
|
957
|
+
const ATTR_K8S_DEPLOYMENT_LABEL = (key) => `k8s.deployment.label.${key}`;
|
|
958
|
+
exports.ATTR_K8S_DEPLOYMENT_LABEL = ATTR_K8S_DEPLOYMENT_LABEL;
|
|
959
|
+
/**
|
|
960
|
+
* The name of the Deployment.
|
|
961
|
+
*
|
|
962
|
+
* @example opentelemetry
|
|
963
|
+
*/
|
|
964
|
+
exports.ATTR_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name';
|
|
965
|
+
/**
|
|
966
|
+
* The UID of the Deployment.
|
|
967
|
+
*
|
|
968
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
969
|
+
*/
|
|
970
|
+
exports.ATTR_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid';
|
|
971
|
+
/**
|
|
972
|
+
* The annotation placed on the Job, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
973
|
+
*
|
|
974
|
+
* @example 1
|
|
975
|
+
* @example
|
|
976
|
+
*
|
|
977
|
+
* @note
|
|
978
|
+
* Examples:
|
|
979
|
+
*
|
|
980
|
+
* - A label `number` with value `1` **SHOULD** be recorded
|
|
981
|
+
* as the `k8s.job.annotation.number` attribute with value `"1"`.
|
|
982
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
983
|
+
* the `k8s.job.annotation.data` attribute with value `""`.
|
|
984
|
+
*/
|
|
985
|
+
const ATTR_K8S_JOB_ANNOTATION = (key) => `k8s.job.annotation.${key}`;
|
|
986
|
+
exports.ATTR_K8S_JOB_ANNOTATION = ATTR_K8S_JOB_ANNOTATION;
|
|
987
|
+
/**
|
|
988
|
+
* The label placed on the Job, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
989
|
+
*
|
|
990
|
+
* @example ci
|
|
991
|
+
* @example
|
|
992
|
+
*
|
|
993
|
+
* @note
|
|
994
|
+
* Examples:
|
|
995
|
+
*
|
|
996
|
+
* - A label `jobtype` with value `ci` **SHOULD** be recorded
|
|
997
|
+
* as the `k8s.job.label.jobtype` attribute with value `"ci"`.
|
|
998
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
999
|
+
* the `k8s.job.label.automated` attribute with value `""`.
|
|
1000
|
+
*/
|
|
1001
|
+
const ATTR_K8S_JOB_LABEL = (key) => `k8s.job.label.${key}`;
|
|
1002
|
+
exports.ATTR_K8S_JOB_LABEL = ATTR_K8S_JOB_LABEL;
|
|
1003
|
+
/**
|
|
1004
|
+
* The name of the Job.
|
|
1005
|
+
*
|
|
1006
|
+
* @example opentelemetry
|
|
1007
|
+
*/
|
|
1008
|
+
exports.ATTR_K8S_JOB_NAME = 'k8s.job.name';
|
|
1009
|
+
/**
|
|
1010
|
+
* The UID of the Job.
|
|
1011
|
+
*
|
|
1012
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
1013
|
+
*/
|
|
1014
|
+
exports.ATTR_K8S_JOB_UID = 'k8s.job.uid';
|
|
1015
|
+
/**
|
|
1016
|
+
* The annotation placed on the Namespace, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
1017
|
+
*
|
|
1018
|
+
* @example 0
|
|
1019
|
+
* @example
|
|
1020
|
+
*
|
|
1021
|
+
* @note
|
|
1022
|
+
* Examples:
|
|
1023
|
+
*
|
|
1024
|
+
* - A label `ttl` with value `0` **SHOULD** be recorded
|
|
1025
|
+
* as the `k8s.namespace.annotation.ttl` attribute with value `"0"`.
|
|
1026
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
1027
|
+
* the `k8s.namespace.annotation.data` attribute with value `""`.
|
|
1028
|
+
*/
|
|
1029
|
+
const ATTR_K8S_NAMESPACE_ANNOTATION = (key) => `k8s.namespace.annotation.${key}`;
|
|
1030
|
+
exports.ATTR_K8S_NAMESPACE_ANNOTATION = ATTR_K8S_NAMESPACE_ANNOTATION;
|
|
1031
|
+
/**
|
|
1032
|
+
* The label placed on the Namespace, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
1033
|
+
*
|
|
1034
|
+
* @example default
|
|
1035
|
+
* @example
|
|
1036
|
+
*
|
|
1037
|
+
* @note
|
|
1038
|
+
* Examples:
|
|
1039
|
+
*
|
|
1040
|
+
* - A label `kubernetes.io/metadata.name` with value `default` **SHOULD** be recorded
|
|
1041
|
+
* as the `k8s.namespace.label.kubernetes.io/metadata.name` attribute with value `"default"`.
|
|
1042
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
1043
|
+
* the `k8s.namespace.label.data` attribute with value `""`.
|
|
1044
|
+
*/
|
|
1045
|
+
const ATTR_K8S_NAMESPACE_LABEL = (key) => `k8s.namespace.label.${key}`;
|
|
1046
|
+
exports.ATTR_K8S_NAMESPACE_LABEL = ATTR_K8S_NAMESPACE_LABEL;
|
|
1047
|
+
/**
|
|
1048
|
+
* The name of the namespace that the pod is running in.
|
|
1049
|
+
*
|
|
1050
|
+
* @example default
|
|
1051
|
+
*/
|
|
1052
|
+
exports.ATTR_K8S_NAMESPACE_NAME = 'k8s.namespace.name';
|
|
1053
|
+
/**
|
|
1054
|
+
* The annotation placed on the Node, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
1055
|
+
*
|
|
1056
|
+
* @example 0
|
|
1057
|
+
* @example
|
|
1058
|
+
*
|
|
1059
|
+
* @note Examples:
|
|
1060
|
+
*
|
|
1061
|
+
* - An annotation `node.alpha.kubernetes.io/ttl` with value `0` **SHOULD** be recorded as
|
|
1062
|
+
* the `k8s.node.annotation.node.alpha.kubernetes.io/ttl` attribute with value `"0"`.
|
|
1063
|
+
* - An annotation `data` with empty string value **SHOULD** be recorded as
|
|
1064
|
+
* the `k8s.node.annotation.data` attribute with value `""`.
|
|
1065
|
+
*/
|
|
1066
|
+
const ATTR_K8S_NODE_ANNOTATION = (key) => `k8s.node.annotation.${key}`;
|
|
1067
|
+
exports.ATTR_K8S_NODE_ANNOTATION = ATTR_K8S_NODE_ANNOTATION;
|
|
1068
|
+
/**
|
|
1069
|
+
* The label placed on the Node, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
1070
|
+
*
|
|
1071
|
+
* @example arm64
|
|
1072
|
+
* @example
|
|
1073
|
+
*
|
|
1074
|
+
* @note Examples:
|
|
1075
|
+
*
|
|
1076
|
+
* - A label `kubernetes.io/arch` with value `arm64` **SHOULD** be recorded
|
|
1077
|
+
* as the `k8s.node.label.kubernetes.io/arch` attribute with value `"arm64"`.
|
|
1078
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
1079
|
+
* the `k8s.node.label.data` attribute with value `""`.
|
|
1080
|
+
*/
|
|
1081
|
+
const ATTR_K8S_NODE_LABEL = (key) => `k8s.node.label.${key}`;
|
|
1082
|
+
exports.ATTR_K8S_NODE_LABEL = ATTR_K8S_NODE_LABEL;
|
|
1083
|
+
/**
|
|
1084
|
+
* The name of the Node.
|
|
1085
|
+
*
|
|
1086
|
+
* @example node-1
|
|
1087
|
+
*/
|
|
1088
|
+
exports.ATTR_K8S_NODE_NAME = 'k8s.node.name';
|
|
1089
|
+
/**
|
|
1090
|
+
* The UID of the Node.
|
|
1091
|
+
*
|
|
1092
|
+
* @example 1eb3a0c6-0477-4080-a9cb-0cb7db65c6a2
|
|
1093
|
+
*/
|
|
1094
|
+
exports.ATTR_K8S_NODE_UID = 'k8s.node.uid';
|
|
1095
|
+
/**
|
|
1096
|
+
* The annotation placed on the Pod, the `<key>` being the annotation name, the value being the annotation value.
|
|
1097
|
+
*
|
|
1098
|
+
* @example true
|
|
1099
|
+
* @example x64
|
|
1100
|
+
* @example
|
|
1101
|
+
*
|
|
1102
|
+
* @note Examples:
|
|
1103
|
+
*
|
|
1104
|
+
* - An annotation `kubernetes.io/enforce-mountable-secrets` with value `true` **SHOULD** be recorded as
|
|
1105
|
+
* the `k8s.pod.annotation.kubernetes.io/enforce-mountable-secrets` attribute with value `"true"`.
|
|
1106
|
+
* - An annotation `mycompany.io/arch` with value `x64` **SHOULD** be recorded as
|
|
1107
|
+
* the `k8s.pod.annotation.mycompany.io/arch` attribute with value `"x64"`.
|
|
1108
|
+
* - An annotation `data` with empty string value **SHOULD** be recorded as
|
|
1109
|
+
* the `k8s.pod.annotation.data` attribute with value `""`.
|
|
1110
|
+
*/
|
|
1111
|
+
const ATTR_K8S_POD_ANNOTATION = (key) => `k8s.pod.annotation.${key}`;
|
|
1112
|
+
exports.ATTR_K8S_POD_ANNOTATION = ATTR_K8S_POD_ANNOTATION;
|
|
1113
|
+
/**
|
|
1114
|
+
* Specifies the hostname of the Pod.
|
|
1115
|
+
*
|
|
1116
|
+
* @example collector-gateway
|
|
1117
|
+
*
|
|
1118
|
+
* @note The K8s Pod spec has an optional hostname field, which can be used to specify a hostname.
|
|
1119
|
+
* Refer to [K8s docs](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-hostname-and-subdomain-field)
|
|
1120
|
+
* for more information about this field.
|
|
1121
|
+
*
|
|
1122
|
+
* This attribute aligns with the `hostname` field of the
|
|
1123
|
+
* [K8s PodSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podspec-v1-core).
|
|
1124
|
+
*/
|
|
1125
|
+
exports.ATTR_K8S_POD_HOSTNAME = 'k8s.pod.hostname';
|
|
1126
|
+
/**
|
|
1127
|
+
* IP address allocated to the Pod.
|
|
1128
|
+
*
|
|
1129
|
+
* @example 172.18.0.2
|
|
1130
|
+
*
|
|
1131
|
+
* @note This attribute aligns with the `podIP` field of the
|
|
1132
|
+
* [K8s PodStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podstatus-v1-core).
|
|
1133
|
+
*/
|
|
1134
|
+
exports.ATTR_K8S_POD_IP = 'k8s.pod.ip';
|
|
1135
|
+
/**
|
|
1136
|
+
* The label placed on the Pod, the `<key>` being the label name, the value being the label value.
|
|
1137
|
+
*
|
|
1138
|
+
* @example my-app
|
|
1139
|
+
* @example x64
|
|
1140
|
+
* @example
|
|
1141
|
+
*
|
|
1142
|
+
* @note Examples:
|
|
1143
|
+
*
|
|
1144
|
+
* - A label `app` with value `my-app` **SHOULD** be recorded as
|
|
1145
|
+
* the `k8s.pod.label.app` attribute with value `"my-app"`.
|
|
1146
|
+
* - A label `mycompany.io/arch` with value `x64` **SHOULD** be recorded as
|
|
1147
|
+
* the `k8s.pod.label.mycompany.io/arch` attribute with value `"x64"`.
|
|
1148
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
1149
|
+
* the `k8s.pod.label.data` attribute with value `""`.
|
|
1150
|
+
*/
|
|
1151
|
+
const ATTR_K8S_POD_LABEL = (key) => `k8s.pod.label.${key}`;
|
|
1152
|
+
exports.ATTR_K8S_POD_LABEL = ATTR_K8S_POD_LABEL;
|
|
1153
|
+
/**
|
|
1154
|
+
* The name of the Pod.
|
|
1155
|
+
*
|
|
1156
|
+
* @example opentelemetry-pod-autoconf
|
|
1157
|
+
*/
|
|
1158
|
+
exports.ATTR_K8S_POD_NAME = 'k8s.pod.name';
|
|
1159
|
+
/**
|
|
1160
|
+
* The start timestamp of the Pod.
|
|
1161
|
+
*
|
|
1162
|
+
* @example 2025-12-04T08:41:03Z
|
|
1163
|
+
*
|
|
1164
|
+
* @note Date and time at which the object was acknowledged by the Kubelet.
|
|
1165
|
+
* This is before the Kubelet pulled the container image(s) for the pod.
|
|
1166
|
+
*
|
|
1167
|
+
* This attribute aligns with the `startTime` field of the
|
|
1168
|
+
* [K8s PodStatus](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podstatus-v1-core),
|
|
1169
|
+
* in ISO 8601 (RFC 3339 compatible) format.
|
|
1170
|
+
*/
|
|
1171
|
+
exports.ATTR_K8S_POD_START_TIME = 'k8s.pod.start_time';
|
|
1172
|
+
/**
|
|
1173
|
+
* The UID of the Pod.
|
|
1174
|
+
*
|
|
1175
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
1176
|
+
*/
|
|
1177
|
+
exports.ATTR_K8S_POD_UID = 'k8s.pod.uid';
|
|
1178
|
+
/**
|
|
1179
|
+
* The annotation placed on the ReplicaSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
1180
|
+
*
|
|
1181
|
+
* @example 0
|
|
1182
|
+
* @example
|
|
1183
|
+
*
|
|
1184
|
+
* @note
|
|
1185
|
+
* Examples:
|
|
1186
|
+
*
|
|
1187
|
+
* - A label `replicas` with value `0` **SHOULD** be recorded
|
|
1188
|
+
* as the `k8s.replicaset.annotation.replicas` attribute with value `"0"`.
|
|
1189
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
1190
|
+
* the `k8s.replicaset.annotation.data` attribute with value `""`.
|
|
1191
|
+
*/
|
|
1192
|
+
const ATTR_K8S_REPLICASET_ANNOTATION = (key) => `k8s.replicaset.annotation.${key}`;
|
|
1193
|
+
exports.ATTR_K8S_REPLICASET_ANNOTATION = ATTR_K8S_REPLICASET_ANNOTATION;
|
|
1194
|
+
/**
|
|
1195
|
+
* The label placed on the ReplicaSet, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
1196
|
+
*
|
|
1197
|
+
* @example guestbook
|
|
1198
|
+
* @example
|
|
1199
|
+
*
|
|
1200
|
+
* @note
|
|
1201
|
+
* Examples:
|
|
1202
|
+
*
|
|
1203
|
+
* - A label `app` with value `guestbook` **SHOULD** be recorded
|
|
1204
|
+
* as the `k8s.replicaset.label.app` attribute with value `"guestbook"`.
|
|
1205
|
+
* - A label `injected` with empty string value **SHOULD** be recorded as
|
|
1206
|
+
* the `k8s.replicaset.label.injected` attribute with value `""`.
|
|
1207
|
+
*/
|
|
1208
|
+
const ATTR_K8S_REPLICASET_LABEL = (key) => `k8s.replicaset.label.${key}`;
|
|
1209
|
+
exports.ATTR_K8S_REPLICASET_LABEL = ATTR_K8S_REPLICASET_LABEL;
|
|
1210
|
+
/**
|
|
1211
|
+
* The name of the ReplicaSet.
|
|
1212
|
+
*
|
|
1213
|
+
* @example opentelemetry
|
|
1214
|
+
*/
|
|
1215
|
+
exports.ATTR_K8S_REPLICASET_NAME = 'k8s.replicaset.name';
|
|
1216
|
+
/**
|
|
1217
|
+
* The UID of the ReplicaSet.
|
|
1218
|
+
*
|
|
1219
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
1220
|
+
*/
|
|
1221
|
+
exports.ATTR_K8S_REPLICASET_UID = 'k8s.replicaset.uid';
|
|
1222
|
+
/**
|
|
1223
|
+
* The annotation placed on the StatefulSet, the `<key>` being the annotation name, the value being the annotation value, even if the value is empty.
|
|
1224
|
+
*
|
|
1225
|
+
* @example 1
|
|
1226
|
+
* @example
|
|
1227
|
+
*
|
|
1228
|
+
* @note
|
|
1229
|
+
* Examples:
|
|
1230
|
+
*
|
|
1231
|
+
* - A label `replicas` with value `1` **SHOULD** be recorded
|
|
1232
|
+
* as the `k8s.statefulset.annotation.replicas` attribute with value `"1"`.
|
|
1233
|
+
* - A label `data` with empty string value **SHOULD** be recorded as
|
|
1234
|
+
* the `k8s.statefulset.annotation.data` attribute with value `""`.
|
|
1235
|
+
*/
|
|
1236
|
+
const ATTR_K8S_STATEFULSET_ANNOTATION = (key) => `k8s.statefulset.annotation.${key}`;
|
|
1237
|
+
exports.ATTR_K8S_STATEFULSET_ANNOTATION = ATTR_K8S_STATEFULSET_ANNOTATION;
|
|
1238
|
+
/**
|
|
1239
|
+
* The label placed on the StatefulSet, the `<key>` being the label name, the value being the label value, even if the value is empty.
|
|
1240
|
+
*
|
|
1241
|
+
* @example guestbook
|
|
1242
|
+
* @example
|
|
1243
|
+
*
|
|
1244
|
+
* @note
|
|
1245
|
+
* Examples:
|
|
1246
|
+
*
|
|
1247
|
+
* - A label `replicas` with value `0` **SHOULD** be recorded
|
|
1248
|
+
* as the `k8s.statefulset.label.app` attribute with value `"guestbook"`.
|
|
1249
|
+
* - A label `injected` with empty string value **SHOULD** be recorded as
|
|
1250
|
+
* the `k8s.statefulset.label.injected` attribute with value `""`.
|
|
1251
|
+
*/
|
|
1252
|
+
const ATTR_K8S_STATEFULSET_LABEL = (key) => `k8s.statefulset.label.${key}`;
|
|
1253
|
+
exports.ATTR_K8S_STATEFULSET_LABEL = ATTR_K8S_STATEFULSET_LABEL;
|
|
1254
|
+
/**
|
|
1255
|
+
* The name of the StatefulSet.
|
|
1256
|
+
*
|
|
1257
|
+
* @example opentelemetry
|
|
1258
|
+
*/
|
|
1259
|
+
exports.ATTR_K8S_STATEFULSET_NAME = 'k8s.statefulset.name';
|
|
1260
|
+
/**
|
|
1261
|
+
* The UID of the StatefulSet.
|
|
1262
|
+
*
|
|
1263
|
+
* @example 275ecb36-5aa8-4c2a-9c47-d8bb681b9aff
|
|
1264
|
+
*/
|
|
1265
|
+
exports.ATTR_K8S_STATEFULSET_UID = 'k8s.statefulset.uid';
|
|
769
1266
|
/**
|
|
770
1267
|
* Local address of the network connection - IP address or Unix domain socket name.
|
|
771
1268
|
*
|
|
@@ -1157,8 +1654,9 @@ exports.ATTR_URL_FRAGMENT = 'url.fragment';
|
|
|
1157
1654
|
* Query string values for the following keys **SHOULD** be redacted by default and replaced by the
|
|
1158
1655
|
* value `REDACTED`:
|
|
1159
1656
|
*
|
|
1160
|
-
* - [`
|
|
1161
|
-
* - [`
|
|
1657
|
+
* - [`X-Amz-Signature`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
|
|
1658
|
+
* - [`X-Amz-Credential`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
|
|
1659
|
+
* - [`X-Amz-Security-Token`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
|
|
1162
1660
|
* - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
|
|
1163
1661
|
* - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
|
|
1164
1662
|
*
|
|
@@ -1196,8 +1694,9 @@ exports.ATTR_URL_PATH = 'url.path';
|
|
|
1196
1694
|
*
|
|
1197
1695
|
* Query string values for the following keys **SHOULD** be redacted by default and replaced by the value `REDACTED`:
|
|
1198
1696
|
*
|
|
1199
|
-
* - [`
|
|
1200
|
-
* - [`
|
|
1697
|
+
* - [`X-Amz-Signature`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
|
|
1698
|
+
* - [`X-Amz-Credential`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
|
|
1699
|
+
* - [`X-Amz-Security-Token`](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_sigv-authentication-methods.html)
|
|
1201
1700
|
* - [`sig`](https://learn.microsoft.com/azure/storage/common/storage-sas-overview#sas-token)
|
|
1202
1701
|
* - [`X-Goog-Signature`](https://cloud.google.com/storage/docs/access-control/signed-urls)
|
|
1203
1702
|
*
|