Socket
Socket
Sign inDemoInstall

@opentelemetry/semantic-conventions

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/semantic-conventions - npm Package Compare versions

Comparing version 1.21.0 to 1.22.0

build/esm/internal/utils.d.ts

983

build/esm/resource/SemanticResourceAttributes.d.ts

@@ -1,14 +0,398 @@

export declare const SemanticResourceAttributes: {
/**
* Name of the cloud provider.
*/
export declare const SEMRESATTRS_CLOUD_PROVIDER = "cloud.provider";
/**
* The cloud account ID the resource is assigned to.
*/
export declare const SEMRESATTRS_CLOUD_ACCOUNT_ID = "cloud.account.id";
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
export declare const SEMRESATTRS_CLOUD_REGION = "cloud.region";
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
export declare const SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = "cloud.availability_zone";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const SEMRESATTRS_CLOUD_PLATFORM = "cloud.platform";
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
export declare const SEMRESATTRS_AWS_ECS_CONTAINER_ARN = "aws.ecs.container.arn";
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
export declare const SEMRESATTRS_AWS_ECS_CLUSTER_ARN = "aws.ecs.cluster.arn";
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const SEMRESATTRS_AWS_ECS_LAUNCHTYPE = "aws.ecs.launchtype";
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_ARN = "aws.ecs.task.arn";
/**
* The task definition family this task definition is a member of.
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_FAMILY = "aws.ecs.task.family";
/**
* The revision for this task definition.
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_REVISION = "aws.ecs.task.revision";
/**
* The ARN of an EKS cluster.
*/
export declare const SEMRESATTRS_AWS_EKS_CLUSTER_ARN = "aws.eks.cluster.arn";
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
export declare const SEMRESATTRS_AWS_LOG_GROUP_NAMES = "aws.log.group.names";
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
export declare const SEMRESATTRS_AWS_LOG_GROUP_ARNS = "aws.log.group.arns";
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
export declare const SEMRESATTRS_AWS_LOG_STREAM_NAMES = "aws.log.stream.names";
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
export declare const SEMRESATTRS_AWS_LOG_STREAM_ARNS = "aws.log.stream.arns";
/**
* Container name.
*/
export declare const SEMRESATTRS_CONTAINER_NAME = "container.name";
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
export declare const SEMRESATTRS_CONTAINER_ID = "container.id";
/**
* The container runtime managing this container.
*/
export declare const SEMRESATTRS_CONTAINER_RUNTIME = "container.runtime";
/**
* Name of the image the container was built on.
*/
export declare const SEMRESATTRS_CONTAINER_IMAGE_NAME = "container.image.name";
/**
* Container image tag.
*/
export declare const SEMRESATTRS_CONTAINER_IMAGE_TAG = "container.image.tag";
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
export declare const SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = "deployment.environment";
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
export declare const SEMRESATTRS_DEVICE_ID = "device.id";
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
export declare const SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = "device.model.identifier";
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
export declare const SEMRESATTRS_DEVICE_MODEL_NAME = "device.model.name";
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
export declare const SEMRESATTRS_FAAS_NAME = "faas.name";
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
export declare const SEMRESATTRS_FAAS_ID = "faas.id";
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
export declare const SEMRESATTRS_FAAS_VERSION = "faas.version";
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
export declare const SEMRESATTRS_FAAS_INSTANCE = "faas.instance";
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
export declare const SEMRESATTRS_FAAS_MAX_MEMORY = "faas.max_memory";
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
export declare const SEMRESATTRS_HOST_ID = "host.id";
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
export declare const SEMRESATTRS_HOST_NAME = "host.name";
/**
* Type of host. For Cloud, this must be the machine type.
*/
export declare const SEMRESATTRS_HOST_TYPE = "host.type";
/**
* The CPU architecture the host system is running on.
*/
export declare const SEMRESATTRS_HOST_ARCH = "host.arch";
/**
* Name of the VM image or OS install the host was instantiated from.
*/
export declare const SEMRESATTRS_HOST_IMAGE_NAME = "host.image.name";
/**
* VM image ID. For Cloud, this value is from the provider.
*/
export declare const SEMRESATTRS_HOST_IMAGE_ID = "host.image.id";
/**
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
export declare const SEMRESATTRS_HOST_IMAGE_VERSION = "host.image.version";
/**
* The name of the cluster.
*/
export declare const SEMRESATTRS_K8S_CLUSTER_NAME = "k8s.cluster.name";
/**
* The name of the Node.
*/
export declare const SEMRESATTRS_K8S_NODE_NAME = "k8s.node.name";
/**
* The UID of the Node.
*/
export declare const SEMRESATTRS_K8S_NODE_UID = "k8s.node.uid";
/**
* The name of the namespace that the pod is running in.
*/
export declare const SEMRESATTRS_K8S_NAMESPACE_NAME = "k8s.namespace.name";
/**
* The UID of the Pod.
*/
export declare const SEMRESATTRS_K8S_POD_UID = "k8s.pod.uid";
/**
* The name of the Pod.
*/
export declare const SEMRESATTRS_K8S_POD_NAME = "k8s.pod.name";
/**
* The name of the Container in a Pod template.
*/
export declare const SEMRESATTRS_K8S_CONTAINER_NAME = "k8s.container.name";
/**
* The UID of the ReplicaSet.
*/
export declare const SEMRESATTRS_K8S_REPLICASET_UID = "k8s.replicaset.uid";
/**
* The name of the ReplicaSet.
*/
export declare const SEMRESATTRS_K8S_REPLICASET_NAME = "k8s.replicaset.name";
/**
* The UID of the Deployment.
*/
export declare const SEMRESATTRS_K8S_DEPLOYMENT_UID = "k8s.deployment.uid";
/**
* The name of the Deployment.
*/
export declare const SEMRESATTRS_K8S_DEPLOYMENT_NAME = "k8s.deployment.name";
/**
* The UID of the StatefulSet.
*/
export declare const SEMRESATTRS_K8S_STATEFULSET_UID = "k8s.statefulset.uid";
/**
* The name of the StatefulSet.
*/
export declare const SEMRESATTRS_K8S_STATEFULSET_NAME = "k8s.statefulset.name";
/**
* The UID of the DaemonSet.
*/
export declare const SEMRESATTRS_K8S_DAEMONSET_UID = "k8s.daemonset.uid";
/**
* The name of the DaemonSet.
*/
export declare const SEMRESATTRS_K8S_DAEMONSET_NAME = "k8s.daemonset.name";
/**
* The UID of the Job.
*/
export declare const SEMRESATTRS_K8S_JOB_UID = "k8s.job.uid";
/**
* The name of the Job.
*/
export declare const SEMRESATTRS_K8S_JOB_NAME = "k8s.job.name";
/**
* The UID of the CronJob.
*/
export declare const SEMRESATTRS_K8S_CRONJOB_UID = "k8s.cronjob.uid";
/**
* The name of the CronJob.
*/
export declare const SEMRESATTRS_K8S_CRONJOB_NAME = "k8s.cronjob.name";
/**
* The operating system type.
*/
export declare const SEMRESATTRS_OS_TYPE = "os.type";
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
export declare const SEMRESATTRS_OS_DESCRIPTION = "os.description";
/**
* Human readable operating system name.
*/
export declare const SEMRESATTRS_OS_NAME = "os.name";
/**
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
export declare const SEMRESATTRS_OS_VERSION = "os.version";
/**
* Process identifier (PID).
*/
export declare const SEMRESATTRS_PROCESS_PID = "process.pid";
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
export declare const SEMRESATTRS_PROCESS_EXECUTABLE_NAME = "process.executable.name";
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
export declare const SEMRESATTRS_PROCESS_EXECUTABLE_PATH = "process.executable.path";
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND = "process.command";
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND_LINE = "process.command_line";
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND_ARGS = "process.command_args";
/**
* The username of the user that owns the process.
*/
export declare const SEMRESATTRS_PROCESS_OWNER = "process.owner";
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_NAME = "process.runtime.name";
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_VERSION = "process.runtime.version";
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = "process.runtime.description";
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
export declare const SEMRESATTRS_SERVICE_NAME = "service.name";
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
export declare const SEMRESATTRS_SERVICE_NAMESPACE = "service.namespace";
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
export declare const SEMRESATTRS_SERVICE_INSTANCE_ID = "service.instance.id";
/**
* The version string of the service API or implementation.
*/
export declare const SEMRESATTRS_SERVICE_VERSION = "service.version";
/**
* The name of the telemetry SDK as defined above.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_NAME = "telemetry.sdk.name";
/**
* The language of the telemetry SDK.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = "telemetry.sdk.language";
/**
* The version string of the telemetry SDK.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_VERSION = "telemetry.sdk.version";
/**
* The version string of the auto instrumentation agent, if used.
*/
export declare const SEMRESATTRS_TELEMETRY_AUTO_VERSION = "telemetry.auto.version";
/**
* The name of the web engine.
*/
export declare const SEMRESATTRS_WEBENGINE_NAME = "webengine.name";
/**
* The version of the web engine.
*/
export declare const SEMRESATTRS_WEBENGINE_VERSION = "webengine.version";
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
export declare const SEMRESATTRS_WEBENGINE_DESCRIPTION = "webengine.description";
/**
* Definition of available values for SemanticResourceAttributes
* This type is used for backward compatibility, you should use the individual exported
* constants SemanticResourceAttributes_XXXXX rather than the exported constant map. As any single reference
* to a constant map value will result in all strings being included into your bundle.
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification.
*/
export declare type SemanticResourceAttributes = {
/**
* Name of the cloud provider.
*/
CLOUD_PROVIDER: string;
CLOUD_PROVIDER: 'cloud.provider';
/**
* The cloud account ID the resource is assigned to.
*/
CLOUD_ACCOUNT_ID: string;
CLOUD_ACCOUNT_ID: 'cloud.account.id';
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
CLOUD_REGION: string;
CLOUD_REGION: 'cloud.region';
/**

@@ -19,3 +403,3 @@ * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.

*/
CLOUD_AVAILABILITY_ZONE: string;
CLOUD_AVAILABILITY_ZONE: 'cloud.availability_zone';
/**

@@ -26,31 +410,31 @@ * The cloud platform in use.

*/
CLOUD_PLATFORM: string;
CLOUD_PLATFORM: 'cloud.platform';
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
AWS_ECS_CONTAINER_ARN: string;
AWS_ECS_CONTAINER_ARN: 'aws.ecs.container.arn';
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
AWS_ECS_CLUSTER_ARN: string;
AWS_ECS_CLUSTER_ARN: 'aws.ecs.cluster.arn';
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
AWS_ECS_LAUNCHTYPE: string;
AWS_ECS_LAUNCHTYPE: 'aws.ecs.launchtype';
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
AWS_ECS_TASK_ARN: string;
AWS_ECS_TASK_ARN: 'aws.ecs.task.arn';
/**
* The task definition family this task definition is a member of.
*/
AWS_ECS_TASK_FAMILY: string;
AWS_ECS_TASK_FAMILY: 'aws.ecs.task.family';
/**
* The revision for this task definition.
*/
AWS_ECS_TASK_REVISION: string;
AWS_ECS_TASK_REVISION: 'aws.ecs.task.revision';
/**
* The ARN of an EKS cluster.
*/
AWS_EKS_CLUSTER_ARN: string;
AWS_EKS_CLUSTER_ARN: 'aws.eks.cluster.arn';
/**

@@ -61,3 +445,3 @@ * The name(s) of the AWS log group(s) an application is writing to.

*/
AWS_LOG_GROUP_NAMES: string;
AWS_LOG_GROUP_NAMES: 'aws.log.group.names';
/**

@@ -68,7 +452,7 @@ * The Amazon Resource Name(s) (ARN) of the AWS log group(s).

*/
AWS_LOG_GROUP_ARNS: string;
AWS_LOG_GROUP_ARNS: 'aws.log.group.arns';
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
AWS_LOG_STREAM_NAMES: string;
AWS_LOG_STREAM_NAMES: 'aws.log.stream.names';
/**

@@ -79,27 +463,27 @@ * The ARN(s) of the AWS log stream(s).

*/
AWS_LOG_STREAM_ARNS: string;
AWS_LOG_STREAM_ARNS: 'aws.log.stream.arns';
/**
* Container name.
*/
CONTAINER_NAME: string;
CONTAINER_NAME: 'container.name';
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
CONTAINER_ID: string;
CONTAINER_ID: 'container.id';
/**
* The container runtime managing this container.
*/
CONTAINER_RUNTIME: string;
CONTAINER_RUNTIME: 'container.runtime';
/**
* Name of the image the container was built on.
*/
CONTAINER_IMAGE_NAME: string;
CONTAINER_IMAGE_NAME: 'container.image.name';
/**
* Container image tag.
*/
CONTAINER_IMAGE_TAG: string;
CONTAINER_IMAGE_TAG: 'container.image.tag';
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
DEPLOYMENT_ENVIRONMENT: string;
DEPLOYMENT_ENVIRONMENT: 'deployment.environment';
/**

@@ -110,3 +494,3 @@ * A unique identifier representing the device.

*/
DEVICE_ID: string;
DEVICE_ID: 'device.id';
/**

@@ -117,3 +501,3 @@ * The model identifier for the device.

*/
DEVICE_MODEL_IDENTIFIER: string;
DEVICE_MODEL_IDENTIFIER: 'device.model.identifier';
/**

@@ -124,3 +508,3 @@ * The marketing name for the device model.

*/
DEVICE_MODEL_NAME: string;
DEVICE_MODEL_NAME: 'device.model.name';
/**

@@ -131,3 +515,3 @@ * The name of the single function that this runtime instance executes.

*/
FAAS_NAME: string;
FAAS_NAME: 'faas.name';
/**

@@ -151,3 +535,3 @@ * The unique ID of the single function that this runtime instance executes.

*/
FAAS_ID: string;
FAAS_ID: 'faas.id';
/**

@@ -166,3 +550,3 @@ * The immutable version of the function being executed.

*/
FAAS_VERSION: string;
FAAS_VERSION: 'faas.version';
/**

@@ -173,3 +557,3 @@ * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.

*/
FAAS_INSTANCE: string;
FAAS_INSTANCE: 'faas.instance';
/**

@@ -180,163 +564,163 @@ * The amount of memory available to the serverless function in MiB.

*/
FAAS_MAX_MEMORY: string;
FAAS_MAX_MEMORY: 'faas.max_memory';
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
HOST_ID: string;
HOST_ID: 'host.id';
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
HOST_NAME: string;
HOST_NAME: 'host.name';
/**
* Type of host. For Cloud, this must be the machine type.
*/
HOST_TYPE: string;
HOST_TYPE: 'host.type';
/**
* The CPU architecture the host system is running on.
*/
HOST_ARCH: string;
HOST_ARCH: 'host.arch';
/**
* Name of the VM image or OS install the host was instantiated from.
*/
HOST_IMAGE_NAME: string;
HOST_IMAGE_NAME: 'host.image.name';
/**
* VM image ID. For Cloud, this value is from the provider.
*/
HOST_IMAGE_ID: string;
HOST_IMAGE_ID: 'host.image.id';
/**
* The version string of the VM image as defined in [Version SpanAttributes](README.md#version-attributes).
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
HOST_IMAGE_VERSION: string;
HOST_IMAGE_VERSION: 'host.image.version';
/**
* The name of the cluster.
*/
K8S_CLUSTER_NAME: string;
K8S_CLUSTER_NAME: 'k8s.cluster.name';
/**
* The name of the Node.
*/
K8S_NODE_NAME: string;
K8S_NODE_NAME: 'k8s.node.name';
/**
* The UID of the Node.
*/
K8S_NODE_UID: string;
K8S_NODE_UID: 'k8s.node.uid';
/**
* The name of the namespace that the pod is running in.
*/
K8S_NAMESPACE_NAME: string;
K8S_NAMESPACE_NAME: 'k8s.namespace.name';
/**
* The UID of the Pod.
*/
K8S_POD_UID: string;
K8S_POD_UID: 'k8s.pod.uid';
/**
* The name of the Pod.
*/
K8S_POD_NAME: string;
K8S_POD_NAME: 'k8s.pod.name';
/**
* The name of the Container in a Pod template.
*/
K8S_CONTAINER_NAME: string;
K8S_CONTAINER_NAME: 'k8s.container.name';
/**
* The UID of the ReplicaSet.
*/
K8S_REPLICASET_UID: string;
K8S_REPLICASET_UID: 'k8s.replicaset.uid';
/**
* The name of the ReplicaSet.
*/
K8S_REPLICASET_NAME: string;
K8S_REPLICASET_NAME: 'k8s.replicaset.name';
/**
* The UID of the Deployment.
*/
K8S_DEPLOYMENT_UID: string;
K8S_DEPLOYMENT_UID: 'k8s.deployment.uid';
/**
* The name of the Deployment.
*/
K8S_DEPLOYMENT_NAME: string;
K8S_DEPLOYMENT_NAME: 'k8s.deployment.name';
/**
* The UID of the StatefulSet.
*/
K8S_STATEFULSET_UID: string;
K8S_STATEFULSET_UID: 'k8s.statefulset.uid';
/**
* The name of the StatefulSet.
*/
K8S_STATEFULSET_NAME: string;
K8S_STATEFULSET_NAME: 'k8s.statefulset.name';
/**
* The UID of the DaemonSet.
*/
K8S_DAEMONSET_UID: string;
K8S_DAEMONSET_UID: 'k8s.daemonset.uid';
/**
* The name of the DaemonSet.
*/
K8S_DAEMONSET_NAME: string;
K8S_DAEMONSET_NAME: 'k8s.daemonset.name';
/**
* The UID of the Job.
*/
K8S_JOB_UID: string;
K8S_JOB_UID: 'k8s.job.uid';
/**
* The name of the Job.
*/
K8S_JOB_NAME: string;
K8S_JOB_NAME: 'k8s.job.name';
/**
* The UID of the CronJob.
*/
K8S_CRONJOB_UID: string;
K8S_CRONJOB_UID: 'k8s.cronjob.uid';
/**
* The name of the CronJob.
*/
K8S_CRONJOB_NAME: string;
K8S_CRONJOB_NAME: 'k8s.cronjob.name';
/**
* The operating system type.
*/
OS_TYPE: string;
OS_TYPE: 'os.type';
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
OS_DESCRIPTION: string;
OS_DESCRIPTION: 'os.description';
/**
* Human readable operating system name.
*/
OS_NAME: string;
OS_NAME: 'os.name';
/**
* The version string of the operating system as defined in [Version SpanAttributes](../../resource/semantic_conventions/README.md#version-attributes).
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
OS_VERSION: string;
OS_VERSION: 'os.version';
/**
* Process identifier (PID).
*/
PROCESS_PID: string;
PROCESS_PID: 'process.pid';
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_NAME: string;
PROCESS_EXECUTABLE_NAME: 'process.executable.name';
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_PATH: string;
PROCESS_EXECUTABLE_PATH: 'process.executable.path';
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
PROCESS_COMMAND: string;
PROCESS_COMMAND: 'process.command';
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
PROCESS_COMMAND_LINE: string;
PROCESS_COMMAND_LINE: 'process.command_line';
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
PROCESS_COMMAND_ARGS: string;
PROCESS_COMMAND_ARGS: 'process.command_args';
/**
* The username of the user that owns the process.
*/
PROCESS_OWNER: string;
PROCESS_OWNER: 'process.owner';
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
PROCESS_RUNTIME_NAME: string;
PROCESS_RUNTIME_NAME: 'process.runtime.name';
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
PROCESS_RUNTIME_VERSION: string;
PROCESS_RUNTIME_VERSION: 'process.runtime.version';
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
PROCESS_RUNTIME_DESCRIPTION: string;
PROCESS_RUNTIME_DESCRIPTION: 'process.runtime.description';
/**

@@ -347,3 +731,3 @@ * Logical name of the service.

*/
SERVICE_NAME: string;
SERVICE_NAME: 'service.name';
/**

@@ -354,3 +738,3 @@ * A namespace for `service.name`.

*/
SERVICE_NAMESPACE: string;
SERVICE_NAMESPACE: 'service.namespace';
/**

@@ -361,156 +745,461 @@ * The string ID of the service instance.

*/
SERVICE_INSTANCE_ID: string;
SERVICE_INSTANCE_ID: 'service.instance.id';
/**
* The version string of the service API or implementation.
*/
SERVICE_VERSION: string;
SERVICE_VERSION: 'service.version';
/**
* The name of the telemetry SDK as defined above.
*/
TELEMETRY_SDK_NAME: string;
TELEMETRY_SDK_NAME: 'telemetry.sdk.name';
/**
* The language of the telemetry SDK.
*/
TELEMETRY_SDK_LANGUAGE: string;
TELEMETRY_SDK_LANGUAGE: 'telemetry.sdk.language';
/**
* The version string of the telemetry SDK.
*/
TELEMETRY_SDK_VERSION: string;
TELEMETRY_SDK_VERSION: 'telemetry.sdk.version';
/**
* The version string of the auto instrumentation agent, if used.
*/
TELEMETRY_AUTO_VERSION: string;
TELEMETRY_AUTO_VERSION: 'telemetry.auto.version';
/**
* The name of the web engine.
*/
WEBENGINE_NAME: string;
WEBENGINE_NAME: 'webengine.name';
/**
* The version of the web engine.
*/
WEBENGINE_VERSION: string;
WEBENGINE_VERSION: 'webengine.version';
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
WEBENGINE_DESCRIPTION: string;
WEBENGINE_DESCRIPTION: 'webengine.description';
};
export declare const CloudProviderValues: {
/**
* Create exported Value Map for SemanticResourceAttributes values
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification
*/
export declare const SemanticResourceAttributes: SemanticResourceAttributes;
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = "alibaba_cloud";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_AWS = "aws";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_AZURE = "azure";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_GCP = "gcp";
/**
* Identifies the Values for CloudProviderValues enum definition
*
* Name of the cloud provider.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export declare type CloudProviderValues = {
/** Alibaba Cloud. */
readonly ALIBABA_CLOUD: "alibaba_cloud";
ALIBABA_CLOUD: 'alibaba_cloud';
/** Amazon Web Services. */
readonly AWS: "aws";
AWS: 'aws';
/** Microsoft Azure. */
readonly AZURE: "azure";
AZURE: 'azure';
/** Google Cloud Platform. */
readonly GCP: "gcp";
GCP: 'gcp';
};
export declare type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues];
export declare const CloudPlatformValues: {
/**
* The constant map of values for CloudProviderValues.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export declare const CloudProviderValues: CloudProviderValues;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = "alibaba_cloud_fc";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_EC2 = "aws_ec2";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_ECS = "aws_ecs";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_EKS = "aws_eks";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_LAMBDA = "aws_lambda";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_VM = "azure_vm";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = "azure_container_instances";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_AKS = "azure_aks";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = "azure_functions";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = "azure_app_service";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = "gcp_compute_engine";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = "gcp_cloud_run";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_APP_ENGINE = "gcp_app_engine";
/**
* Identifies the Values for CloudPlatformValues enum definition
*
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export declare type CloudPlatformValues = {
/** Alibaba Cloud Elastic Compute Service. */
readonly ALIBABA_CLOUD_ECS: "alibaba_cloud_ecs";
ALIBABA_CLOUD_ECS: 'alibaba_cloud_ecs';
/** Alibaba Cloud Function Compute. */
readonly ALIBABA_CLOUD_FC: "alibaba_cloud_fc";
ALIBABA_CLOUD_FC: 'alibaba_cloud_fc';
/** AWS Elastic Compute Cloud. */
readonly AWS_EC2: "aws_ec2";
AWS_EC2: 'aws_ec2';
/** AWS Elastic Container Service. */
readonly AWS_ECS: "aws_ecs";
AWS_ECS: 'aws_ecs';
/** AWS Elastic Kubernetes Service. */
readonly AWS_EKS: "aws_eks";
AWS_EKS: 'aws_eks';
/** AWS Lambda. */
readonly AWS_LAMBDA: "aws_lambda";
AWS_LAMBDA: 'aws_lambda';
/** AWS Elastic Beanstalk. */
readonly AWS_ELASTIC_BEANSTALK: "aws_elastic_beanstalk";
AWS_ELASTIC_BEANSTALK: 'aws_elastic_beanstalk';
/** Azure Virtual Machines. */
readonly AZURE_VM: "azure_vm";
AZURE_VM: 'azure_vm';
/** Azure Container Instances. */
readonly AZURE_CONTAINER_INSTANCES: "azure_container_instances";
AZURE_CONTAINER_INSTANCES: 'azure_container_instances';
/** Azure Kubernetes Service. */
readonly AZURE_AKS: "azure_aks";
AZURE_AKS: 'azure_aks';
/** Azure Functions. */
readonly AZURE_FUNCTIONS: "azure_functions";
AZURE_FUNCTIONS: 'azure_functions';
/** Azure App Service. */
readonly AZURE_APP_SERVICE: "azure_app_service";
AZURE_APP_SERVICE: 'azure_app_service';
/** Google Cloud Compute Engine (GCE). */
readonly GCP_COMPUTE_ENGINE: "gcp_compute_engine";
GCP_COMPUTE_ENGINE: 'gcp_compute_engine';
/** Google Cloud Run. */
readonly GCP_CLOUD_RUN: "gcp_cloud_run";
GCP_CLOUD_RUN: 'gcp_cloud_run';
/** Google Cloud Kubernetes Engine (GKE). */
readonly GCP_KUBERNETES_ENGINE: "gcp_kubernetes_engine";
GCP_KUBERNETES_ENGINE: 'gcp_kubernetes_engine';
/** Google Cloud Functions (GCF). */
readonly GCP_CLOUD_FUNCTIONS: "gcp_cloud_functions";
GCP_CLOUD_FUNCTIONS: 'gcp_cloud_functions';
/** Google Cloud App Engine (GAE). */
readonly GCP_APP_ENGINE: "gcp_app_engine";
GCP_APP_ENGINE: 'gcp_app_engine';
};
export declare type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues];
export declare const AwsEcsLaunchtypeValues: {
/**
* The constant map of values for CloudPlatformValues.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export declare const CloudPlatformValues: CloudPlatformValues;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const AWSECSLAUNCHTYPEVALUES_EC2 = "ec2";
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const AWSECSLAUNCHTYPEVALUES_FARGATE = "fargate";
/**
* Identifies the Values for AwsEcsLaunchtypeValues enum definition
*
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export declare type AwsEcsLaunchtypeValues = {
/** ec2. */
readonly EC2: "ec2";
EC2: 'ec2';
/** fargate. */
readonly FARGATE: "fargate";
FARGATE: 'fargate';
};
export declare type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues];
export declare const HostArchValues: {
/**
* The constant map of values for AwsEcsLaunchtypeValues.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export declare const AwsEcsLaunchtypeValues: AwsEcsLaunchtypeValues;
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_AMD64 = "amd64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_ARM32 = "arm32";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_ARM64 = "arm64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_IA64 = "ia64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_PPC32 = "ppc32";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_PPC64 = "ppc64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_X86 = "x86";
/**
* Identifies the Values for HostArchValues enum definition
*
* The CPU architecture the host system is running on.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export declare type HostArchValues = {
/** AMD64. */
readonly AMD64: "amd64";
AMD64: 'amd64';
/** ARM32. */
readonly ARM32: "arm32";
ARM32: 'arm32';
/** ARM64. */
readonly ARM64: "arm64";
ARM64: 'arm64';
/** Itanium. */
readonly IA64: "ia64";
IA64: 'ia64';
/** 32-bit PowerPC. */
readonly PPC32: "ppc32";
PPC32: 'ppc32';
/** 64-bit PowerPC. */
readonly PPC64: "ppc64";
PPC64: 'ppc64';
/** 32-bit x86. */
readonly X86: "x86";
X86: 'x86';
};
export declare type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues];
export declare const OsTypeValues: {
/**
* The constant map of values for HostArchValues.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export declare const HostArchValues: HostArchValues;
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_WINDOWS = "windows";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_LINUX = "linux";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_DARWIN = "darwin";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_FREEBSD = "freebsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_NETBSD = "netbsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_OPENBSD = "openbsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_DRAGONFLYBSD = "dragonflybsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_HPUX = "hpux";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_AIX = "aix";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_SOLARIS = "solaris";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_Z_OS = "z_os";
/**
* Identifies the Values for OsTypeValues enum definition
*
* The operating system type.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export declare type OsTypeValues = {
/** Microsoft Windows. */
readonly WINDOWS: "windows";
WINDOWS: 'windows';
/** Linux. */
readonly LINUX: "linux";
LINUX: 'linux';
/** Apple Darwin. */
readonly DARWIN: "darwin";
DARWIN: 'darwin';
/** FreeBSD. */
readonly FREEBSD: "freebsd";
FREEBSD: 'freebsd';
/** NetBSD. */
readonly NETBSD: "netbsd";
NETBSD: 'netbsd';
/** OpenBSD. */
readonly OPENBSD: "openbsd";
OPENBSD: 'openbsd';
/** DragonFly BSD. */
readonly DRAGONFLYBSD: "dragonflybsd";
DRAGONFLYBSD: 'dragonflybsd';
/** HP-UX (Hewlett Packard Unix). */
readonly HPUX: "hpux";
HPUX: 'hpux';
/** AIX (Advanced Interactive eXecutive). */
readonly AIX: "aix";
AIX: 'aix';
/** Oracle Solaris. */
readonly SOLARIS: "solaris";
SOLARIS: 'solaris';
/** IBM z/OS. */
readonly Z_OS: "z_os";
Z_OS: 'z_os';
};
export declare type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues];
export declare const TelemetrySdkLanguageValues: {
/**
* The constant map of values for OsTypeValues.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export declare const OsTypeValues: OsTypeValues;
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_CPP = "cpp";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_DOTNET = "dotnet";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_ERLANG = "erlang";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_GO = "go";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_JAVA = "java";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_NODEJS = "nodejs";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_PHP = "php";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_PYTHON = "python";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_RUBY = "ruby";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_WEBJS = "webjs";
/**
* Identifies the Values for TelemetrySdkLanguageValues enum definition
*
* The language of the telemetry SDK.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export declare type TelemetrySdkLanguageValues = {
/** cpp. */
readonly CPP: "cpp";
CPP: 'cpp';
/** dotnet. */
readonly DOTNET: "dotnet";
DOTNET: 'dotnet';
/** erlang. */
readonly ERLANG: "erlang";
ERLANG: 'erlang';
/** go. */
readonly GO: "go";
GO: 'go';
/** java. */
readonly JAVA: "java";
JAVA: 'java';
/** nodejs. */
readonly NODEJS: "nodejs";
NODEJS: 'nodejs';
/** php. */
readonly PHP: "php";
PHP: 'php';
/** python. */
readonly PYTHON: "python";
PYTHON: 'python';
/** ruby. */
readonly RUBY: "ruby";
RUBY: 'ruby';
/** webjs. */
readonly WEBJS: "webjs";
WEBJS: 'webjs';
};
export declare type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues];
/**
* The constant map of values for TelemetrySdkLanguageValues.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export declare const TelemetrySdkLanguageValues: TelemetrySdkLanguageValues;
//# sourceMappingURL=SemanticResourceAttributes.d.ts.map

1473

build/esm/resource/SemanticResourceAttributes.js

@@ -16,496 +16,983 @@ /*

*/
import { createConstMap } from '../internal/utils';
//----------------------------------------------------------------------------------------------------------
// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2
export var SemanticResourceAttributes = {
/**
* Name of the cloud provider.
*/
CLOUD_PROVIDER: 'cloud.provider',
/**
* The cloud account ID the resource is assigned to.
*/
CLOUD_ACCOUNT_ID: 'cloud.account.id',
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
CLOUD_REGION: 'cloud.region',
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
CLOUD_AVAILABILITY_ZONE: 'cloud.availability_zone',
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
CLOUD_PLATFORM: 'cloud.platform',
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
AWS_ECS_CONTAINER_ARN: 'aws.ecs.container.arn',
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
AWS_ECS_CLUSTER_ARN: 'aws.ecs.cluster.arn',
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
AWS_ECS_LAUNCHTYPE: 'aws.ecs.launchtype',
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
AWS_ECS_TASK_ARN: 'aws.ecs.task.arn',
/**
* The task definition family this task definition is a member of.
*/
AWS_ECS_TASK_FAMILY: 'aws.ecs.task.family',
/**
* The revision for this task definition.
*/
AWS_ECS_TASK_REVISION: 'aws.ecs.task.revision',
/**
* The ARN of an EKS cluster.
*/
AWS_EKS_CLUSTER_ARN: 'aws.eks.cluster.arn',
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
AWS_LOG_GROUP_NAMES: 'aws.log.group.names',
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
AWS_LOG_GROUP_ARNS: 'aws.log.group.arns',
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
AWS_LOG_STREAM_NAMES: 'aws.log.stream.names',
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
AWS_LOG_STREAM_ARNS: 'aws.log.stream.arns',
/**
* Container name.
*/
CONTAINER_NAME: 'container.name',
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
CONTAINER_ID: 'container.id',
/**
* The container runtime managing this container.
*/
CONTAINER_RUNTIME: 'container.runtime',
/**
* Name of the image the container was built on.
*/
CONTAINER_IMAGE_NAME: 'container.image.name',
/**
* Container image tag.
*/
CONTAINER_IMAGE_TAG: 'container.image.tag',
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
DEPLOYMENT_ENVIRONMENT: 'deployment.environment',
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
DEVICE_ID: 'device.id',
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
DEVICE_MODEL_IDENTIFIER: 'device.model.identifier',
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
DEVICE_MODEL_NAME: 'device.model.name',
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
FAAS_NAME: 'faas.name',
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
FAAS_ID: 'faas.id',
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
FAAS_VERSION: 'faas.version',
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
FAAS_INSTANCE: 'faas.instance',
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
FAAS_MAX_MEMORY: 'faas.max_memory',
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
HOST_ID: 'host.id',
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
HOST_NAME: 'host.name',
/**
* Type of host. For Cloud, this must be the machine type.
*/
HOST_TYPE: 'host.type',
/**
* The CPU architecture the host system is running on.
*/
HOST_ARCH: 'host.arch',
/**
* Name of the VM image or OS install the host was instantiated from.
*/
HOST_IMAGE_NAME: 'host.image.name',
/**
* VM image ID. For Cloud, this value is from the provider.
*/
HOST_IMAGE_ID: 'host.image.id',
/**
* The version string of the VM image as defined in [Version SpanAttributes](README.md#version-attributes).
*/
HOST_IMAGE_VERSION: 'host.image.version',
/**
* The name of the cluster.
*/
K8S_CLUSTER_NAME: 'k8s.cluster.name',
/**
* The name of the Node.
*/
K8S_NODE_NAME: 'k8s.node.name',
/**
* The UID of the Node.
*/
K8S_NODE_UID: 'k8s.node.uid',
/**
* The name of the namespace that the pod is running in.
*/
K8S_NAMESPACE_NAME: 'k8s.namespace.name',
/**
* The UID of the Pod.
*/
K8S_POD_UID: 'k8s.pod.uid',
/**
* The name of the Pod.
*/
K8S_POD_NAME: 'k8s.pod.name',
/**
* The name of the Container in a Pod template.
*/
K8S_CONTAINER_NAME: 'k8s.container.name',
/**
* The UID of the ReplicaSet.
*/
K8S_REPLICASET_UID: 'k8s.replicaset.uid',
/**
* The name of the ReplicaSet.
*/
K8S_REPLICASET_NAME: 'k8s.replicaset.name',
/**
* The UID of the Deployment.
*/
K8S_DEPLOYMENT_UID: 'k8s.deployment.uid',
/**
* The name of the Deployment.
*/
K8S_DEPLOYMENT_NAME: 'k8s.deployment.name',
/**
* The UID of the StatefulSet.
*/
K8S_STATEFULSET_UID: 'k8s.statefulset.uid',
/**
* The name of the StatefulSet.
*/
K8S_STATEFULSET_NAME: 'k8s.statefulset.name',
/**
* The UID of the DaemonSet.
*/
K8S_DAEMONSET_UID: 'k8s.daemonset.uid',
/**
* The name of the DaemonSet.
*/
K8S_DAEMONSET_NAME: 'k8s.daemonset.name',
/**
* The UID of the Job.
*/
K8S_JOB_UID: 'k8s.job.uid',
/**
* The name of the Job.
*/
K8S_JOB_NAME: 'k8s.job.name',
/**
* The UID of the CronJob.
*/
K8S_CRONJOB_UID: 'k8s.cronjob.uid',
/**
* The name of the CronJob.
*/
K8S_CRONJOB_NAME: 'k8s.cronjob.name',
/**
* The operating system type.
*/
OS_TYPE: 'os.type',
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
OS_DESCRIPTION: 'os.description',
/**
* Human readable operating system name.
*/
OS_NAME: 'os.name',
/**
* The version string of the operating system as defined in [Version SpanAttributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
OS_VERSION: 'os.version',
/**
* Process identifier (PID).
*/
PROCESS_PID: 'process.pid',
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_NAME: 'process.executable.name',
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_PATH: 'process.executable.path',
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
PROCESS_COMMAND: 'process.command',
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
PROCESS_COMMAND_LINE: 'process.command_line',
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
PROCESS_COMMAND_ARGS: 'process.command_args',
/**
* The username of the user that owns the process.
*/
PROCESS_OWNER: 'process.owner',
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
PROCESS_RUNTIME_NAME: 'process.runtime.name',
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
PROCESS_RUNTIME_VERSION: 'process.runtime.version',
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
PROCESS_RUNTIME_DESCRIPTION: 'process.runtime.description',
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
SERVICE_NAME: 'service.name',
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
SERVICE_NAMESPACE: 'service.namespace',
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
SERVICE_INSTANCE_ID: 'service.instance.id',
/**
* The version string of the service API or implementation.
*/
SERVICE_VERSION: 'service.version',
/**
* The name of the telemetry SDK as defined above.
*/
TELEMETRY_SDK_NAME: 'telemetry.sdk.name',
/**
* The language of the telemetry SDK.
*/
TELEMETRY_SDK_LANGUAGE: 'telemetry.sdk.language',
/**
* The version string of the telemetry SDK.
*/
TELEMETRY_SDK_VERSION: 'telemetry.sdk.version',
/**
* The version string of the auto instrumentation agent, if used.
*/
TELEMETRY_AUTO_VERSION: 'telemetry.auto.version',
/**
* The name of the web engine.
*/
WEBENGINE_NAME: 'webengine.name',
/**
* The version of the web engine.
*/
WEBENGINE_VERSION: 'webengine.version',
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
WEBENGINE_DESCRIPTION: 'webengine.description',
};
export var CloudProviderValues = {
/** Alibaba Cloud. */
ALIBABA_CLOUD: 'alibaba_cloud',
/** Amazon Web Services. */
AWS: 'aws',
/** Microsoft Azure. */
AZURE: 'azure',
/** Google Cloud Platform. */
GCP: 'gcp',
};
export var CloudPlatformValues = {
/** Alibaba Cloud Elastic Compute Service. */
ALIBABA_CLOUD_ECS: 'alibaba_cloud_ecs',
/** Alibaba Cloud Function Compute. */
ALIBABA_CLOUD_FC: 'alibaba_cloud_fc',
/** AWS Elastic Compute Cloud. */
AWS_EC2: 'aws_ec2',
/** AWS Elastic Container Service. */
AWS_ECS: 'aws_ecs',
/** AWS Elastic Kubernetes Service. */
AWS_EKS: 'aws_eks',
/** AWS Lambda. */
AWS_LAMBDA: 'aws_lambda',
/** AWS Elastic Beanstalk. */
AWS_ELASTIC_BEANSTALK: 'aws_elastic_beanstalk',
/** Azure Virtual Machines. */
AZURE_VM: 'azure_vm',
/** Azure Container Instances. */
AZURE_CONTAINER_INSTANCES: 'azure_container_instances',
/** Azure Kubernetes Service. */
AZURE_AKS: 'azure_aks',
/** Azure Functions. */
AZURE_FUNCTIONS: 'azure_functions',
/** Azure App Service. */
AZURE_APP_SERVICE: 'azure_app_service',
/** Google Cloud Compute Engine (GCE). */
GCP_COMPUTE_ENGINE: 'gcp_compute_engine',
/** Google Cloud Run. */
GCP_CLOUD_RUN: 'gcp_cloud_run',
/** Google Cloud Kubernetes Engine (GKE). */
GCP_KUBERNETES_ENGINE: 'gcp_kubernetes_engine',
/** Google Cloud Functions (GCF). */
GCP_CLOUD_FUNCTIONS: 'gcp_cloud_functions',
/** Google Cloud App Engine (GAE). */
GCP_APP_ENGINE: 'gcp_app_engine',
};
export var AwsEcsLaunchtypeValues = {
/** ec2. */
EC2: 'ec2',
/** fargate. */
FARGATE: 'fargate',
};
export var HostArchValues = {
/** AMD64. */
AMD64: 'amd64',
/** ARM32. */
ARM32: 'arm32',
/** ARM64. */
ARM64: 'arm64',
/** Itanium. */
IA64: 'ia64',
/** 32-bit PowerPC. */
PPC32: 'ppc32',
/** 64-bit PowerPC. */
PPC64: 'ppc64',
/** 32-bit x86. */
X86: 'x86',
};
export var OsTypeValues = {
/** Microsoft Windows. */
WINDOWS: 'windows',
/** Linux. */
LINUX: 'linux',
/** Apple Darwin. */
DARWIN: 'darwin',
/** FreeBSD. */
FREEBSD: 'freebsd',
/** NetBSD. */
NETBSD: 'netbsd',
/** OpenBSD. */
OPENBSD: 'openbsd',
/** DragonFly BSD. */
DRAGONFLYBSD: 'dragonflybsd',
/** HP-UX (Hewlett Packard Unix). */
HPUX: 'hpux',
/** AIX (Advanced Interactive eXecutive). */
AIX: 'aix',
/** Oracle Solaris. */
SOLARIS: 'solaris',
/** IBM z/OS. */
Z_OS: 'z_os',
};
export var TelemetrySdkLanguageValues = {
/** cpp. */
CPP: 'cpp',
/** dotnet. */
DOTNET: 'dotnet',
/** erlang. */
ERLANG: 'erlang',
/** go. */
GO: 'go',
/** java. */
JAVA: 'java',
/** nodejs. */
NODEJS: 'nodejs',
/** php. */
PHP: 'php',
/** python. */
PYTHON: 'python',
/** ruby. */
RUBY: 'ruby',
/** webjs. */
WEBJS: 'webjs',
};
//----------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------
// Constant values for SemanticResourceAttributes
//----------------------------------------------------------------------------------------------------------
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_CLOUD_PROVIDER = 'cloud.provider';
var TMP_CLOUD_ACCOUNT_ID = 'cloud.account.id';
var TMP_CLOUD_REGION = 'cloud.region';
var TMP_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone';
var TMP_CLOUD_PLATFORM = 'cloud.platform';
var TMP_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn';
var TMP_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn';
var TMP_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype';
var TMP_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn';
var TMP_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family';
var TMP_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision';
var TMP_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn';
var TMP_AWS_LOG_GROUP_NAMES = 'aws.log.group.names';
var TMP_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns';
var TMP_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names';
var TMP_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns';
var TMP_CONTAINER_NAME = 'container.name';
var TMP_CONTAINER_ID = 'container.id';
var TMP_CONTAINER_RUNTIME = 'container.runtime';
var TMP_CONTAINER_IMAGE_NAME = 'container.image.name';
var TMP_CONTAINER_IMAGE_TAG = 'container.image.tag';
var TMP_DEPLOYMENT_ENVIRONMENT = 'deployment.environment';
var TMP_DEVICE_ID = 'device.id';
var TMP_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier';
var TMP_DEVICE_MODEL_NAME = 'device.model.name';
var TMP_FAAS_NAME = 'faas.name';
var TMP_FAAS_ID = 'faas.id';
var TMP_FAAS_VERSION = 'faas.version';
var TMP_FAAS_INSTANCE = 'faas.instance';
var TMP_FAAS_MAX_MEMORY = 'faas.max_memory';
var TMP_HOST_ID = 'host.id';
var TMP_HOST_NAME = 'host.name';
var TMP_HOST_TYPE = 'host.type';
var TMP_HOST_ARCH = 'host.arch';
var TMP_HOST_IMAGE_NAME = 'host.image.name';
var TMP_HOST_IMAGE_ID = 'host.image.id';
var TMP_HOST_IMAGE_VERSION = 'host.image.version';
var TMP_K8S_CLUSTER_NAME = 'k8s.cluster.name';
var TMP_K8S_NODE_NAME = 'k8s.node.name';
var TMP_K8S_NODE_UID = 'k8s.node.uid';
var TMP_K8S_NAMESPACE_NAME = 'k8s.namespace.name';
var TMP_K8S_POD_UID = 'k8s.pod.uid';
var TMP_K8S_POD_NAME = 'k8s.pod.name';
var TMP_K8S_CONTAINER_NAME = 'k8s.container.name';
var TMP_K8S_REPLICASET_UID = 'k8s.replicaset.uid';
var TMP_K8S_REPLICASET_NAME = 'k8s.replicaset.name';
var TMP_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid';
var TMP_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name';
var TMP_K8S_STATEFULSET_UID = 'k8s.statefulset.uid';
var TMP_K8S_STATEFULSET_NAME = 'k8s.statefulset.name';
var TMP_K8S_DAEMONSET_UID = 'k8s.daemonset.uid';
var TMP_K8S_DAEMONSET_NAME = 'k8s.daemonset.name';
var TMP_K8S_JOB_UID = 'k8s.job.uid';
var TMP_K8S_JOB_NAME = 'k8s.job.name';
var TMP_K8S_CRONJOB_UID = 'k8s.cronjob.uid';
var TMP_K8S_CRONJOB_NAME = 'k8s.cronjob.name';
var TMP_OS_TYPE = 'os.type';
var TMP_OS_DESCRIPTION = 'os.description';
var TMP_OS_NAME = 'os.name';
var TMP_OS_VERSION = 'os.version';
var TMP_PROCESS_PID = 'process.pid';
var TMP_PROCESS_EXECUTABLE_NAME = 'process.executable.name';
var TMP_PROCESS_EXECUTABLE_PATH = 'process.executable.path';
var TMP_PROCESS_COMMAND = 'process.command';
var TMP_PROCESS_COMMAND_LINE = 'process.command_line';
var TMP_PROCESS_COMMAND_ARGS = 'process.command_args';
var TMP_PROCESS_OWNER = 'process.owner';
var TMP_PROCESS_RUNTIME_NAME = 'process.runtime.name';
var TMP_PROCESS_RUNTIME_VERSION = 'process.runtime.version';
var TMP_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description';
var TMP_SERVICE_NAME = 'service.name';
var TMP_SERVICE_NAMESPACE = 'service.namespace';
var TMP_SERVICE_INSTANCE_ID = 'service.instance.id';
var TMP_SERVICE_VERSION = 'service.version';
var TMP_TELEMETRY_SDK_NAME = 'telemetry.sdk.name';
var TMP_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language';
var TMP_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version';
var TMP_TELEMETRY_AUTO_VERSION = 'telemetry.auto.version';
var TMP_WEBENGINE_NAME = 'webengine.name';
var TMP_WEBENGINE_VERSION = 'webengine.version';
var TMP_WEBENGINE_DESCRIPTION = 'webengine.description';
/**
* Name of the cloud provider.
*/
export var SEMRESATTRS_CLOUD_PROVIDER = TMP_CLOUD_PROVIDER;
/**
* The cloud account ID the resource is assigned to.
*/
export var SEMRESATTRS_CLOUD_ACCOUNT_ID = TMP_CLOUD_ACCOUNT_ID;
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
export var SEMRESATTRS_CLOUD_REGION = TMP_CLOUD_REGION;
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
export var SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = TMP_CLOUD_AVAILABILITY_ZONE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var SEMRESATTRS_CLOUD_PLATFORM = TMP_CLOUD_PLATFORM;
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
export var SEMRESATTRS_AWS_ECS_CONTAINER_ARN = TMP_AWS_ECS_CONTAINER_ARN;
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
export var SEMRESATTRS_AWS_ECS_CLUSTER_ARN = TMP_AWS_ECS_CLUSTER_ARN;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export var SEMRESATTRS_AWS_ECS_LAUNCHTYPE = TMP_AWS_ECS_LAUNCHTYPE;
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
export var SEMRESATTRS_AWS_ECS_TASK_ARN = TMP_AWS_ECS_TASK_ARN;
/**
* The task definition family this task definition is a member of.
*/
export var SEMRESATTRS_AWS_ECS_TASK_FAMILY = TMP_AWS_ECS_TASK_FAMILY;
/**
* The revision for this task definition.
*/
export var SEMRESATTRS_AWS_ECS_TASK_REVISION = TMP_AWS_ECS_TASK_REVISION;
/**
* The ARN of an EKS cluster.
*/
export var SEMRESATTRS_AWS_EKS_CLUSTER_ARN = TMP_AWS_EKS_CLUSTER_ARN;
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
export var SEMRESATTRS_AWS_LOG_GROUP_NAMES = TMP_AWS_LOG_GROUP_NAMES;
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
export var SEMRESATTRS_AWS_LOG_GROUP_ARNS = TMP_AWS_LOG_GROUP_ARNS;
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
export var SEMRESATTRS_AWS_LOG_STREAM_NAMES = TMP_AWS_LOG_STREAM_NAMES;
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
export var SEMRESATTRS_AWS_LOG_STREAM_ARNS = TMP_AWS_LOG_STREAM_ARNS;
/**
* Container name.
*/
export var SEMRESATTRS_CONTAINER_NAME = TMP_CONTAINER_NAME;
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
export var SEMRESATTRS_CONTAINER_ID = TMP_CONTAINER_ID;
/**
* The container runtime managing this container.
*/
export var SEMRESATTRS_CONTAINER_RUNTIME = TMP_CONTAINER_RUNTIME;
/**
* Name of the image the container was built on.
*/
export var SEMRESATTRS_CONTAINER_IMAGE_NAME = TMP_CONTAINER_IMAGE_NAME;
/**
* Container image tag.
*/
export var SEMRESATTRS_CONTAINER_IMAGE_TAG = TMP_CONTAINER_IMAGE_TAG;
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
export var SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = TMP_DEPLOYMENT_ENVIRONMENT;
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
export var SEMRESATTRS_DEVICE_ID = TMP_DEVICE_ID;
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
export var SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = TMP_DEVICE_MODEL_IDENTIFIER;
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
export var SEMRESATTRS_DEVICE_MODEL_NAME = TMP_DEVICE_MODEL_NAME;
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
export var SEMRESATTRS_FAAS_NAME = TMP_FAAS_NAME;
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
export var SEMRESATTRS_FAAS_ID = TMP_FAAS_ID;
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
export var SEMRESATTRS_FAAS_VERSION = TMP_FAAS_VERSION;
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
export var SEMRESATTRS_FAAS_INSTANCE = TMP_FAAS_INSTANCE;
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
export var SEMRESATTRS_FAAS_MAX_MEMORY = TMP_FAAS_MAX_MEMORY;
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
export var SEMRESATTRS_HOST_ID = TMP_HOST_ID;
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
export var SEMRESATTRS_HOST_NAME = TMP_HOST_NAME;
/**
* Type of host. For Cloud, this must be the machine type.
*/
export var SEMRESATTRS_HOST_TYPE = TMP_HOST_TYPE;
/**
* The CPU architecture the host system is running on.
*/
export var SEMRESATTRS_HOST_ARCH = TMP_HOST_ARCH;
/**
* Name of the VM image or OS install the host was instantiated from.
*/
export var SEMRESATTRS_HOST_IMAGE_NAME = TMP_HOST_IMAGE_NAME;
/**
* VM image ID. For Cloud, this value is from the provider.
*/
export var SEMRESATTRS_HOST_IMAGE_ID = TMP_HOST_IMAGE_ID;
/**
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
export var SEMRESATTRS_HOST_IMAGE_VERSION = TMP_HOST_IMAGE_VERSION;
/**
* The name of the cluster.
*/
export var SEMRESATTRS_K8S_CLUSTER_NAME = TMP_K8S_CLUSTER_NAME;
/**
* The name of the Node.
*/
export var SEMRESATTRS_K8S_NODE_NAME = TMP_K8S_NODE_NAME;
/**
* The UID of the Node.
*/
export var SEMRESATTRS_K8S_NODE_UID = TMP_K8S_NODE_UID;
/**
* The name of the namespace that the pod is running in.
*/
export var SEMRESATTRS_K8S_NAMESPACE_NAME = TMP_K8S_NAMESPACE_NAME;
/**
* The UID of the Pod.
*/
export var SEMRESATTRS_K8S_POD_UID = TMP_K8S_POD_UID;
/**
* The name of the Pod.
*/
export var SEMRESATTRS_K8S_POD_NAME = TMP_K8S_POD_NAME;
/**
* The name of the Container in a Pod template.
*/
export var SEMRESATTRS_K8S_CONTAINER_NAME = TMP_K8S_CONTAINER_NAME;
/**
* The UID of the ReplicaSet.
*/
export var SEMRESATTRS_K8S_REPLICASET_UID = TMP_K8S_REPLICASET_UID;
/**
* The name of the ReplicaSet.
*/
export var SEMRESATTRS_K8S_REPLICASET_NAME = TMP_K8S_REPLICASET_NAME;
/**
* The UID of the Deployment.
*/
export var SEMRESATTRS_K8S_DEPLOYMENT_UID = TMP_K8S_DEPLOYMENT_UID;
/**
* The name of the Deployment.
*/
export var SEMRESATTRS_K8S_DEPLOYMENT_NAME = TMP_K8S_DEPLOYMENT_NAME;
/**
* The UID of the StatefulSet.
*/
export var SEMRESATTRS_K8S_STATEFULSET_UID = TMP_K8S_STATEFULSET_UID;
/**
* The name of the StatefulSet.
*/
export var SEMRESATTRS_K8S_STATEFULSET_NAME = TMP_K8S_STATEFULSET_NAME;
/**
* The UID of the DaemonSet.
*/
export var SEMRESATTRS_K8S_DAEMONSET_UID = TMP_K8S_DAEMONSET_UID;
/**
* The name of the DaemonSet.
*/
export var SEMRESATTRS_K8S_DAEMONSET_NAME = TMP_K8S_DAEMONSET_NAME;
/**
* The UID of the Job.
*/
export var SEMRESATTRS_K8S_JOB_UID = TMP_K8S_JOB_UID;
/**
* The name of the Job.
*/
export var SEMRESATTRS_K8S_JOB_NAME = TMP_K8S_JOB_NAME;
/**
* The UID of the CronJob.
*/
export var SEMRESATTRS_K8S_CRONJOB_UID = TMP_K8S_CRONJOB_UID;
/**
* The name of the CronJob.
*/
export var SEMRESATTRS_K8S_CRONJOB_NAME = TMP_K8S_CRONJOB_NAME;
/**
* The operating system type.
*/
export var SEMRESATTRS_OS_TYPE = TMP_OS_TYPE;
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
export var SEMRESATTRS_OS_DESCRIPTION = TMP_OS_DESCRIPTION;
/**
* Human readable operating system name.
*/
export var SEMRESATTRS_OS_NAME = TMP_OS_NAME;
/**
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
export var SEMRESATTRS_OS_VERSION = TMP_OS_VERSION;
/**
* Process identifier (PID).
*/
export var SEMRESATTRS_PROCESS_PID = TMP_PROCESS_PID;
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
export var SEMRESATTRS_PROCESS_EXECUTABLE_NAME = TMP_PROCESS_EXECUTABLE_NAME;
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
export var SEMRESATTRS_PROCESS_EXECUTABLE_PATH = TMP_PROCESS_EXECUTABLE_PATH;
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
export var SEMRESATTRS_PROCESS_COMMAND = TMP_PROCESS_COMMAND;
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
export var SEMRESATTRS_PROCESS_COMMAND_LINE = TMP_PROCESS_COMMAND_LINE;
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
export var SEMRESATTRS_PROCESS_COMMAND_ARGS = TMP_PROCESS_COMMAND_ARGS;
/**
* The username of the user that owns the process.
*/
export var SEMRESATTRS_PROCESS_OWNER = TMP_PROCESS_OWNER;
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
export var SEMRESATTRS_PROCESS_RUNTIME_NAME = TMP_PROCESS_RUNTIME_NAME;
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
export var SEMRESATTRS_PROCESS_RUNTIME_VERSION = TMP_PROCESS_RUNTIME_VERSION;
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
export var SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = TMP_PROCESS_RUNTIME_DESCRIPTION;
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
export var SEMRESATTRS_SERVICE_NAME = TMP_SERVICE_NAME;
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
export var SEMRESATTRS_SERVICE_NAMESPACE = TMP_SERVICE_NAMESPACE;
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
export var SEMRESATTRS_SERVICE_INSTANCE_ID = TMP_SERVICE_INSTANCE_ID;
/**
* The version string of the service API or implementation.
*/
export var SEMRESATTRS_SERVICE_VERSION = TMP_SERVICE_VERSION;
/**
* The name of the telemetry SDK as defined above.
*/
export var SEMRESATTRS_TELEMETRY_SDK_NAME = TMP_TELEMETRY_SDK_NAME;
/**
* The language of the telemetry SDK.
*/
export var SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = TMP_TELEMETRY_SDK_LANGUAGE;
/**
* The version string of the telemetry SDK.
*/
export var SEMRESATTRS_TELEMETRY_SDK_VERSION = TMP_TELEMETRY_SDK_VERSION;
/**
* The version string of the auto instrumentation agent, if used.
*/
export var SEMRESATTRS_TELEMETRY_AUTO_VERSION = TMP_TELEMETRY_AUTO_VERSION;
/**
* The name of the web engine.
*/
export var SEMRESATTRS_WEBENGINE_NAME = TMP_WEBENGINE_NAME;
/**
* The version of the web engine.
*/
export var SEMRESATTRS_WEBENGINE_VERSION = TMP_WEBENGINE_VERSION;
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
export var SEMRESATTRS_WEBENGINE_DESCRIPTION = TMP_WEBENGINE_DESCRIPTION;
/**
* Create exported Value Map for SemanticResourceAttributes values
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification
*/
export var SemanticResourceAttributes =
/*#__PURE__*/ createConstMap([
TMP_CLOUD_PROVIDER,
TMP_CLOUD_ACCOUNT_ID,
TMP_CLOUD_REGION,
TMP_CLOUD_AVAILABILITY_ZONE,
TMP_CLOUD_PLATFORM,
TMP_AWS_ECS_CONTAINER_ARN,
TMP_AWS_ECS_CLUSTER_ARN,
TMP_AWS_ECS_LAUNCHTYPE,
TMP_AWS_ECS_TASK_ARN,
TMP_AWS_ECS_TASK_FAMILY,
TMP_AWS_ECS_TASK_REVISION,
TMP_AWS_EKS_CLUSTER_ARN,
TMP_AWS_LOG_GROUP_NAMES,
TMP_AWS_LOG_GROUP_ARNS,
TMP_AWS_LOG_STREAM_NAMES,
TMP_AWS_LOG_STREAM_ARNS,
TMP_CONTAINER_NAME,
TMP_CONTAINER_ID,
TMP_CONTAINER_RUNTIME,
TMP_CONTAINER_IMAGE_NAME,
TMP_CONTAINER_IMAGE_TAG,
TMP_DEPLOYMENT_ENVIRONMENT,
TMP_DEVICE_ID,
TMP_DEVICE_MODEL_IDENTIFIER,
TMP_DEVICE_MODEL_NAME,
TMP_FAAS_NAME,
TMP_FAAS_ID,
TMP_FAAS_VERSION,
TMP_FAAS_INSTANCE,
TMP_FAAS_MAX_MEMORY,
TMP_HOST_ID,
TMP_HOST_NAME,
TMP_HOST_TYPE,
TMP_HOST_ARCH,
TMP_HOST_IMAGE_NAME,
TMP_HOST_IMAGE_ID,
TMP_HOST_IMAGE_VERSION,
TMP_K8S_CLUSTER_NAME,
TMP_K8S_NODE_NAME,
TMP_K8S_NODE_UID,
TMP_K8S_NAMESPACE_NAME,
TMP_K8S_POD_UID,
TMP_K8S_POD_NAME,
TMP_K8S_CONTAINER_NAME,
TMP_K8S_REPLICASET_UID,
TMP_K8S_REPLICASET_NAME,
TMP_K8S_DEPLOYMENT_UID,
TMP_K8S_DEPLOYMENT_NAME,
TMP_K8S_STATEFULSET_UID,
TMP_K8S_STATEFULSET_NAME,
TMP_K8S_DAEMONSET_UID,
TMP_K8S_DAEMONSET_NAME,
TMP_K8S_JOB_UID,
TMP_K8S_JOB_NAME,
TMP_K8S_CRONJOB_UID,
TMP_K8S_CRONJOB_NAME,
TMP_OS_TYPE,
TMP_OS_DESCRIPTION,
TMP_OS_NAME,
TMP_OS_VERSION,
TMP_PROCESS_PID,
TMP_PROCESS_EXECUTABLE_NAME,
TMP_PROCESS_EXECUTABLE_PATH,
TMP_PROCESS_COMMAND,
TMP_PROCESS_COMMAND_LINE,
TMP_PROCESS_COMMAND_ARGS,
TMP_PROCESS_OWNER,
TMP_PROCESS_RUNTIME_NAME,
TMP_PROCESS_RUNTIME_VERSION,
TMP_PROCESS_RUNTIME_DESCRIPTION,
TMP_SERVICE_NAME,
TMP_SERVICE_NAMESPACE,
TMP_SERVICE_INSTANCE_ID,
TMP_SERVICE_VERSION,
TMP_TELEMETRY_SDK_NAME,
TMP_TELEMETRY_SDK_LANGUAGE,
TMP_TELEMETRY_SDK_VERSION,
TMP_TELEMETRY_AUTO_VERSION,
TMP_WEBENGINE_NAME,
TMP_WEBENGINE_VERSION,
TMP_WEBENGINE_DESCRIPTION,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for CloudProviderValues enum definition
*
* Name of the cloud provider.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD = 'alibaba_cloud';
var TMP_CLOUDPROVIDERVALUES_AWS = 'aws';
var TMP_CLOUDPROVIDERVALUES_AZURE = 'azure';
var TMP_CLOUDPROVIDERVALUES_GCP = 'gcp';
/**
* Name of the cloud provider.
*/
export var CLOUDPROVIDERVALUES_ALIBABA_CLOUD = TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD;
/**
* Name of the cloud provider.
*/
export var CLOUDPROVIDERVALUES_AWS = TMP_CLOUDPROVIDERVALUES_AWS;
/**
* Name of the cloud provider.
*/
export var CLOUDPROVIDERVALUES_AZURE = TMP_CLOUDPROVIDERVALUES_AZURE;
/**
* Name of the cloud provider.
*/
export var CLOUDPROVIDERVALUES_GCP = TMP_CLOUDPROVIDERVALUES_GCP;
/**
* The constant map of values for CloudProviderValues.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export var CloudProviderValues =
/*#__PURE__*/ createConstMap([
TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD,
TMP_CLOUDPROVIDERVALUES_AWS,
TMP_CLOUDPROVIDERVALUES_AZURE,
TMP_CLOUDPROVIDERVALUES_GCP,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for CloudPlatformValues enum definition
*
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs';
var TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc';
var TMP_CLOUDPLATFORMVALUES_AWS_EC2 = 'aws_ec2';
var TMP_CLOUDPLATFORMVALUES_AWS_ECS = 'aws_ecs';
var TMP_CLOUDPLATFORMVALUES_AWS_EKS = 'aws_eks';
var TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA = 'aws_lambda';
var TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk';
var TMP_CLOUDPLATFORMVALUES_AZURE_VM = 'azure_vm';
var TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = 'azure_container_instances';
var TMP_CLOUDPLATFORMVALUES_AZURE_AKS = 'azure_aks';
var TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = 'azure_functions';
var TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = 'azure_app_service';
var TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine';
var TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = 'gcp_cloud_run';
var TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine';
var TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions';
var TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE = 'gcp_app_engine';
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AWS_LAMBDA = TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export var CLOUDPLATFORMVALUES_GCP_APP_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE;
/**
* The constant map of values for CloudPlatformValues.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export var CloudPlatformValues =
/*#__PURE__*/ createConstMap([
TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS,
TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC,
TMP_CLOUDPLATFORMVALUES_AWS_EC2,
TMP_CLOUDPLATFORMVALUES_AWS_ECS,
TMP_CLOUDPLATFORMVALUES_AWS_EKS,
TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA,
TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK,
TMP_CLOUDPLATFORMVALUES_AZURE_VM,
TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES,
TMP_CLOUDPLATFORMVALUES_AZURE_AKS,
TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS,
TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE,
TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE,
TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN,
TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE,
TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS,
TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for AwsEcsLaunchtypeValues enum definition
*
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_AWSECSLAUNCHTYPEVALUES_EC2 = 'ec2';
var TMP_AWSECSLAUNCHTYPEVALUES_FARGATE = 'fargate';
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export var AWSECSLAUNCHTYPEVALUES_EC2 = TMP_AWSECSLAUNCHTYPEVALUES_EC2;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export var AWSECSLAUNCHTYPEVALUES_FARGATE = TMP_AWSECSLAUNCHTYPEVALUES_FARGATE;
/**
* The constant map of values for AwsEcsLaunchtypeValues.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export var AwsEcsLaunchtypeValues =
/*#__PURE__*/ createConstMap([
TMP_AWSECSLAUNCHTYPEVALUES_EC2,
TMP_AWSECSLAUNCHTYPEVALUES_FARGATE,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for HostArchValues enum definition
*
* The CPU architecture the host system is running on.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_HOSTARCHVALUES_AMD64 = 'amd64';
var TMP_HOSTARCHVALUES_ARM32 = 'arm32';
var TMP_HOSTARCHVALUES_ARM64 = 'arm64';
var TMP_HOSTARCHVALUES_IA64 = 'ia64';
var TMP_HOSTARCHVALUES_PPC32 = 'ppc32';
var TMP_HOSTARCHVALUES_PPC64 = 'ppc64';
var TMP_HOSTARCHVALUES_X86 = 'x86';
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_AMD64 = TMP_HOSTARCHVALUES_AMD64;
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_ARM32 = TMP_HOSTARCHVALUES_ARM32;
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_ARM64 = TMP_HOSTARCHVALUES_ARM64;
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_IA64 = TMP_HOSTARCHVALUES_IA64;
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_PPC32 = TMP_HOSTARCHVALUES_PPC32;
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_PPC64 = TMP_HOSTARCHVALUES_PPC64;
/**
* The CPU architecture the host system is running on.
*/
export var HOSTARCHVALUES_X86 = TMP_HOSTARCHVALUES_X86;
/**
* The constant map of values for HostArchValues.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export var HostArchValues =
/*#__PURE__*/ createConstMap([
TMP_HOSTARCHVALUES_AMD64,
TMP_HOSTARCHVALUES_ARM32,
TMP_HOSTARCHVALUES_ARM64,
TMP_HOSTARCHVALUES_IA64,
TMP_HOSTARCHVALUES_PPC32,
TMP_HOSTARCHVALUES_PPC64,
TMP_HOSTARCHVALUES_X86,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for OsTypeValues enum definition
*
* The operating system type.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_OSTYPEVALUES_WINDOWS = 'windows';
var TMP_OSTYPEVALUES_LINUX = 'linux';
var TMP_OSTYPEVALUES_DARWIN = 'darwin';
var TMP_OSTYPEVALUES_FREEBSD = 'freebsd';
var TMP_OSTYPEVALUES_NETBSD = 'netbsd';
var TMP_OSTYPEVALUES_OPENBSD = 'openbsd';
var TMP_OSTYPEVALUES_DRAGONFLYBSD = 'dragonflybsd';
var TMP_OSTYPEVALUES_HPUX = 'hpux';
var TMP_OSTYPEVALUES_AIX = 'aix';
var TMP_OSTYPEVALUES_SOLARIS = 'solaris';
var TMP_OSTYPEVALUES_Z_OS = 'z_os';
/**
* The operating system type.
*/
export var OSTYPEVALUES_WINDOWS = TMP_OSTYPEVALUES_WINDOWS;
/**
* The operating system type.
*/
export var OSTYPEVALUES_LINUX = TMP_OSTYPEVALUES_LINUX;
/**
* The operating system type.
*/
export var OSTYPEVALUES_DARWIN = TMP_OSTYPEVALUES_DARWIN;
/**
* The operating system type.
*/
export var OSTYPEVALUES_FREEBSD = TMP_OSTYPEVALUES_FREEBSD;
/**
* The operating system type.
*/
export var OSTYPEVALUES_NETBSD = TMP_OSTYPEVALUES_NETBSD;
/**
* The operating system type.
*/
export var OSTYPEVALUES_OPENBSD = TMP_OSTYPEVALUES_OPENBSD;
/**
* The operating system type.
*/
export var OSTYPEVALUES_DRAGONFLYBSD = TMP_OSTYPEVALUES_DRAGONFLYBSD;
/**
* The operating system type.
*/
export var OSTYPEVALUES_HPUX = TMP_OSTYPEVALUES_HPUX;
/**
* The operating system type.
*/
export var OSTYPEVALUES_AIX = TMP_OSTYPEVALUES_AIX;
/**
* The operating system type.
*/
export var OSTYPEVALUES_SOLARIS = TMP_OSTYPEVALUES_SOLARIS;
/**
* The operating system type.
*/
export var OSTYPEVALUES_Z_OS = TMP_OSTYPEVALUES_Z_OS;
/**
* The constant map of values for OsTypeValues.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export var OsTypeValues =
/*#__PURE__*/ createConstMap([
TMP_OSTYPEVALUES_WINDOWS,
TMP_OSTYPEVALUES_LINUX,
TMP_OSTYPEVALUES_DARWIN,
TMP_OSTYPEVALUES_FREEBSD,
TMP_OSTYPEVALUES_NETBSD,
TMP_OSTYPEVALUES_OPENBSD,
TMP_OSTYPEVALUES_DRAGONFLYBSD,
TMP_OSTYPEVALUES_HPUX,
TMP_OSTYPEVALUES_AIX,
TMP_OSTYPEVALUES_SOLARIS,
TMP_OSTYPEVALUES_Z_OS,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for TelemetrySdkLanguageValues enum definition
*
* The language of the telemetry SDK.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
var TMP_TELEMETRYSDKLANGUAGEVALUES_CPP = 'cpp';
var TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET = 'dotnet';
var TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG = 'erlang';
var TMP_TELEMETRYSDKLANGUAGEVALUES_GO = 'go';
var TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA = 'java';
var TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS = 'nodejs';
var TMP_TELEMETRYSDKLANGUAGEVALUES_PHP = 'php';
var TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON = 'python';
var TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY = 'ruby';
var TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS = 'webjs';
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_CPP = TMP_TELEMETRYSDKLANGUAGEVALUES_CPP;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_DOTNET = TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_ERLANG = TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_GO = TMP_TELEMETRYSDKLANGUAGEVALUES_GO;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_JAVA = TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_NODEJS = TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_PHP = TMP_TELEMETRYSDKLANGUAGEVALUES_PHP;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_PYTHON = TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_RUBY = TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY;
/**
* The language of the telemetry SDK.
*/
export var TELEMETRYSDKLANGUAGEVALUES_WEBJS = TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS;
/**
* The constant map of values for TelemetrySdkLanguageValues.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export var TelemetrySdkLanguageValues =
/*#__PURE__*/ createConstMap([
TMP_TELEMETRYSDKLANGUAGEVALUES_CPP,
TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET,
TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG,
TMP_TELEMETRYSDKLANGUAGEVALUES_GO,
TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA,
TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS,
TMP_TELEMETRYSDKLANGUAGEVALUES_PHP,
TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON,
TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY,
TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS,
]);
//# sourceMappingURL=SemanticResourceAttributes.js.map

@@ -1,2 +0,2 @@

export declare const VERSION = "1.21.0";
export declare const VERSION = "1.22.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '1.21.0';
export var VERSION = '1.22.0';
//# sourceMappingURL=version.js.map

@@ -1,14 +0,398 @@

export declare const SemanticResourceAttributes: {
/**
* Name of the cloud provider.
*/
export declare const SEMRESATTRS_CLOUD_PROVIDER = "cloud.provider";
/**
* The cloud account ID the resource is assigned to.
*/
export declare const SEMRESATTRS_CLOUD_ACCOUNT_ID = "cloud.account.id";
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
export declare const SEMRESATTRS_CLOUD_REGION = "cloud.region";
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
export declare const SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = "cloud.availability_zone";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const SEMRESATTRS_CLOUD_PLATFORM = "cloud.platform";
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
export declare const SEMRESATTRS_AWS_ECS_CONTAINER_ARN = "aws.ecs.container.arn";
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
export declare const SEMRESATTRS_AWS_ECS_CLUSTER_ARN = "aws.ecs.cluster.arn";
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const SEMRESATTRS_AWS_ECS_LAUNCHTYPE = "aws.ecs.launchtype";
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_ARN = "aws.ecs.task.arn";
/**
* The task definition family this task definition is a member of.
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_FAMILY = "aws.ecs.task.family";
/**
* The revision for this task definition.
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_REVISION = "aws.ecs.task.revision";
/**
* The ARN of an EKS cluster.
*/
export declare const SEMRESATTRS_AWS_EKS_CLUSTER_ARN = "aws.eks.cluster.arn";
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
export declare const SEMRESATTRS_AWS_LOG_GROUP_NAMES = "aws.log.group.names";
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
export declare const SEMRESATTRS_AWS_LOG_GROUP_ARNS = "aws.log.group.arns";
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
export declare const SEMRESATTRS_AWS_LOG_STREAM_NAMES = "aws.log.stream.names";
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
export declare const SEMRESATTRS_AWS_LOG_STREAM_ARNS = "aws.log.stream.arns";
/**
* Container name.
*/
export declare const SEMRESATTRS_CONTAINER_NAME = "container.name";
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
export declare const SEMRESATTRS_CONTAINER_ID = "container.id";
/**
* The container runtime managing this container.
*/
export declare const SEMRESATTRS_CONTAINER_RUNTIME = "container.runtime";
/**
* Name of the image the container was built on.
*/
export declare const SEMRESATTRS_CONTAINER_IMAGE_NAME = "container.image.name";
/**
* Container image tag.
*/
export declare const SEMRESATTRS_CONTAINER_IMAGE_TAG = "container.image.tag";
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
export declare const SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = "deployment.environment";
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
export declare const SEMRESATTRS_DEVICE_ID = "device.id";
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
export declare const SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = "device.model.identifier";
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
export declare const SEMRESATTRS_DEVICE_MODEL_NAME = "device.model.name";
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
export declare const SEMRESATTRS_FAAS_NAME = "faas.name";
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
export declare const SEMRESATTRS_FAAS_ID = "faas.id";
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
export declare const SEMRESATTRS_FAAS_VERSION = "faas.version";
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
export declare const SEMRESATTRS_FAAS_INSTANCE = "faas.instance";
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
export declare const SEMRESATTRS_FAAS_MAX_MEMORY = "faas.max_memory";
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
export declare const SEMRESATTRS_HOST_ID = "host.id";
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
export declare const SEMRESATTRS_HOST_NAME = "host.name";
/**
* Type of host. For Cloud, this must be the machine type.
*/
export declare const SEMRESATTRS_HOST_TYPE = "host.type";
/**
* The CPU architecture the host system is running on.
*/
export declare const SEMRESATTRS_HOST_ARCH = "host.arch";
/**
* Name of the VM image or OS install the host was instantiated from.
*/
export declare const SEMRESATTRS_HOST_IMAGE_NAME = "host.image.name";
/**
* VM image ID. For Cloud, this value is from the provider.
*/
export declare const SEMRESATTRS_HOST_IMAGE_ID = "host.image.id";
/**
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
export declare const SEMRESATTRS_HOST_IMAGE_VERSION = "host.image.version";
/**
* The name of the cluster.
*/
export declare const SEMRESATTRS_K8S_CLUSTER_NAME = "k8s.cluster.name";
/**
* The name of the Node.
*/
export declare const SEMRESATTRS_K8S_NODE_NAME = "k8s.node.name";
/**
* The UID of the Node.
*/
export declare const SEMRESATTRS_K8S_NODE_UID = "k8s.node.uid";
/**
* The name of the namespace that the pod is running in.
*/
export declare const SEMRESATTRS_K8S_NAMESPACE_NAME = "k8s.namespace.name";
/**
* The UID of the Pod.
*/
export declare const SEMRESATTRS_K8S_POD_UID = "k8s.pod.uid";
/**
* The name of the Pod.
*/
export declare const SEMRESATTRS_K8S_POD_NAME = "k8s.pod.name";
/**
* The name of the Container in a Pod template.
*/
export declare const SEMRESATTRS_K8S_CONTAINER_NAME = "k8s.container.name";
/**
* The UID of the ReplicaSet.
*/
export declare const SEMRESATTRS_K8S_REPLICASET_UID = "k8s.replicaset.uid";
/**
* The name of the ReplicaSet.
*/
export declare const SEMRESATTRS_K8S_REPLICASET_NAME = "k8s.replicaset.name";
/**
* The UID of the Deployment.
*/
export declare const SEMRESATTRS_K8S_DEPLOYMENT_UID = "k8s.deployment.uid";
/**
* The name of the Deployment.
*/
export declare const SEMRESATTRS_K8S_DEPLOYMENT_NAME = "k8s.deployment.name";
/**
* The UID of the StatefulSet.
*/
export declare const SEMRESATTRS_K8S_STATEFULSET_UID = "k8s.statefulset.uid";
/**
* The name of the StatefulSet.
*/
export declare const SEMRESATTRS_K8S_STATEFULSET_NAME = "k8s.statefulset.name";
/**
* The UID of the DaemonSet.
*/
export declare const SEMRESATTRS_K8S_DAEMONSET_UID = "k8s.daemonset.uid";
/**
* The name of the DaemonSet.
*/
export declare const SEMRESATTRS_K8S_DAEMONSET_NAME = "k8s.daemonset.name";
/**
* The UID of the Job.
*/
export declare const SEMRESATTRS_K8S_JOB_UID = "k8s.job.uid";
/**
* The name of the Job.
*/
export declare const SEMRESATTRS_K8S_JOB_NAME = "k8s.job.name";
/**
* The UID of the CronJob.
*/
export declare const SEMRESATTRS_K8S_CRONJOB_UID = "k8s.cronjob.uid";
/**
* The name of the CronJob.
*/
export declare const SEMRESATTRS_K8S_CRONJOB_NAME = "k8s.cronjob.name";
/**
* The operating system type.
*/
export declare const SEMRESATTRS_OS_TYPE = "os.type";
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
export declare const SEMRESATTRS_OS_DESCRIPTION = "os.description";
/**
* Human readable operating system name.
*/
export declare const SEMRESATTRS_OS_NAME = "os.name";
/**
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
export declare const SEMRESATTRS_OS_VERSION = "os.version";
/**
* Process identifier (PID).
*/
export declare const SEMRESATTRS_PROCESS_PID = "process.pid";
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
export declare const SEMRESATTRS_PROCESS_EXECUTABLE_NAME = "process.executable.name";
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
export declare const SEMRESATTRS_PROCESS_EXECUTABLE_PATH = "process.executable.path";
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND = "process.command";
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND_LINE = "process.command_line";
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND_ARGS = "process.command_args";
/**
* The username of the user that owns the process.
*/
export declare const SEMRESATTRS_PROCESS_OWNER = "process.owner";
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_NAME = "process.runtime.name";
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_VERSION = "process.runtime.version";
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = "process.runtime.description";
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
export declare const SEMRESATTRS_SERVICE_NAME = "service.name";
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
export declare const SEMRESATTRS_SERVICE_NAMESPACE = "service.namespace";
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
export declare const SEMRESATTRS_SERVICE_INSTANCE_ID = "service.instance.id";
/**
* The version string of the service API or implementation.
*/
export declare const SEMRESATTRS_SERVICE_VERSION = "service.version";
/**
* The name of the telemetry SDK as defined above.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_NAME = "telemetry.sdk.name";
/**
* The language of the telemetry SDK.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = "telemetry.sdk.language";
/**
* The version string of the telemetry SDK.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_VERSION = "telemetry.sdk.version";
/**
* The version string of the auto instrumentation agent, if used.
*/
export declare const SEMRESATTRS_TELEMETRY_AUTO_VERSION = "telemetry.auto.version";
/**
* The name of the web engine.
*/
export declare const SEMRESATTRS_WEBENGINE_NAME = "webengine.name";
/**
* The version of the web engine.
*/
export declare const SEMRESATTRS_WEBENGINE_VERSION = "webengine.version";
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
export declare const SEMRESATTRS_WEBENGINE_DESCRIPTION = "webengine.description";
/**
* Definition of available values for SemanticResourceAttributes
* This type is used for backward compatibility, you should use the individual exported
* constants SemanticResourceAttributes_XXXXX rather than the exported constant map. As any single reference
* to a constant map value will result in all strings being included into your bundle.
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification.
*/
export declare type SemanticResourceAttributes = {
/**
* Name of the cloud provider.
*/
CLOUD_PROVIDER: string;
CLOUD_PROVIDER: 'cloud.provider';
/**
* The cloud account ID the resource is assigned to.
*/
CLOUD_ACCOUNT_ID: string;
CLOUD_ACCOUNT_ID: 'cloud.account.id';
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
CLOUD_REGION: string;
CLOUD_REGION: 'cloud.region';
/**

@@ -19,3 +403,3 @@ * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.

*/
CLOUD_AVAILABILITY_ZONE: string;
CLOUD_AVAILABILITY_ZONE: 'cloud.availability_zone';
/**

@@ -26,31 +410,31 @@ * The cloud platform in use.

*/
CLOUD_PLATFORM: string;
CLOUD_PLATFORM: 'cloud.platform';
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
AWS_ECS_CONTAINER_ARN: string;
AWS_ECS_CONTAINER_ARN: 'aws.ecs.container.arn';
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
AWS_ECS_CLUSTER_ARN: string;
AWS_ECS_CLUSTER_ARN: 'aws.ecs.cluster.arn';
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
AWS_ECS_LAUNCHTYPE: string;
AWS_ECS_LAUNCHTYPE: 'aws.ecs.launchtype';
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
AWS_ECS_TASK_ARN: string;
AWS_ECS_TASK_ARN: 'aws.ecs.task.arn';
/**
* The task definition family this task definition is a member of.
*/
AWS_ECS_TASK_FAMILY: string;
AWS_ECS_TASK_FAMILY: 'aws.ecs.task.family';
/**
* The revision for this task definition.
*/
AWS_ECS_TASK_REVISION: string;
AWS_ECS_TASK_REVISION: 'aws.ecs.task.revision';
/**
* The ARN of an EKS cluster.
*/
AWS_EKS_CLUSTER_ARN: string;
AWS_EKS_CLUSTER_ARN: 'aws.eks.cluster.arn';
/**

@@ -61,3 +445,3 @@ * The name(s) of the AWS log group(s) an application is writing to.

*/
AWS_LOG_GROUP_NAMES: string;
AWS_LOG_GROUP_NAMES: 'aws.log.group.names';
/**

@@ -68,7 +452,7 @@ * The Amazon Resource Name(s) (ARN) of the AWS log group(s).

*/
AWS_LOG_GROUP_ARNS: string;
AWS_LOG_GROUP_ARNS: 'aws.log.group.arns';
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
AWS_LOG_STREAM_NAMES: string;
AWS_LOG_STREAM_NAMES: 'aws.log.stream.names';
/**

@@ -79,27 +463,27 @@ * The ARN(s) of the AWS log stream(s).

*/
AWS_LOG_STREAM_ARNS: string;
AWS_LOG_STREAM_ARNS: 'aws.log.stream.arns';
/**
* Container name.
*/
CONTAINER_NAME: string;
CONTAINER_NAME: 'container.name';
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
CONTAINER_ID: string;
CONTAINER_ID: 'container.id';
/**
* The container runtime managing this container.
*/
CONTAINER_RUNTIME: string;
CONTAINER_RUNTIME: 'container.runtime';
/**
* Name of the image the container was built on.
*/
CONTAINER_IMAGE_NAME: string;
CONTAINER_IMAGE_NAME: 'container.image.name';
/**
* Container image tag.
*/
CONTAINER_IMAGE_TAG: string;
CONTAINER_IMAGE_TAG: 'container.image.tag';
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
DEPLOYMENT_ENVIRONMENT: string;
DEPLOYMENT_ENVIRONMENT: 'deployment.environment';
/**

@@ -110,3 +494,3 @@ * A unique identifier representing the device.

*/
DEVICE_ID: string;
DEVICE_ID: 'device.id';
/**

@@ -117,3 +501,3 @@ * The model identifier for the device.

*/
DEVICE_MODEL_IDENTIFIER: string;
DEVICE_MODEL_IDENTIFIER: 'device.model.identifier';
/**

@@ -124,3 +508,3 @@ * The marketing name for the device model.

*/
DEVICE_MODEL_NAME: string;
DEVICE_MODEL_NAME: 'device.model.name';
/**

@@ -131,3 +515,3 @@ * The name of the single function that this runtime instance executes.

*/
FAAS_NAME: string;
FAAS_NAME: 'faas.name';
/**

@@ -151,3 +535,3 @@ * The unique ID of the single function that this runtime instance executes.

*/
FAAS_ID: string;
FAAS_ID: 'faas.id';
/**

@@ -166,3 +550,3 @@ * The immutable version of the function being executed.

*/
FAAS_VERSION: string;
FAAS_VERSION: 'faas.version';
/**

@@ -173,3 +557,3 @@ * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.

*/
FAAS_INSTANCE: string;
FAAS_INSTANCE: 'faas.instance';
/**

@@ -180,163 +564,163 @@ * The amount of memory available to the serverless function in MiB.

*/
FAAS_MAX_MEMORY: string;
FAAS_MAX_MEMORY: 'faas.max_memory';
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
HOST_ID: string;
HOST_ID: 'host.id';
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
HOST_NAME: string;
HOST_NAME: 'host.name';
/**
* Type of host. For Cloud, this must be the machine type.
*/
HOST_TYPE: string;
HOST_TYPE: 'host.type';
/**
* The CPU architecture the host system is running on.
*/
HOST_ARCH: string;
HOST_ARCH: 'host.arch';
/**
* Name of the VM image or OS install the host was instantiated from.
*/
HOST_IMAGE_NAME: string;
HOST_IMAGE_NAME: 'host.image.name';
/**
* VM image ID. For Cloud, this value is from the provider.
*/
HOST_IMAGE_ID: string;
HOST_IMAGE_ID: 'host.image.id';
/**
* The version string of the VM image as defined in [Version SpanAttributes](README.md#version-attributes).
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
HOST_IMAGE_VERSION: string;
HOST_IMAGE_VERSION: 'host.image.version';
/**
* The name of the cluster.
*/
K8S_CLUSTER_NAME: string;
K8S_CLUSTER_NAME: 'k8s.cluster.name';
/**
* The name of the Node.
*/
K8S_NODE_NAME: string;
K8S_NODE_NAME: 'k8s.node.name';
/**
* The UID of the Node.
*/
K8S_NODE_UID: string;
K8S_NODE_UID: 'k8s.node.uid';
/**
* The name of the namespace that the pod is running in.
*/
K8S_NAMESPACE_NAME: string;
K8S_NAMESPACE_NAME: 'k8s.namespace.name';
/**
* The UID of the Pod.
*/
K8S_POD_UID: string;
K8S_POD_UID: 'k8s.pod.uid';
/**
* The name of the Pod.
*/
K8S_POD_NAME: string;
K8S_POD_NAME: 'k8s.pod.name';
/**
* The name of the Container in a Pod template.
*/
K8S_CONTAINER_NAME: string;
K8S_CONTAINER_NAME: 'k8s.container.name';
/**
* The UID of the ReplicaSet.
*/
K8S_REPLICASET_UID: string;
K8S_REPLICASET_UID: 'k8s.replicaset.uid';
/**
* The name of the ReplicaSet.
*/
K8S_REPLICASET_NAME: string;
K8S_REPLICASET_NAME: 'k8s.replicaset.name';
/**
* The UID of the Deployment.
*/
K8S_DEPLOYMENT_UID: string;
K8S_DEPLOYMENT_UID: 'k8s.deployment.uid';
/**
* The name of the Deployment.
*/
K8S_DEPLOYMENT_NAME: string;
K8S_DEPLOYMENT_NAME: 'k8s.deployment.name';
/**
* The UID of the StatefulSet.
*/
K8S_STATEFULSET_UID: string;
K8S_STATEFULSET_UID: 'k8s.statefulset.uid';
/**
* The name of the StatefulSet.
*/
K8S_STATEFULSET_NAME: string;
K8S_STATEFULSET_NAME: 'k8s.statefulset.name';
/**
* The UID of the DaemonSet.
*/
K8S_DAEMONSET_UID: string;
K8S_DAEMONSET_UID: 'k8s.daemonset.uid';
/**
* The name of the DaemonSet.
*/
K8S_DAEMONSET_NAME: string;
K8S_DAEMONSET_NAME: 'k8s.daemonset.name';
/**
* The UID of the Job.
*/
K8S_JOB_UID: string;
K8S_JOB_UID: 'k8s.job.uid';
/**
* The name of the Job.
*/
K8S_JOB_NAME: string;
K8S_JOB_NAME: 'k8s.job.name';
/**
* The UID of the CronJob.
*/
K8S_CRONJOB_UID: string;
K8S_CRONJOB_UID: 'k8s.cronjob.uid';
/**
* The name of the CronJob.
*/
K8S_CRONJOB_NAME: string;
K8S_CRONJOB_NAME: 'k8s.cronjob.name';
/**
* The operating system type.
*/
OS_TYPE: string;
OS_TYPE: 'os.type';
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
OS_DESCRIPTION: string;
OS_DESCRIPTION: 'os.description';
/**
* Human readable operating system name.
*/
OS_NAME: string;
OS_NAME: 'os.name';
/**
* The version string of the operating system as defined in [Version SpanAttributes](../../resource/semantic_conventions/README.md#version-attributes).
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
OS_VERSION: string;
OS_VERSION: 'os.version';
/**
* Process identifier (PID).
*/
PROCESS_PID: string;
PROCESS_PID: 'process.pid';
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_NAME: string;
PROCESS_EXECUTABLE_NAME: 'process.executable.name';
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_PATH: string;
PROCESS_EXECUTABLE_PATH: 'process.executable.path';
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
PROCESS_COMMAND: string;
PROCESS_COMMAND: 'process.command';
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
PROCESS_COMMAND_LINE: string;
PROCESS_COMMAND_LINE: 'process.command_line';
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
PROCESS_COMMAND_ARGS: string;
PROCESS_COMMAND_ARGS: 'process.command_args';
/**
* The username of the user that owns the process.
*/
PROCESS_OWNER: string;
PROCESS_OWNER: 'process.owner';
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
PROCESS_RUNTIME_NAME: string;
PROCESS_RUNTIME_NAME: 'process.runtime.name';
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
PROCESS_RUNTIME_VERSION: string;
PROCESS_RUNTIME_VERSION: 'process.runtime.version';
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
PROCESS_RUNTIME_DESCRIPTION: string;
PROCESS_RUNTIME_DESCRIPTION: 'process.runtime.description';
/**

@@ -347,3 +731,3 @@ * Logical name of the service.

*/
SERVICE_NAME: string;
SERVICE_NAME: 'service.name';
/**

@@ -354,3 +738,3 @@ * A namespace for `service.name`.

*/
SERVICE_NAMESPACE: string;
SERVICE_NAMESPACE: 'service.namespace';
/**

@@ -361,156 +745,461 @@ * The string ID of the service instance.

*/
SERVICE_INSTANCE_ID: string;
SERVICE_INSTANCE_ID: 'service.instance.id';
/**
* The version string of the service API or implementation.
*/
SERVICE_VERSION: string;
SERVICE_VERSION: 'service.version';
/**
* The name of the telemetry SDK as defined above.
*/
TELEMETRY_SDK_NAME: string;
TELEMETRY_SDK_NAME: 'telemetry.sdk.name';
/**
* The language of the telemetry SDK.
*/
TELEMETRY_SDK_LANGUAGE: string;
TELEMETRY_SDK_LANGUAGE: 'telemetry.sdk.language';
/**
* The version string of the telemetry SDK.
*/
TELEMETRY_SDK_VERSION: string;
TELEMETRY_SDK_VERSION: 'telemetry.sdk.version';
/**
* The version string of the auto instrumentation agent, if used.
*/
TELEMETRY_AUTO_VERSION: string;
TELEMETRY_AUTO_VERSION: 'telemetry.auto.version';
/**
* The name of the web engine.
*/
WEBENGINE_NAME: string;
WEBENGINE_NAME: 'webengine.name';
/**
* The version of the web engine.
*/
WEBENGINE_VERSION: string;
WEBENGINE_VERSION: 'webengine.version';
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
WEBENGINE_DESCRIPTION: string;
WEBENGINE_DESCRIPTION: 'webengine.description';
};
export declare const CloudProviderValues: {
/**
* Create exported Value Map for SemanticResourceAttributes values
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification
*/
export declare const SemanticResourceAttributes: SemanticResourceAttributes;
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = "alibaba_cloud";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_AWS = "aws";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_AZURE = "azure";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_GCP = "gcp";
/**
* Identifies the Values for CloudProviderValues enum definition
*
* Name of the cloud provider.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export declare type CloudProviderValues = {
/** Alibaba Cloud. */
readonly ALIBABA_CLOUD: "alibaba_cloud";
ALIBABA_CLOUD: 'alibaba_cloud';
/** Amazon Web Services. */
readonly AWS: "aws";
AWS: 'aws';
/** Microsoft Azure. */
readonly AZURE: "azure";
AZURE: 'azure';
/** Google Cloud Platform. */
readonly GCP: "gcp";
GCP: 'gcp';
};
export declare type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues];
export declare const CloudPlatformValues: {
/**
* The constant map of values for CloudProviderValues.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export declare const CloudProviderValues: CloudProviderValues;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = "alibaba_cloud_fc";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_EC2 = "aws_ec2";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_ECS = "aws_ecs";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_EKS = "aws_eks";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_LAMBDA = "aws_lambda";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_VM = "azure_vm";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = "azure_container_instances";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_AKS = "azure_aks";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = "azure_functions";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = "azure_app_service";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = "gcp_compute_engine";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = "gcp_cloud_run";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_APP_ENGINE = "gcp_app_engine";
/**
* Identifies the Values for CloudPlatformValues enum definition
*
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export declare type CloudPlatformValues = {
/** Alibaba Cloud Elastic Compute Service. */
readonly ALIBABA_CLOUD_ECS: "alibaba_cloud_ecs";
ALIBABA_CLOUD_ECS: 'alibaba_cloud_ecs';
/** Alibaba Cloud Function Compute. */
readonly ALIBABA_CLOUD_FC: "alibaba_cloud_fc";
ALIBABA_CLOUD_FC: 'alibaba_cloud_fc';
/** AWS Elastic Compute Cloud. */
readonly AWS_EC2: "aws_ec2";
AWS_EC2: 'aws_ec2';
/** AWS Elastic Container Service. */
readonly AWS_ECS: "aws_ecs";
AWS_ECS: 'aws_ecs';
/** AWS Elastic Kubernetes Service. */
readonly AWS_EKS: "aws_eks";
AWS_EKS: 'aws_eks';
/** AWS Lambda. */
readonly AWS_LAMBDA: "aws_lambda";
AWS_LAMBDA: 'aws_lambda';
/** AWS Elastic Beanstalk. */
readonly AWS_ELASTIC_BEANSTALK: "aws_elastic_beanstalk";
AWS_ELASTIC_BEANSTALK: 'aws_elastic_beanstalk';
/** Azure Virtual Machines. */
readonly AZURE_VM: "azure_vm";
AZURE_VM: 'azure_vm';
/** Azure Container Instances. */
readonly AZURE_CONTAINER_INSTANCES: "azure_container_instances";
AZURE_CONTAINER_INSTANCES: 'azure_container_instances';
/** Azure Kubernetes Service. */
readonly AZURE_AKS: "azure_aks";
AZURE_AKS: 'azure_aks';
/** Azure Functions. */
readonly AZURE_FUNCTIONS: "azure_functions";
AZURE_FUNCTIONS: 'azure_functions';
/** Azure App Service. */
readonly AZURE_APP_SERVICE: "azure_app_service";
AZURE_APP_SERVICE: 'azure_app_service';
/** Google Cloud Compute Engine (GCE). */
readonly GCP_COMPUTE_ENGINE: "gcp_compute_engine";
GCP_COMPUTE_ENGINE: 'gcp_compute_engine';
/** Google Cloud Run. */
readonly GCP_CLOUD_RUN: "gcp_cloud_run";
GCP_CLOUD_RUN: 'gcp_cloud_run';
/** Google Cloud Kubernetes Engine (GKE). */
readonly GCP_KUBERNETES_ENGINE: "gcp_kubernetes_engine";
GCP_KUBERNETES_ENGINE: 'gcp_kubernetes_engine';
/** Google Cloud Functions (GCF). */
readonly GCP_CLOUD_FUNCTIONS: "gcp_cloud_functions";
GCP_CLOUD_FUNCTIONS: 'gcp_cloud_functions';
/** Google Cloud App Engine (GAE). */
readonly GCP_APP_ENGINE: "gcp_app_engine";
GCP_APP_ENGINE: 'gcp_app_engine';
};
export declare type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues];
export declare const AwsEcsLaunchtypeValues: {
/**
* The constant map of values for CloudPlatformValues.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export declare const CloudPlatformValues: CloudPlatformValues;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const AWSECSLAUNCHTYPEVALUES_EC2 = "ec2";
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const AWSECSLAUNCHTYPEVALUES_FARGATE = "fargate";
/**
* Identifies the Values for AwsEcsLaunchtypeValues enum definition
*
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export declare type AwsEcsLaunchtypeValues = {
/** ec2. */
readonly EC2: "ec2";
EC2: 'ec2';
/** fargate. */
readonly FARGATE: "fargate";
FARGATE: 'fargate';
};
export declare type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues];
export declare const HostArchValues: {
/**
* The constant map of values for AwsEcsLaunchtypeValues.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export declare const AwsEcsLaunchtypeValues: AwsEcsLaunchtypeValues;
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_AMD64 = "amd64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_ARM32 = "arm32";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_ARM64 = "arm64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_IA64 = "ia64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_PPC32 = "ppc32";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_PPC64 = "ppc64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_X86 = "x86";
/**
* Identifies the Values for HostArchValues enum definition
*
* The CPU architecture the host system is running on.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export declare type HostArchValues = {
/** AMD64. */
readonly AMD64: "amd64";
AMD64: 'amd64';
/** ARM32. */
readonly ARM32: "arm32";
ARM32: 'arm32';
/** ARM64. */
readonly ARM64: "arm64";
ARM64: 'arm64';
/** Itanium. */
readonly IA64: "ia64";
IA64: 'ia64';
/** 32-bit PowerPC. */
readonly PPC32: "ppc32";
PPC32: 'ppc32';
/** 64-bit PowerPC. */
readonly PPC64: "ppc64";
PPC64: 'ppc64';
/** 32-bit x86. */
readonly X86: "x86";
X86: 'x86';
};
export declare type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues];
export declare const OsTypeValues: {
/**
* The constant map of values for HostArchValues.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export declare const HostArchValues: HostArchValues;
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_WINDOWS = "windows";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_LINUX = "linux";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_DARWIN = "darwin";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_FREEBSD = "freebsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_NETBSD = "netbsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_OPENBSD = "openbsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_DRAGONFLYBSD = "dragonflybsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_HPUX = "hpux";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_AIX = "aix";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_SOLARIS = "solaris";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_Z_OS = "z_os";
/**
* Identifies the Values for OsTypeValues enum definition
*
* The operating system type.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export declare type OsTypeValues = {
/** Microsoft Windows. */
readonly WINDOWS: "windows";
WINDOWS: 'windows';
/** Linux. */
readonly LINUX: "linux";
LINUX: 'linux';
/** Apple Darwin. */
readonly DARWIN: "darwin";
DARWIN: 'darwin';
/** FreeBSD. */
readonly FREEBSD: "freebsd";
FREEBSD: 'freebsd';
/** NetBSD. */
readonly NETBSD: "netbsd";
NETBSD: 'netbsd';
/** OpenBSD. */
readonly OPENBSD: "openbsd";
OPENBSD: 'openbsd';
/** DragonFly BSD. */
readonly DRAGONFLYBSD: "dragonflybsd";
DRAGONFLYBSD: 'dragonflybsd';
/** HP-UX (Hewlett Packard Unix). */
readonly HPUX: "hpux";
HPUX: 'hpux';
/** AIX (Advanced Interactive eXecutive). */
readonly AIX: "aix";
AIX: 'aix';
/** Oracle Solaris. */
readonly SOLARIS: "solaris";
SOLARIS: 'solaris';
/** IBM z/OS. */
readonly Z_OS: "z_os";
Z_OS: 'z_os';
};
export declare type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues];
export declare const TelemetrySdkLanguageValues: {
/**
* The constant map of values for OsTypeValues.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export declare const OsTypeValues: OsTypeValues;
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_CPP = "cpp";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_DOTNET = "dotnet";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_ERLANG = "erlang";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_GO = "go";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_JAVA = "java";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_NODEJS = "nodejs";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_PHP = "php";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_PYTHON = "python";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_RUBY = "ruby";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_WEBJS = "webjs";
/**
* Identifies the Values for TelemetrySdkLanguageValues enum definition
*
* The language of the telemetry SDK.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export declare type TelemetrySdkLanguageValues = {
/** cpp. */
readonly CPP: "cpp";
CPP: 'cpp';
/** dotnet. */
readonly DOTNET: "dotnet";
DOTNET: 'dotnet';
/** erlang. */
readonly ERLANG: "erlang";
ERLANG: 'erlang';
/** go. */
readonly GO: "go";
GO: 'go';
/** java. */
readonly JAVA: "java";
JAVA: 'java';
/** nodejs. */
readonly NODEJS: "nodejs";
NODEJS: 'nodejs';
/** php. */
readonly PHP: "php";
PHP: 'php';
/** python. */
readonly PYTHON: "python";
PYTHON: 'python';
/** ruby. */
readonly RUBY: "ruby";
RUBY: 'ruby';
/** webjs. */
readonly WEBJS: "webjs";
WEBJS: 'webjs';
};
export declare type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues];
/**
* The constant map of values for TelemetrySdkLanguageValues.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export declare const TelemetrySdkLanguageValues: TelemetrySdkLanguageValues;
//# sourceMappingURL=SemanticResourceAttributes.d.ts.map

@@ -16,496 +16,983 @@ /*

*/
import { createConstMap } from '../internal/utils';
//----------------------------------------------------------------------------------------------------------
// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2
export const SemanticResourceAttributes = {
/**
* Name of the cloud provider.
*/
CLOUD_PROVIDER: 'cloud.provider',
/**
* The cloud account ID the resource is assigned to.
*/
CLOUD_ACCOUNT_ID: 'cloud.account.id',
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
CLOUD_REGION: 'cloud.region',
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
CLOUD_AVAILABILITY_ZONE: 'cloud.availability_zone',
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
CLOUD_PLATFORM: 'cloud.platform',
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
AWS_ECS_CONTAINER_ARN: 'aws.ecs.container.arn',
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
AWS_ECS_CLUSTER_ARN: 'aws.ecs.cluster.arn',
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
AWS_ECS_LAUNCHTYPE: 'aws.ecs.launchtype',
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
AWS_ECS_TASK_ARN: 'aws.ecs.task.arn',
/**
* The task definition family this task definition is a member of.
*/
AWS_ECS_TASK_FAMILY: 'aws.ecs.task.family',
/**
* The revision for this task definition.
*/
AWS_ECS_TASK_REVISION: 'aws.ecs.task.revision',
/**
* The ARN of an EKS cluster.
*/
AWS_EKS_CLUSTER_ARN: 'aws.eks.cluster.arn',
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
AWS_LOG_GROUP_NAMES: 'aws.log.group.names',
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
AWS_LOG_GROUP_ARNS: 'aws.log.group.arns',
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
AWS_LOG_STREAM_NAMES: 'aws.log.stream.names',
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
AWS_LOG_STREAM_ARNS: 'aws.log.stream.arns',
/**
* Container name.
*/
CONTAINER_NAME: 'container.name',
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
CONTAINER_ID: 'container.id',
/**
* The container runtime managing this container.
*/
CONTAINER_RUNTIME: 'container.runtime',
/**
* Name of the image the container was built on.
*/
CONTAINER_IMAGE_NAME: 'container.image.name',
/**
* Container image tag.
*/
CONTAINER_IMAGE_TAG: 'container.image.tag',
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
DEPLOYMENT_ENVIRONMENT: 'deployment.environment',
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
DEVICE_ID: 'device.id',
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
DEVICE_MODEL_IDENTIFIER: 'device.model.identifier',
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
DEVICE_MODEL_NAME: 'device.model.name',
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
FAAS_NAME: 'faas.name',
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
FAAS_ID: 'faas.id',
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
FAAS_VERSION: 'faas.version',
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
FAAS_INSTANCE: 'faas.instance',
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
FAAS_MAX_MEMORY: 'faas.max_memory',
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
HOST_ID: 'host.id',
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
HOST_NAME: 'host.name',
/**
* Type of host. For Cloud, this must be the machine type.
*/
HOST_TYPE: 'host.type',
/**
* The CPU architecture the host system is running on.
*/
HOST_ARCH: 'host.arch',
/**
* Name of the VM image or OS install the host was instantiated from.
*/
HOST_IMAGE_NAME: 'host.image.name',
/**
* VM image ID. For Cloud, this value is from the provider.
*/
HOST_IMAGE_ID: 'host.image.id',
/**
* The version string of the VM image as defined in [Version SpanAttributes](README.md#version-attributes).
*/
HOST_IMAGE_VERSION: 'host.image.version',
/**
* The name of the cluster.
*/
K8S_CLUSTER_NAME: 'k8s.cluster.name',
/**
* The name of the Node.
*/
K8S_NODE_NAME: 'k8s.node.name',
/**
* The UID of the Node.
*/
K8S_NODE_UID: 'k8s.node.uid',
/**
* The name of the namespace that the pod is running in.
*/
K8S_NAMESPACE_NAME: 'k8s.namespace.name',
/**
* The UID of the Pod.
*/
K8S_POD_UID: 'k8s.pod.uid',
/**
* The name of the Pod.
*/
K8S_POD_NAME: 'k8s.pod.name',
/**
* The name of the Container in a Pod template.
*/
K8S_CONTAINER_NAME: 'k8s.container.name',
/**
* The UID of the ReplicaSet.
*/
K8S_REPLICASET_UID: 'k8s.replicaset.uid',
/**
* The name of the ReplicaSet.
*/
K8S_REPLICASET_NAME: 'k8s.replicaset.name',
/**
* The UID of the Deployment.
*/
K8S_DEPLOYMENT_UID: 'k8s.deployment.uid',
/**
* The name of the Deployment.
*/
K8S_DEPLOYMENT_NAME: 'k8s.deployment.name',
/**
* The UID of the StatefulSet.
*/
K8S_STATEFULSET_UID: 'k8s.statefulset.uid',
/**
* The name of the StatefulSet.
*/
K8S_STATEFULSET_NAME: 'k8s.statefulset.name',
/**
* The UID of the DaemonSet.
*/
K8S_DAEMONSET_UID: 'k8s.daemonset.uid',
/**
* The name of the DaemonSet.
*/
K8S_DAEMONSET_NAME: 'k8s.daemonset.name',
/**
* The UID of the Job.
*/
K8S_JOB_UID: 'k8s.job.uid',
/**
* The name of the Job.
*/
K8S_JOB_NAME: 'k8s.job.name',
/**
* The UID of the CronJob.
*/
K8S_CRONJOB_UID: 'k8s.cronjob.uid',
/**
* The name of the CronJob.
*/
K8S_CRONJOB_NAME: 'k8s.cronjob.name',
/**
* The operating system type.
*/
OS_TYPE: 'os.type',
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
OS_DESCRIPTION: 'os.description',
/**
* Human readable operating system name.
*/
OS_NAME: 'os.name',
/**
* The version string of the operating system as defined in [Version SpanAttributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
OS_VERSION: 'os.version',
/**
* Process identifier (PID).
*/
PROCESS_PID: 'process.pid',
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_NAME: 'process.executable.name',
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_PATH: 'process.executable.path',
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
PROCESS_COMMAND: 'process.command',
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
PROCESS_COMMAND_LINE: 'process.command_line',
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
PROCESS_COMMAND_ARGS: 'process.command_args',
/**
* The username of the user that owns the process.
*/
PROCESS_OWNER: 'process.owner',
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
PROCESS_RUNTIME_NAME: 'process.runtime.name',
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
PROCESS_RUNTIME_VERSION: 'process.runtime.version',
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
PROCESS_RUNTIME_DESCRIPTION: 'process.runtime.description',
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
SERVICE_NAME: 'service.name',
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
SERVICE_NAMESPACE: 'service.namespace',
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
SERVICE_INSTANCE_ID: 'service.instance.id',
/**
* The version string of the service API or implementation.
*/
SERVICE_VERSION: 'service.version',
/**
* The name of the telemetry SDK as defined above.
*/
TELEMETRY_SDK_NAME: 'telemetry.sdk.name',
/**
* The language of the telemetry SDK.
*/
TELEMETRY_SDK_LANGUAGE: 'telemetry.sdk.language',
/**
* The version string of the telemetry SDK.
*/
TELEMETRY_SDK_VERSION: 'telemetry.sdk.version',
/**
* The version string of the auto instrumentation agent, if used.
*/
TELEMETRY_AUTO_VERSION: 'telemetry.auto.version',
/**
* The name of the web engine.
*/
WEBENGINE_NAME: 'webengine.name',
/**
* The version of the web engine.
*/
WEBENGINE_VERSION: 'webengine.version',
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
WEBENGINE_DESCRIPTION: 'webengine.description',
};
export const CloudProviderValues = {
/** Alibaba Cloud. */
ALIBABA_CLOUD: 'alibaba_cloud',
/** Amazon Web Services. */
AWS: 'aws',
/** Microsoft Azure. */
AZURE: 'azure',
/** Google Cloud Platform. */
GCP: 'gcp',
};
export const CloudPlatformValues = {
/** Alibaba Cloud Elastic Compute Service. */
ALIBABA_CLOUD_ECS: 'alibaba_cloud_ecs',
/** Alibaba Cloud Function Compute. */
ALIBABA_CLOUD_FC: 'alibaba_cloud_fc',
/** AWS Elastic Compute Cloud. */
AWS_EC2: 'aws_ec2',
/** AWS Elastic Container Service. */
AWS_ECS: 'aws_ecs',
/** AWS Elastic Kubernetes Service. */
AWS_EKS: 'aws_eks',
/** AWS Lambda. */
AWS_LAMBDA: 'aws_lambda',
/** AWS Elastic Beanstalk. */
AWS_ELASTIC_BEANSTALK: 'aws_elastic_beanstalk',
/** Azure Virtual Machines. */
AZURE_VM: 'azure_vm',
/** Azure Container Instances. */
AZURE_CONTAINER_INSTANCES: 'azure_container_instances',
/** Azure Kubernetes Service. */
AZURE_AKS: 'azure_aks',
/** Azure Functions. */
AZURE_FUNCTIONS: 'azure_functions',
/** Azure App Service. */
AZURE_APP_SERVICE: 'azure_app_service',
/** Google Cloud Compute Engine (GCE). */
GCP_COMPUTE_ENGINE: 'gcp_compute_engine',
/** Google Cloud Run. */
GCP_CLOUD_RUN: 'gcp_cloud_run',
/** Google Cloud Kubernetes Engine (GKE). */
GCP_KUBERNETES_ENGINE: 'gcp_kubernetes_engine',
/** Google Cloud Functions (GCF). */
GCP_CLOUD_FUNCTIONS: 'gcp_cloud_functions',
/** Google Cloud App Engine (GAE). */
GCP_APP_ENGINE: 'gcp_app_engine',
};
export const AwsEcsLaunchtypeValues = {
/** ec2. */
EC2: 'ec2',
/** fargate. */
FARGATE: 'fargate',
};
export const HostArchValues = {
/** AMD64. */
AMD64: 'amd64',
/** ARM32. */
ARM32: 'arm32',
/** ARM64. */
ARM64: 'arm64',
/** Itanium. */
IA64: 'ia64',
/** 32-bit PowerPC. */
PPC32: 'ppc32',
/** 64-bit PowerPC. */
PPC64: 'ppc64',
/** 32-bit x86. */
X86: 'x86',
};
export const OsTypeValues = {
/** Microsoft Windows. */
WINDOWS: 'windows',
/** Linux. */
LINUX: 'linux',
/** Apple Darwin. */
DARWIN: 'darwin',
/** FreeBSD. */
FREEBSD: 'freebsd',
/** NetBSD. */
NETBSD: 'netbsd',
/** OpenBSD. */
OPENBSD: 'openbsd',
/** DragonFly BSD. */
DRAGONFLYBSD: 'dragonflybsd',
/** HP-UX (Hewlett Packard Unix). */
HPUX: 'hpux',
/** AIX (Advanced Interactive eXecutive). */
AIX: 'aix',
/** Oracle Solaris. */
SOLARIS: 'solaris',
/** IBM z/OS. */
Z_OS: 'z_os',
};
export const TelemetrySdkLanguageValues = {
/** cpp. */
CPP: 'cpp',
/** dotnet. */
DOTNET: 'dotnet',
/** erlang. */
ERLANG: 'erlang',
/** go. */
GO: 'go',
/** java. */
JAVA: 'java',
/** nodejs. */
NODEJS: 'nodejs',
/** php. */
PHP: 'php',
/** python. */
PYTHON: 'python',
/** ruby. */
RUBY: 'ruby',
/** webjs. */
WEBJS: 'webjs',
};
//----------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------
// Constant values for SemanticResourceAttributes
//----------------------------------------------------------------------------------------------------------
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_CLOUD_PROVIDER = 'cloud.provider';
const TMP_CLOUD_ACCOUNT_ID = 'cloud.account.id';
const TMP_CLOUD_REGION = 'cloud.region';
const TMP_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone';
const TMP_CLOUD_PLATFORM = 'cloud.platform';
const TMP_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn';
const TMP_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn';
const TMP_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype';
const TMP_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn';
const TMP_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family';
const TMP_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision';
const TMP_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn';
const TMP_AWS_LOG_GROUP_NAMES = 'aws.log.group.names';
const TMP_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns';
const TMP_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names';
const TMP_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns';
const TMP_CONTAINER_NAME = 'container.name';
const TMP_CONTAINER_ID = 'container.id';
const TMP_CONTAINER_RUNTIME = 'container.runtime';
const TMP_CONTAINER_IMAGE_NAME = 'container.image.name';
const TMP_CONTAINER_IMAGE_TAG = 'container.image.tag';
const TMP_DEPLOYMENT_ENVIRONMENT = 'deployment.environment';
const TMP_DEVICE_ID = 'device.id';
const TMP_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier';
const TMP_DEVICE_MODEL_NAME = 'device.model.name';
const TMP_FAAS_NAME = 'faas.name';
const TMP_FAAS_ID = 'faas.id';
const TMP_FAAS_VERSION = 'faas.version';
const TMP_FAAS_INSTANCE = 'faas.instance';
const TMP_FAAS_MAX_MEMORY = 'faas.max_memory';
const TMP_HOST_ID = 'host.id';
const TMP_HOST_NAME = 'host.name';
const TMP_HOST_TYPE = 'host.type';
const TMP_HOST_ARCH = 'host.arch';
const TMP_HOST_IMAGE_NAME = 'host.image.name';
const TMP_HOST_IMAGE_ID = 'host.image.id';
const TMP_HOST_IMAGE_VERSION = 'host.image.version';
const TMP_K8S_CLUSTER_NAME = 'k8s.cluster.name';
const TMP_K8S_NODE_NAME = 'k8s.node.name';
const TMP_K8S_NODE_UID = 'k8s.node.uid';
const TMP_K8S_NAMESPACE_NAME = 'k8s.namespace.name';
const TMP_K8S_POD_UID = 'k8s.pod.uid';
const TMP_K8S_POD_NAME = 'k8s.pod.name';
const TMP_K8S_CONTAINER_NAME = 'k8s.container.name';
const TMP_K8S_REPLICASET_UID = 'k8s.replicaset.uid';
const TMP_K8S_REPLICASET_NAME = 'k8s.replicaset.name';
const TMP_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid';
const TMP_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name';
const TMP_K8S_STATEFULSET_UID = 'k8s.statefulset.uid';
const TMP_K8S_STATEFULSET_NAME = 'k8s.statefulset.name';
const TMP_K8S_DAEMONSET_UID = 'k8s.daemonset.uid';
const TMP_K8S_DAEMONSET_NAME = 'k8s.daemonset.name';
const TMP_K8S_JOB_UID = 'k8s.job.uid';
const TMP_K8S_JOB_NAME = 'k8s.job.name';
const TMP_K8S_CRONJOB_UID = 'k8s.cronjob.uid';
const TMP_K8S_CRONJOB_NAME = 'k8s.cronjob.name';
const TMP_OS_TYPE = 'os.type';
const TMP_OS_DESCRIPTION = 'os.description';
const TMP_OS_NAME = 'os.name';
const TMP_OS_VERSION = 'os.version';
const TMP_PROCESS_PID = 'process.pid';
const TMP_PROCESS_EXECUTABLE_NAME = 'process.executable.name';
const TMP_PROCESS_EXECUTABLE_PATH = 'process.executable.path';
const TMP_PROCESS_COMMAND = 'process.command';
const TMP_PROCESS_COMMAND_LINE = 'process.command_line';
const TMP_PROCESS_COMMAND_ARGS = 'process.command_args';
const TMP_PROCESS_OWNER = 'process.owner';
const TMP_PROCESS_RUNTIME_NAME = 'process.runtime.name';
const TMP_PROCESS_RUNTIME_VERSION = 'process.runtime.version';
const TMP_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description';
const TMP_SERVICE_NAME = 'service.name';
const TMP_SERVICE_NAMESPACE = 'service.namespace';
const TMP_SERVICE_INSTANCE_ID = 'service.instance.id';
const TMP_SERVICE_VERSION = 'service.version';
const TMP_TELEMETRY_SDK_NAME = 'telemetry.sdk.name';
const TMP_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language';
const TMP_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version';
const TMP_TELEMETRY_AUTO_VERSION = 'telemetry.auto.version';
const TMP_WEBENGINE_NAME = 'webengine.name';
const TMP_WEBENGINE_VERSION = 'webengine.version';
const TMP_WEBENGINE_DESCRIPTION = 'webengine.description';
/**
* Name of the cloud provider.
*/
export const SEMRESATTRS_CLOUD_PROVIDER = TMP_CLOUD_PROVIDER;
/**
* The cloud account ID the resource is assigned to.
*/
export const SEMRESATTRS_CLOUD_ACCOUNT_ID = TMP_CLOUD_ACCOUNT_ID;
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
export const SEMRESATTRS_CLOUD_REGION = TMP_CLOUD_REGION;
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
export const SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = TMP_CLOUD_AVAILABILITY_ZONE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const SEMRESATTRS_CLOUD_PLATFORM = TMP_CLOUD_PLATFORM;
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
export const SEMRESATTRS_AWS_ECS_CONTAINER_ARN = TMP_AWS_ECS_CONTAINER_ARN;
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
export const SEMRESATTRS_AWS_ECS_CLUSTER_ARN = TMP_AWS_ECS_CLUSTER_ARN;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export const SEMRESATTRS_AWS_ECS_LAUNCHTYPE = TMP_AWS_ECS_LAUNCHTYPE;
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
export const SEMRESATTRS_AWS_ECS_TASK_ARN = TMP_AWS_ECS_TASK_ARN;
/**
* The task definition family this task definition is a member of.
*/
export const SEMRESATTRS_AWS_ECS_TASK_FAMILY = TMP_AWS_ECS_TASK_FAMILY;
/**
* The revision for this task definition.
*/
export const SEMRESATTRS_AWS_ECS_TASK_REVISION = TMP_AWS_ECS_TASK_REVISION;
/**
* The ARN of an EKS cluster.
*/
export const SEMRESATTRS_AWS_EKS_CLUSTER_ARN = TMP_AWS_EKS_CLUSTER_ARN;
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
export const SEMRESATTRS_AWS_LOG_GROUP_NAMES = TMP_AWS_LOG_GROUP_NAMES;
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
export const SEMRESATTRS_AWS_LOG_GROUP_ARNS = TMP_AWS_LOG_GROUP_ARNS;
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
export const SEMRESATTRS_AWS_LOG_STREAM_NAMES = TMP_AWS_LOG_STREAM_NAMES;
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
export const SEMRESATTRS_AWS_LOG_STREAM_ARNS = TMP_AWS_LOG_STREAM_ARNS;
/**
* Container name.
*/
export const SEMRESATTRS_CONTAINER_NAME = TMP_CONTAINER_NAME;
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
export const SEMRESATTRS_CONTAINER_ID = TMP_CONTAINER_ID;
/**
* The container runtime managing this container.
*/
export const SEMRESATTRS_CONTAINER_RUNTIME = TMP_CONTAINER_RUNTIME;
/**
* Name of the image the container was built on.
*/
export const SEMRESATTRS_CONTAINER_IMAGE_NAME = TMP_CONTAINER_IMAGE_NAME;
/**
* Container image tag.
*/
export const SEMRESATTRS_CONTAINER_IMAGE_TAG = TMP_CONTAINER_IMAGE_TAG;
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
export const SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = TMP_DEPLOYMENT_ENVIRONMENT;
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
export const SEMRESATTRS_DEVICE_ID = TMP_DEVICE_ID;
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
export const SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = TMP_DEVICE_MODEL_IDENTIFIER;
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
export const SEMRESATTRS_DEVICE_MODEL_NAME = TMP_DEVICE_MODEL_NAME;
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
export const SEMRESATTRS_FAAS_NAME = TMP_FAAS_NAME;
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
export const SEMRESATTRS_FAAS_ID = TMP_FAAS_ID;
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
export const SEMRESATTRS_FAAS_VERSION = TMP_FAAS_VERSION;
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
export const SEMRESATTRS_FAAS_INSTANCE = TMP_FAAS_INSTANCE;
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
export const SEMRESATTRS_FAAS_MAX_MEMORY = TMP_FAAS_MAX_MEMORY;
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
export const SEMRESATTRS_HOST_ID = TMP_HOST_ID;
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
export const SEMRESATTRS_HOST_NAME = TMP_HOST_NAME;
/**
* Type of host. For Cloud, this must be the machine type.
*/
export const SEMRESATTRS_HOST_TYPE = TMP_HOST_TYPE;
/**
* The CPU architecture the host system is running on.
*/
export const SEMRESATTRS_HOST_ARCH = TMP_HOST_ARCH;
/**
* Name of the VM image or OS install the host was instantiated from.
*/
export const SEMRESATTRS_HOST_IMAGE_NAME = TMP_HOST_IMAGE_NAME;
/**
* VM image ID. For Cloud, this value is from the provider.
*/
export const SEMRESATTRS_HOST_IMAGE_ID = TMP_HOST_IMAGE_ID;
/**
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
export const SEMRESATTRS_HOST_IMAGE_VERSION = TMP_HOST_IMAGE_VERSION;
/**
* The name of the cluster.
*/
export const SEMRESATTRS_K8S_CLUSTER_NAME = TMP_K8S_CLUSTER_NAME;
/**
* The name of the Node.
*/
export const SEMRESATTRS_K8S_NODE_NAME = TMP_K8S_NODE_NAME;
/**
* The UID of the Node.
*/
export const SEMRESATTRS_K8S_NODE_UID = TMP_K8S_NODE_UID;
/**
* The name of the namespace that the pod is running in.
*/
export const SEMRESATTRS_K8S_NAMESPACE_NAME = TMP_K8S_NAMESPACE_NAME;
/**
* The UID of the Pod.
*/
export const SEMRESATTRS_K8S_POD_UID = TMP_K8S_POD_UID;
/**
* The name of the Pod.
*/
export const SEMRESATTRS_K8S_POD_NAME = TMP_K8S_POD_NAME;
/**
* The name of the Container in a Pod template.
*/
export const SEMRESATTRS_K8S_CONTAINER_NAME = TMP_K8S_CONTAINER_NAME;
/**
* The UID of the ReplicaSet.
*/
export const SEMRESATTRS_K8S_REPLICASET_UID = TMP_K8S_REPLICASET_UID;
/**
* The name of the ReplicaSet.
*/
export const SEMRESATTRS_K8S_REPLICASET_NAME = TMP_K8S_REPLICASET_NAME;
/**
* The UID of the Deployment.
*/
export const SEMRESATTRS_K8S_DEPLOYMENT_UID = TMP_K8S_DEPLOYMENT_UID;
/**
* The name of the Deployment.
*/
export const SEMRESATTRS_K8S_DEPLOYMENT_NAME = TMP_K8S_DEPLOYMENT_NAME;
/**
* The UID of the StatefulSet.
*/
export const SEMRESATTRS_K8S_STATEFULSET_UID = TMP_K8S_STATEFULSET_UID;
/**
* The name of the StatefulSet.
*/
export const SEMRESATTRS_K8S_STATEFULSET_NAME = TMP_K8S_STATEFULSET_NAME;
/**
* The UID of the DaemonSet.
*/
export const SEMRESATTRS_K8S_DAEMONSET_UID = TMP_K8S_DAEMONSET_UID;
/**
* The name of the DaemonSet.
*/
export const SEMRESATTRS_K8S_DAEMONSET_NAME = TMP_K8S_DAEMONSET_NAME;
/**
* The UID of the Job.
*/
export const SEMRESATTRS_K8S_JOB_UID = TMP_K8S_JOB_UID;
/**
* The name of the Job.
*/
export const SEMRESATTRS_K8S_JOB_NAME = TMP_K8S_JOB_NAME;
/**
* The UID of the CronJob.
*/
export const SEMRESATTRS_K8S_CRONJOB_UID = TMP_K8S_CRONJOB_UID;
/**
* The name of the CronJob.
*/
export const SEMRESATTRS_K8S_CRONJOB_NAME = TMP_K8S_CRONJOB_NAME;
/**
* The operating system type.
*/
export const SEMRESATTRS_OS_TYPE = TMP_OS_TYPE;
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
export const SEMRESATTRS_OS_DESCRIPTION = TMP_OS_DESCRIPTION;
/**
* Human readable operating system name.
*/
export const SEMRESATTRS_OS_NAME = TMP_OS_NAME;
/**
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
export const SEMRESATTRS_OS_VERSION = TMP_OS_VERSION;
/**
* Process identifier (PID).
*/
export const SEMRESATTRS_PROCESS_PID = TMP_PROCESS_PID;
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
export const SEMRESATTRS_PROCESS_EXECUTABLE_NAME = TMP_PROCESS_EXECUTABLE_NAME;
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
export const SEMRESATTRS_PROCESS_EXECUTABLE_PATH = TMP_PROCESS_EXECUTABLE_PATH;
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
export const SEMRESATTRS_PROCESS_COMMAND = TMP_PROCESS_COMMAND;
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
export const SEMRESATTRS_PROCESS_COMMAND_LINE = TMP_PROCESS_COMMAND_LINE;
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
export const SEMRESATTRS_PROCESS_COMMAND_ARGS = TMP_PROCESS_COMMAND_ARGS;
/**
* The username of the user that owns the process.
*/
export const SEMRESATTRS_PROCESS_OWNER = TMP_PROCESS_OWNER;
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
export const SEMRESATTRS_PROCESS_RUNTIME_NAME = TMP_PROCESS_RUNTIME_NAME;
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
export const SEMRESATTRS_PROCESS_RUNTIME_VERSION = TMP_PROCESS_RUNTIME_VERSION;
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
export const SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = TMP_PROCESS_RUNTIME_DESCRIPTION;
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
export const SEMRESATTRS_SERVICE_NAME = TMP_SERVICE_NAME;
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
export const SEMRESATTRS_SERVICE_NAMESPACE = TMP_SERVICE_NAMESPACE;
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
export const SEMRESATTRS_SERVICE_INSTANCE_ID = TMP_SERVICE_INSTANCE_ID;
/**
* The version string of the service API or implementation.
*/
export const SEMRESATTRS_SERVICE_VERSION = TMP_SERVICE_VERSION;
/**
* The name of the telemetry SDK as defined above.
*/
export const SEMRESATTRS_TELEMETRY_SDK_NAME = TMP_TELEMETRY_SDK_NAME;
/**
* The language of the telemetry SDK.
*/
export const SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = TMP_TELEMETRY_SDK_LANGUAGE;
/**
* The version string of the telemetry SDK.
*/
export const SEMRESATTRS_TELEMETRY_SDK_VERSION = TMP_TELEMETRY_SDK_VERSION;
/**
* The version string of the auto instrumentation agent, if used.
*/
export const SEMRESATTRS_TELEMETRY_AUTO_VERSION = TMP_TELEMETRY_AUTO_VERSION;
/**
* The name of the web engine.
*/
export const SEMRESATTRS_WEBENGINE_NAME = TMP_WEBENGINE_NAME;
/**
* The version of the web engine.
*/
export const SEMRESATTRS_WEBENGINE_VERSION = TMP_WEBENGINE_VERSION;
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
export const SEMRESATTRS_WEBENGINE_DESCRIPTION = TMP_WEBENGINE_DESCRIPTION;
/**
* Create exported Value Map for SemanticResourceAttributes values
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification
*/
export const SemanticResourceAttributes =
/*#__PURE__*/ createConstMap([
TMP_CLOUD_PROVIDER,
TMP_CLOUD_ACCOUNT_ID,
TMP_CLOUD_REGION,
TMP_CLOUD_AVAILABILITY_ZONE,
TMP_CLOUD_PLATFORM,
TMP_AWS_ECS_CONTAINER_ARN,
TMP_AWS_ECS_CLUSTER_ARN,
TMP_AWS_ECS_LAUNCHTYPE,
TMP_AWS_ECS_TASK_ARN,
TMP_AWS_ECS_TASK_FAMILY,
TMP_AWS_ECS_TASK_REVISION,
TMP_AWS_EKS_CLUSTER_ARN,
TMP_AWS_LOG_GROUP_NAMES,
TMP_AWS_LOG_GROUP_ARNS,
TMP_AWS_LOG_STREAM_NAMES,
TMP_AWS_LOG_STREAM_ARNS,
TMP_CONTAINER_NAME,
TMP_CONTAINER_ID,
TMP_CONTAINER_RUNTIME,
TMP_CONTAINER_IMAGE_NAME,
TMP_CONTAINER_IMAGE_TAG,
TMP_DEPLOYMENT_ENVIRONMENT,
TMP_DEVICE_ID,
TMP_DEVICE_MODEL_IDENTIFIER,
TMP_DEVICE_MODEL_NAME,
TMP_FAAS_NAME,
TMP_FAAS_ID,
TMP_FAAS_VERSION,
TMP_FAAS_INSTANCE,
TMP_FAAS_MAX_MEMORY,
TMP_HOST_ID,
TMP_HOST_NAME,
TMP_HOST_TYPE,
TMP_HOST_ARCH,
TMP_HOST_IMAGE_NAME,
TMP_HOST_IMAGE_ID,
TMP_HOST_IMAGE_VERSION,
TMP_K8S_CLUSTER_NAME,
TMP_K8S_NODE_NAME,
TMP_K8S_NODE_UID,
TMP_K8S_NAMESPACE_NAME,
TMP_K8S_POD_UID,
TMP_K8S_POD_NAME,
TMP_K8S_CONTAINER_NAME,
TMP_K8S_REPLICASET_UID,
TMP_K8S_REPLICASET_NAME,
TMP_K8S_DEPLOYMENT_UID,
TMP_K8S_DEPLOYMENT_NAME,
TMP_K8S_STATEFULSET_UID,
TMP_K8S_STATEFULSET_NAME,
TMP_K8S_DAEMONSET_UID,
TMP_K8S_DAEMONSET_NAME,
TMP_K8S_JOB_UID,
TMP_K8S_JOB_NAME,
TMP_K8S_CRONJOB_UID,
TMP_K8S_CRONJOB_NAME,
TMP_OS_TYPE,
TMP_OS_DESCRIPTION,
TMP_OS_NAME,
TMP_OS_VERSION,
TMP_PROCESS_PID,
TMP_PROCESS_EXECUTABLE_NAME,
TMP_PROCESS_EXECUTABLE_PATH,
TMP_PROCESS_COMMAND,
TMP_PROCESS_COMMAND_LINE,
TMP_PROCESS_COMMAND_ARGS,
TMP_PROCESS_OWNER,
TMP_PROCESS_RUNTIME_NAME,
TMP_PROCESS_RUNTIME_VERSION,
TMP_PROCESS_RUNTIME_DESCRIPTION,
TMP_SERVICE_NAME,
TMP_SERVICE_NAMESPACE,
TMP_SERVICE_INSTANCE_ID,
TMP_SERVICE_VERSION,
TMP_TELEMETRY_SDK_NAME,
TMP_TELEMETRY_SDK_LANGUAGE,
TMP_TELEMETRY_SDK_VERSION,
TMP_TELEMETRY_AUTO_VERSION,
TMP_WEBENGINE_NAME,
TMP_WEBENGINE_VERSION,
TMP_WEBENGINE_DESCRIPTION,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for CloudProviderValues enum definition
*
* Name of the cloud provider.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD = 'alibaba_cloud';
const TMP_CLOUDPROVIDERVALUES_AWS = 'aws';
const TMP_CLOUDPROVIDERVALUES_AZURE = 'azure';
const TMP_CLOUDPROVIDERVALUES_GCP = 'gcp';
/**
* Name of the cloud provider.
*/
export const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD;
/**
* Name of the cloud provider.
*/
export const CLOUDPROVIDERVALUES_AWS = TMP_CLOUDPROVIDERVALUES_AWS;
/**
* Name of the cloud provider.
*/
export const CLOUDPROVIDERVALUES_AZURE = TMP_CLOUDPROVIDERVALUES_AZURE;
/**
* Name of the cloud provider.
*/
export const CLOUDPROVIDERVALUES_GCP = TMP_CLOUDPROVIDERVALUES_GCP;
/**
* The constant map of values for CloudProviderValues.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export const CloudProviderValues =
/*#__PURE__*/ createConstMap([
TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD,
TMP_CLOUDPROVIDERVALUES_AWS,
TMP_CLOUDPROVIDERVALUES_AZURE,
TMP_CLOUDPROVIDERVALUES_GCP,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for CloudPlatformValues enum definition
*
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs';
const TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc';
const TMP_CLOUDPLATFORMVALUES_AWS_EC2 = 'aws_ec2';
const TMP_CLOUDPLATFORMVALUES_AWS_ECS = 'aws_ecs';
const TMP_CLOUDPLATFORMVALUES_AWS_EKS = 'aws_eks';
const TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA = 'aws_lambda';
const TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk';
const TMP_CLOUDPLATFORMVALUES_AZURE_VM = 'azure_vm';
const TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = 'azure_container_instances';
const TMP_CLOUDPLATFORMVALUES_AZURE_AKS = 'azure_aks';
const TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = 'azure_functions';
const TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = 'azure_app_service';
const TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine';
const TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = 'gcp_cloud_run';
const TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine';
const TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions';
const TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE = 'gcp_app_engine';
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AWS_LAMBDA = TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export const CLOUDPLATFORMVALUES_GCP_APP_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE;
/**
* The constant map of values for CloudPlatformValues.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export const CloudPlatformValues =
/*#__PURE__*/ createConstMap([
TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS,
TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC,
TMP_CLOUDPLATFORMVALUES_AWS_EC2,
TMP_CLOUDPLATFORMVALUES_AWS_ECS,
TMP_CLOUDPLATFORMVALUES_AWS_EKS,
TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA,
TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK,
TMP_CLOUDPLATFORMVALUES_AZURE_VM,
TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES,
TMP_CLOUDPLATFORMVALUES_AZURE_AKS,
TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS,
TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE,
TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE,
TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN,
TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE,
TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS,
TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for AwsEcsLaunchtypeValues enum definition
*
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_AWSECSLAUNCHTYPEVALUES_EC2 = 'ec2';
const TMP_AWSECSLAUNCHTYPEVALUES_FARGATE = 'fargate';
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export const AWSECSLAUNCHTYPEVALUES_EC2 = TMP_AWSECSLAUNCHTYPEVALUES_EC2;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export const AWSECSLAUNCHTYPEVALUES_FARGATE = TMP_AWSECSLAUNCHTYPEVALUES_FARGATE;
/**
* The constant map of values for AwsEcsLaunchtypeValues.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export const AwsEcsLaunchtypeValues =
/*#__PURE__*/ createConstMap([
TMP_AWSECSLAUNCHTYPEVALUES_EC2,
TMP_AWSECSLAUNCHTYPEVALUES_FARGATE,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for HostArchValues enum definition
*
* The CPU architecture the host system is running on.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_HOSTARCHVALUES_AMD64 = 'amd64';
const TMP_HOSTARCHVALUES_ARM32 = 'arm32';
const TMP_HOSTARCHVALUES_ARM64 = 'arm64';
const TMP_HOSTARCHVALUES_IA64 = 'ia64';
const TMP_HOSTARCHVALUES_PPC32 = 'ppc32';
const TMP_HOSTARCHVALUES_PPC64 = 'ppc64';
const TMP_HOSTARCHVALUES_X86 = 'x86';
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_AMD64 = TMP_HOSTARCHVALUES_AMD64;
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_ARM32 = TMP_HOSTARCHVALUES_ARM32;
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_ARM64 = TMP_HOSTARCHVALUES_ARM64;
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_IA64 = TMP_HOSTARCHVALUES_IA64;
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_PPC32 = TMP_HOSTARCHVALUES_PPC32;
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_PPC64 = TMP_HOSTARCHVALUES_PPC64;
/**
* The CPU architecture the host system is running on.
*/
export const HOSTARCHVALUES_X86 = TMP_HOSTARCHVALUES_X86;
/**
* The constant map of values for HostArchValues.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export const HostArchValues =
/*#__PURE__*/ createConstMap([
TMP_HOSTARCHVALUES_AMD64,
TMP_HOSTARCHVALUES_ARM32,
TMP_HOSTARCHVALUES_ARM64,
TMP_HOSTARCHVALUES_IA64,
TMP_HOSTARCHVALUES_PPC32,
TMP_HOSTARCHVALUES_PPC64,
TMP_HOSTARCHVALUES_X86,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for OsTypeValues enum definition
*
* The operating system type.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_OSTYPEVALUES_WINDOWS = 'windows';
const TMP_OSTYPEVALUES_LINUX = 'linux';
const TMP_OSTYPEVALUES_DARWIN = 'darwin';
const TMP_OSTYPEVALUES_FREEBSD = 'freebsd';
const TMP_OSTYPEVALUES_NETBSD = 'netbsd';
const TMP_OSTYPEVALUES_OPENBSD = 'openbsd';
const TMP_OSTYPEVALUES_DRAGONFLYBSD = 'dragonflybsd';
const TMP_OSTYPEVALUES_HPUX = 'hpux';
const TMP_OSTYPEVALUES_AIX = 'aix';
const TMP_OSTYPEVALUES_SOLARIS = 'solaris';
const TMP_OSTYPEVALUES_Z_OS = 'z_os';
/**
* The operating system type.
*/
export const OSTYPEVALUES_WINDOWS = TMP_OSTYPEVALUES_WINDOWS;
/**
* The operating system type.
*/
export const OSTYPEVALUES_LINUX = TMP_OSTYPEVALUES_LINUX;
/**
* The operating system type.
*/
export const OSTYPEVALUES_DARWIN = TMP_OSTYPEVALUES_DARWIN;
/**
* The operating system type.
*/
export const OSTYPEVALUES_FREEBSD = TMP_OSTYPEVALUES_FREEBSD;
/**
* The operating system type.
*/
export const OSTYPEVALUES_NETBSD = TMP_OSTYPEVALUES_NETBSD;
/**
* The operating system type.
*/
export const OSTYPEVALUES_OPENBSD = TMP_OSTYPEVALUES_OPENBSD;
/**
* The operating system type.
*/
export const OSTYPEVALUES_DRAGONFLYBSD = TMP_OSTYPEVALUES_DRAGONFLYBSD;
/**
* The operating system type.
*/
export const OSTYPEVALUES_HPUX = TMP_OSTYPEVALUES_HPUX;
/**
* The operating system type.
*/
export const OSTYPEVALUES_AIX = TMP_OSTYPEVALUES_AIX;
/**
* The operating system type.
*/
export const OSTYPEVALUES_SOLARIS = TMP_OSTYPEVALUES_SOLARIS;
/**
* The operating system type.
*/
export const OSTYPEVALUES_Z_OS = TMP_OSTYPEVALUES_Z_OS;
/**
* The constant map of values for OsTypeValues.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export const OsTypeValues =
/*#__PURE__*/ createConstMap([
TMP_OSTYPEVALUES_WINDOWS,
TMP_OSTYPEVALUES_LINUX,
TMP_OSTYPEVALUES_DARWIN,
TMP_OSTYPEVALUES_FREEBSD,
TMP_OSTYPEVALUES_NETBSD,
TMP_OSTYPEVALUES_OPENBSD,
TMP_OSTYPEVALUES_DRAGONFLYBSD,
TMP_OSTYPEVALUES_HPUX,
TMP_OSTYPEVALUES_AIX,
TMP_OSTYPEVALUES_SOLARIS,
TMP_OSTYPEVALUES_Z_OS,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for TelemetrySdkLanguageValues enum definition
*
* The language of the telemetry SDK.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_TELEMETRYSDKLANGUAGEVALUES_CPP = 'cpp';
const TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET = 'dotnet';
const TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG = 'erlang';
const TMP_TELEMETRYSDKLANGUAGEVALUES_GO = 'go';
const TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA = 'java';
const TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS = 'nodejs';
const TMP_TELEMETRYSDKLANGUAGEVALUES_PHP = 'php';
const TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON = 'python';
const TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY = 'ruby';
const TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS = 'webjs';
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_CPP = TMP_TELEMETRYSDKLANGUAGEVALUES_CPP;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_DOTNET = TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_ERLANG = TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_GO = TMP_TELEMETRYSDKLANGUAGEVALUES_GO;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_JAVA = TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_NODEJS = TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_PHP = TMP_TELEMETRYSDKLANGUAGEVALUES_PHP;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_PYTHON = TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_RUBY = TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY;
/**
* The language of the telemetry SDK.
*/
export const TELEMETRYSDKLANGUAGEVALUES_WEBJS = TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS;
/**
* The constant map of values for TelemetrySdkLanguageValues.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export const TelemetrySdkLanguageValues =
/*#__PURE__*/ createConstMap([
TMP_TELEMETRYSDKLANGUAGEVALUES_CPP,
TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET,
TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG,
TMP_TELEMETRYSDKLANGUAGEVALUES_GO,
TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA,
TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS,
TMP_TELEMETRYSDKLANGUAGEVALUES_PHP,
TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON,
TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY,
TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS,
]);
//# sourceMappingURL=SemanticResourceAttributes.js.map

@@ -1,2 +0,2 @@

export declare const VERSION = "1.21.0";
export declare const VERSION = "1.22.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.21.0';
export const VERSION = '1.22.0';
//# sourceMappingURL=version.js.map

@@ -1,14 +0,398 @@

export declare const SemanticResourceAttributes: {
/**
* Name of the cloud provider.
*/
export declare const SEMRESATTRS_CLOUD_PROVIDER = "cloud.provider";
/**
* The cloud account ID the resource is assigned to.
*/
export declare const SEMRESATTRS_CLOUD_ACCOUNT_ID = "cloud.account.id";
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
export declare const SEMRESATTRS_CLOUD_REGION = "cloud.region";
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
export declare const SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = "cloud.availability_zone";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const SEMRESATTRS_CLOUD_PLATFORM = "cloud.platform";
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
export declare const SEMRESATTRS_AWS_ECS_CONTAINER_ARN = "aws.ecs.container.arn";
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
export declare const SEMRESATTRS_AWS_ECS_CLUSTER_ARN = "aws.ecs.cluster.arn";
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const SEMRESATTRS_AWS_ECS_LAUNCHTYPE = "aws.ecs.launchtype";
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_ARN = "aws.ecs.task.arn";
/**
* The task definition family this task definition is a member of.
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_FAMILY = "aws.ecs.task.family";
/**
* The revision for this task definition.
*/
export declare const SEMRESATTRS_AWS_ECS_TASK_REVISION = "aws.ecs.task.revision";
/**
* The ARN of an EKS cluster.
*/
export declare const SEMRESATTRS_AWS_EKS_CLUSTER_ARN = "aws.eks.cluster.arn";
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
export declare const SEMRESATTRS_AWS_LOG_GROUP_NAMES = "aws.log.group.names";
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
export declare const SEMRESATTRS_AWS_LOG_GROUP_ARNS = "aws.log.group.arns";
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
export declare const SEMRESATTRS_AWS_LOG_STREAM_NAMES = "aws.log.stream.names";
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
export declare const SEMRESATTRS_AWS_LOG_STREAM_ARNS = "aws.log.stream.arns";
/**
* Container name.
*/
export declare const SEMRESATTRS_CONTAINER_NAME = "container.name";
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
export declare const SEMRESATTRS_CONTAINER_ID = "container.id";
/**
* The container runtime managing this container.
*/
export declare const SEMRESATTRS_CONTAINER_RUNTIME = "container.runtime";
/**
* Name of the image the container was built on.
*/
export declare const SEMRESATTRS_CONTAINER_IMAGE_NAME = "container.image.name";
/**
* Container image tag.
*/
export declare const SEMRESATTRS_CONTAINER_IMAGE_TAG = "container.image.tag";
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
export declare const SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = "deployment.environment";
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
export declare const SEMRESATTRS_DEVICE_ID = "device.id";
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
export declare const SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = "device.model.identifier";
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
export declare const SEMRESATTRS_DEVICE_MODEL_NAME = "device.model.name";
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
export declare const SEMRESATTRS_FAAS_NAME = "faas.name";
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
export declare const SEMRESATTRS_FAAS_ID = "faas.id";
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
export declare const SEMRESATTRS_FAAS_VERSION = "faas.version";
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
export declare const SEMRESATTRS_FAAS_INSTANCE = "faas.instance";
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
export declare const SEMRESATTRS_FAAS_MAX_MEMORY = "faas.max_memory";
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
export declare const SEMRESATTRS_HOST_ID = "host.id";
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
export declare const SEMRESATTRS_HOST_NAME = "host.name";
/**
* Type of host. For Cloud, this must be the machine type.
*/
export declare const SEMRESATTRS_HOST_TYPE = "host.type";
/**
* The CPU architecture the host system is running on.
*/
export declare const SEMRESATTRS_HOST_ARCH = "host.arch";
/**
* Name of the VM image or OS install the host was instantiated from.
*/
export declare const SEMRESATTRS_HOST_IMAGE_NAME = "host.image.name";
/**
* VM image ID. For Cloud, this value is from the provider.
*/
export declare const SEMRESATTRS_HOST_IMAGE_ID = "host.image.id";
/**
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
export declare const SEMRESATTRS_HOST_IMAGE_VERSION = "host.image.version";
/**
* The name of the cluster.
*/
export declare const SEMRESATTRS_K8S_CLUSTER_NAME = "k8s.cluster.name";
/**
* The name of the Node.
*/
export declare const SEMRESATTRS_K8S_NODE_NAME = "k8s.node.name";
/**
* The UID of the Node.
*/
export declare const SEMRESATTRS_K8S_NODE_UID = "k8s.node.uid";
/**
* The name of the namespace that the pod is running in.
*/
export declare const SEMRESATTRS_K8S_NAMESPACE_NAME = "k8s.namespace.name";
/**
* The UID of the Pod.
*/
export declare const SEMRESATTRS_K8S_POD_UID = "k8s.pod.uid";
/**
* The name of the Pod.
*/
export declare const SEMRESATTRS_K8S_POD_NAME = "k8s.pod.name";
/**
* The name of the Container in a Pod template.
*/
export declare const SEMRESATTRS_K8S_CONTAINER_NAME = "k8s.container.name";
/**
* The UID of the ReplicaSet.
*/
export declare const SEMRESATTRS_K8S_REPLICASET_UID = "k8s.replicaset.uid";
/**
* The name of the ReplicaSet.
*/
export declare const SEMRESATTRS_K8S_REPLICASET_NAME = "k8s.replicaset.name";
/**
* The UID of the Deployment.
*/
export declare const SEMRESATTRS_K8S_DEPLOYMENT_UID = "k8s.deployment.uid";
/**
* The name of the Deployment.
*/
export declare const SEMRESATTRS_K8S_DEPLOYMENT_NAME = "k8s.deployment.name";
/**
* The UID of the StatefulSet.
*/
export declare const SEMRESATTRS_K8S_STATEFULSET_UID = "k8s.statefulset.uid";
/**
* The name of the StatefulSet.
*/
export declare const SEMRESATTRS_K8S_STATEFULSET_NAME = "k8s.statefulset.name";
/**
* The UID of the DaemonSet.
*/
export declare const SEMRESATTRS_K8S_DAEMONSET_UID = "k8s.daemonset.uid";
/**
* The name of the DaemonSet.
*/
export declare const SEMRESATTRS_K8S_DAEMONSET_NAME = "k8s.daemonset.name";
/**
* The UID of the Job.
*/
export declare const SEMRESATTRS_K8S_JOB_UID = "k8s.job.uid";
/**
* The name of the Job.
*/
export declare const SEMRESATTRS_K8S_JOB_NAME = "k8s.job.name";
/**
* The UID of the CronJob.
*/
export declare const SEMRESATTRS_K8S_CRONJOB_UID = "k8s.cronjob.uid";
/**
* The name of the CronJob.
*/
export declare const SEMRESATTRS_K8S_CRONJOB_NAME = "k8s.cronjob.name";
/**
* The operating system type.
*/
export declare const SEMRESATTRS_OS_TYPE = "os.type";
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
export declare const SEMRESATTRS_OS_DESCRIPTION = "os.description";
/**
* Human readable operating system name.
*/
export declare const SEMRESATTRS_OS_NAME = "os.name";
/**
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
export declare const SEMRESATTRS_OS_VERSION = "os.version";
/**
* Process identifier (PID).
*/
export declare const SEMRESATTRS_PROCESS_PID = "process.pid";
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
export declare const SEMRESATTRS_PROCESS_EXECUTABLE_NAME = "process.executable.name";
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
export declare const SEMRESATTRS_PROCESS_EXECUTABLE_PATH = "process.executable.path";
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND = "process.command";
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND_LINE = "process.command_line";
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
export declare const SEMRESATTRS_PROCESS_COMMAND_ARGS = "process.command_args";
/**
* The username of the user that owns the process.
*/
export declare const SEMRESATTRS_PROCESS_OWNER = "process.owner";
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_NAME = "process.runtime.name";
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_VERSION = "process.runtime.version";
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
export declare const SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = "process.runtime.description";
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
export declare const SEMRESATTRS_SERVICE_NAME = "service.name";
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
export declare const SEMRESATTRS_SERVICE_NAMESPACE = "service.namespace";
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
export declare const SEMRESATTRS_SERVICE_INSTANCE_ID = "service.instance.id";
/**
* The version string of the service API or implementation.
*/
export declare const SEMRESATTRS_SERVICE_VERSION = "service.version";
/**
* The name of the telemetry SDK as defined above.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_NAME = "telemetry.sdk.name";
/**
* The language of the telemetry SDK.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = "telemetry.sdk.language";
/**
* The version string of the telemetry SDK.
*/
export declare const SEMRESATTRS_TELEMETRY_SDK_VERSION = "telemetry.sdk.version";
/**
* The version string of the auto instrumentation agent, if used.
*/
export declare const SEMRESATTRS_TELEMETRY_AUTO_VERSION = "telemetry.auto.version";
/**
* The name of the web engine.
*/
export declare const SEMRESATTRS_WEBENGINE_NAME = "webengine.name";
/**
* The version of the web engine.
*/
export declare const SEMRESATTRS_WEBENGINE_VERSION = "webengine.version";
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
export declare const SEMRESATTRS_WEBENGINE_DESCRIPTION = "webengine.description";
/**
* Definition of available values for SemanticResourceAttributes
* This type is used for backward compatibility, you should use the individual exported
* constants SemanticResourceAttributes_XXXXX rather than the exported constant map. As any single reference
* to a constant map value will result in all strings being included into your bundle.
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification.
*/
export declare type SemanticResourceAttributes = {
/**
* Name of the cloud provider.
*/
CLOUD_PROVIDER: string;
CLOUD_PROVIDER: 'cloud.provider';
/**
* The cloud account ID the resource is assigned to.
*/
CLOUD_ACCOUNT_ID: string;
CLOUD_ACCOUNT_ID: 'cloud.account.id';
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
CLOUD_REGION: string;
CLOUD_REGION: 'cloud.region';
/**

@@ -19,3 +403,3 @@ * Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.

*/
CLOUD_AVAILABILITY_ZONE: string;
CLOUD_AVAILABILITY_ZONE: 'cloud.availability_zone';
/**

@@ -26,31 +410,31 @@ * The cloud platform in use.

*/
CLOUD_PLATFORM: string;
CLOUD_PLATFORM: 'cloud.platform';
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
AWS_ECS_CONTAINER_ARN: string;
AWS_ECS_CONTAINER_ARN: 'aws.ecs.container.arn';
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
AWS_ECS_CLUSTER_ARN: string;
AWS_ECS_CLUSTER_ARN: 'aws.ecs.cluster.arn';
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
AWS_ECS_LAUNCHTYPE: string;
AWS_ECS_LAUNCHTYPE: 'aws.ecs.launchtype';
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
AWS_ECS_TASK_ARN: string;
AWS_ECS_TASK_ARN: 'aws.ecs.task.arn';
/**
* The task definition family this task definition is a member of.
*/
AWS_ECS_TASK_FAMILY: string;
AWS_ECS_TASK_FAMILY: 'aws.ecs.task.family';
/**
* The revision for this task definition.
*/
AWS_ECS_TASK_REVISION: string;
AWS_ECS_TASK_REVISION: 'aws.ecs.task.revision';
/**
* The ARN of an EKS cluster.
*/
AWS_EKS_CLUSTER_ARN: string;
AWS_EKS_CLUSTER_ARN: 'aws.eks.cluster.arn';
/**

@@ -61,3 +445,3 @@ * The name(s) of the AWS log group(s) an application is writing to.

*/
AWS_LOG_GROUP_NAMES: string;
AWS_LOG_GROUP_NAMES: 'aws.log.group.names';
/**

@@ -68,7 +452,7 @@ * The Amazon Resource Name(s) (ARN) of the AWS log group(s).

*/
AWS_LOG_GROUP_ARNS: string;
AWS_LOG_GROUP_ARNS: 'aws.log.group.arns';
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
AWS_LOG_STREAM_NAMES: string;
AWS_LOG_STREAM_NAMES: 'aws.log.stream.names';
/**

@@ -79,27 +463,27 @@ * The ARN(s) of the AWS log stream(s).

*/
AWS_LOG_STREAM_ARNS: string;
AWS_LOG_STREAM_ARNS: 'aws.log.stream.arns';
/**
* Container name.
*/
CONTAINER_NAME: string;
CONTAINER_NAME: 'container.name';
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
CONTAINER_ID: string;
CONTAINER_ID: 'container.id';
/**
* The container runtime managing this container.
*/
CONTAINER_RUNTIME: string;
CONTAINER_RUNTIME: 'container.runtime';
/**
* Name of the image the container was built on.
*/
CONTAINER_IMAGE_NAME: string;
CONTAINER_IMAGE_NAME: 'container.image.name';
/**
* Container image tag.
*/
CONTAINER_IMAGE_TAG: string;
CONTAINER_IMAGE_TAG: 'container.image.tag';
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
DEPLOYMENT_ENVIRONMENT: string;
DEPLOYMENT_ENVIRONMENT: 'deployment.environment';
/**

@@ -110,3 +494,3 @@ * A unique identifier representing the device.

*/
DEVICE_ID: string;
DEVICE_ID: 'device.id';
/**

@@ -117,3 +501,3 @@ * The model identifier for the device.

*/
DEVICE_MODEL_IDENTIFIER: string;
DEVICE_MODEL_IDENTIFIER: 'device.model.identifier';
/**

@@ -124,3 +508,3 @@ * The marketing name for the device model.

*/
DEVICE_MODEL_NAME: string;
DEVICE_MODEL_NAME: 'device.model.name';
/**

@@ -131,3 +515,3 @@ * The name of the single function that this runtime instance executes.

*/
FAAS_NAME: string;
FAAS_NAME: 'faas.name';
/**

@@ -151,3 +535,3 @@ * The unique ID of the single function that this runtime instance executes.

*/
FAAS_ID: string;
FAAS_ID: 'faas.id';
/**

@@ -166,3 +550,3 @@ * The immutable version of the function being executed.

*/
FAAS_VERSION: string;
FAAS_VERSION: 'faas.version';
/**

@@ -173,3 +557,3 @@ * The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.

*/
FAAS_INSTANCE: string;
FAAS_INSTANCE: 'faas.instance';
/**

@@ -180,163 +564,163 @@ * The amount of memory available to the serverless function in MiB.

*/
FAAS_MAX_MEMORY: string;
FAAS_MAX_MEMORY: 'faas.max_memory';
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
HOST_ID: string;
HOST_ID: 'host.id';
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
HOST_NAME: string;
HOST_NAME: 'host.name';
/**
* Type of host. For Cloud, this must be the machine type.
*/
HOST_TYPE: string;
HOST_TYPE: 'host.type';
/**
* The CPU architecture the host system is running on.
*/
HOST_ARCH: string;
HOST_ARCH: 'host.arch';
/**
* Name of the VM image or OS install the host was instantiated from.
*/
HOST_IMAGE_NAME: string;
HOST_IMAGE_NAME: 'host.image.name';
/**
* VM image ID. For Cloud, this value is from the provider.
*/
HOST_IMAGE_ID: string;
HOST_IMAGE_ID: 'host.image.id';
/**
* The version string of the VM image as defined in [Version SpanAttributes](README.md#version-attributes).
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
HOST_IMAGE_VERSION: string;
HOST_IMAGE_VERSION: 'host.image.version';
/**
* The name of the cluster.
*/
K8S_CLUSTER_NAME: string;
K8S_CLUSTER_NAME: 'k8s.cluster.name';
/**
* The name of the Node.
*/
K8S_NODE_NAME: string;
K8S_NODE_NAME: 'k8s.node.name';
/**
* The UID of the Node.
*/
K8S_NODE_UID: string;
K8S_NODE_UID: 'k8s.node.uid';
/**
* The name of the namespace that the pod is running in.
*/
K8S_NAMESPACE_NAME: string;
K8S_NAMESPACE_NAME: 'k8s.namespace.name';
/**
* The UID of the Pod.
*/
K8S_POD_UID: string;
K8S_POD_UID: 'k8s.pod.uid';
/**
* The name of the Pod.
*/
K8S_POD_NAME: string;
K8S_POD_NAME: 'k8s.pod.name';
/**
* The name of the Container in a Pod template.
*/
K8S_CONTAINER_NAME: string;
K8S_CONTAINER_NAME: 'k8s.container.name';
/**
* The UID of the ReplicaSet.
*/
K8S_REPLICASET_UID: string;
K8S_REPLICASET_UID: 'k8s.replicaset.uid';
/**
* The name of the ReplicaSet.
*/
K8S_REPLICASET_NAME: string;
K8S_REPLICASET_NAME: 'k8s.replicaset.name';
/**
* The UID of the Deployment.
*/
K8S_DEPLOYMENT_UID: string;
K8S_DEPLOYMENT_UID: 'k8s.deployment.uid';
/**
* The name of the Deployment.
*/
K8S_DEPLOYMENT_NAME: string;
K8S_DEPLOYMENT_NAME: 'k8s.deployment.name';
/**
* The UID of the StatefulSet.
*/
K8S_STATEFULSET_UID: string;
K8S_STATEFULSET_UID: 'k8s.statefulset.uid';
/**
* The name of the StatefulSet.
*/
K8S_STATEFULSET_NAME: string;
K8S_STATEFULSET_NAME: 'k8s.statefulset.name';
/**
* The UID of the DaemonSet.
*/
K8S_DAEMONSET_UID: string;
K8S_DAEMONSET_UID: 'k8s.daemonset.uid';
/**
* The name of the DaemonSet.
*/
K8S_DAEMONSET_NAME: string;
K8S_DAEMONSET_NAME: 'k8s.daemonset.name';
/**
* The UID of the Job.
*/
K8S_JOB_UID: string;
K8S_JOB_UID: 'k8s.job.uid';
/**
* The name of the Job.
*/
K8S_JOB_NAME: string;
K8S_JOB_NAME: 'k8s.job.name';
/**
* The UID of the CronJob.
*/
K8S_CRONJOB_UID: string;
K8S_CRONJOB_UID: 'k8s.cronjob.uid';
/**
* The name of the CronJob.
*/
K8S_CRONJOB_NAME: string;
K8S_CRONJOB_NAME: 'k8s.cronjob.name';
/**
* The operating system type.
*/
OS_TYPE: string;
OS_TYPE: 'os.type';
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
OS_DESCRIPTION: string;
OS_DESCRIPTION: 'os.description';
/**
* Human readable operating system name.
*/
OS_NAME: string;
OS_NAME: 'os.name';
/**
* The version string of the operating system as defined in [Version SpanAttributes](../../resource/semantic_conventions/README.md#version-attributes).
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
OS_VERSION: string;
OS_VERSION: 'os.version';
/**
* Process identifier (PID).
*/
PROCESS_PID: string;
PROCESS_PID: 'process.pid';
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_NAME: string;
PROCESS_EXECUTABLE_NAME: 'process.executable.name';
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_PATH: string;
PROCESS_EXECUTABLE_PATH: 'process.executable.path';
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
PROCESS_COMMAND: string;
PROCESS_COMMAND: 'process.command';
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
PROCESS_COMMAND_LINE: string;
PROCESS_COMMAND_LINE: 'process.command_line';
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
PROCESS_COMMAND_ARGS: string;
PROCESS_COMMAND_ARGS: 'process.command_args';
/**
* The username of the user that owns the process.
*/
PROCESS_OWNER: string;
PROCESS_OWNER: 'process.owner';
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
PROCESS_RUNTIME_NAME: string;
PROCESS_RUNTIME_NAME: 'process.runtime.name';
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
PROCESS_RUNTIME_VERSION: string;
PROCESS_RUNTIME_VERSION: 'process.runtime.version';
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
PROCESS_RUNTIME_DESCRIPTION: string;
PROCESS_RUNTIME_DESCRIPTION: 'process.runtime.description';
/**

@@ -347,3 +731,3 @@ * Logical name of the service.

*/
SERVICE_NAME: string;
SERVICE_NAME: 'service.name';
/**

@@ -354,3 +738,3 @@ * A namespace for `service.name`.

*/
SERVICE_NAMESPACE: string;
SERVICE_NAMESPACE: 'service.namespace';
/**

@@ -361,156 +745,461 @@ * The string ID of the service instance.

*/
SERVICE_INSTANCE_ID: string;
SERVICE_INSTANCE_ID: 'service.instance.id';
/**
* The version string of the service API or implementation.
*/
SERVICE_VERSION: string;
SERVICE_VERSION: 'service.version';
/**
* The name of the telemetry SDK as defined above.
*/
TELEMETRY_SDK_NAME: string;
TELEMETRY_SDK_NAME: 'telemetry.sdk.name';
/**
* The language of the telemetry SDK.
*/
TELEMETRY_SDK_LANGUAGE: string;
TELEMETRY_SDK_LANGUAGE: 'telemetry.sdk.language';
/**
* The version string of the telemetry SDK.
*/
TELEMETRY_SDK_VERSION: string;
TELEMETRY_SDK_VERSION: 'telemetry.sdk.version';
/**
* The version string of the auto instrumentation agent, if used.
*/
TELEMETRY_AUTO_VERSION: string;
TELEMETRY_AUTO_VERSION: 'telemetry.auto.version';
/**
* The name of the web engine.
*/
WEBENGINE_NAME: string;
WEBENGINE_NAME: 'webengine.name';
/**
* The version of the web engine.
*/
WEBENGINE_VERSION: string;
WEBENGINE_VERSION: 'webengine.version';
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
WEBENGINE_DESCRIPTION: string;
WEBENGINE_DESCRIPTION: 'webengine.description';
};
export declare const CloudProviderValues: {
/**
* Create exported Value Map for SemanticResourceAttributes values
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification
*/
export declare const SemanticResourceAttributes: SemanticResourceAttributes;
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_ALIBABA_CLOUD = "alibaba_cloud";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_AWS = "aws";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_AZURE = "azure";
/**
* Name of the cloud provider.
*/
export declare const CLOUDPROVIDERVALUES_GCP = "gcp";
/**
* Identifies the Values for CloudProviderValues enum definition
*
* Name of the cloud provider.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export declare type CloudProviderValues = {
/** Alibaba Cloud. */
readonly ALIBABA_CLOUD: "alibaba_cloud";
ALIBABA_CLOUD: 'alibaba_cloud';
/** Amazon Web Services. */
readonly AWS: "aws";
AWS: 'aws';
/** Microsoft Azure. */
readonly AZURE: "azure";
AZURE: 'azure';
/** Google Cloud Platform. */
readonly GCP: "gcp";
GCP: 'gcp';
};
export declare type CloudProviderValues = (typeof CloudProviderValues)[keyof typeof CloudProviderValues];
export declare const CloudPlatformValues: {
/**
* The constant map of values for CloudProviderValues.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
export declare const CloudProviderValues: CloudProviderValues;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = "alibaba_cloud_fc";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_EC2 = "aws_ec2";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_ECS = "aws_ecs";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_EKS = "aws_eks";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_LAMBDA = "aws_lambda";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_VM = "azure_vm";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = "azure_container_instances";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_AKS = "azure_aks";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = "azure_functions";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = "azure_app_service";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = "gcp_compute_engine";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = "gcp_cloud_run";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions";
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
export declare const CLOUDPLATFORMVALUES_GCP_APP_ENGINE = "gcp_app_engine";
/**
* Identifies the Values for CloudPlatformValues enum definition
*
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export declare type CloudPlatformValues = {
/** Alibaba Cloud Elastic Compute Service. */
readonly ALIBABA_CLOUD_ECS: "alibaba_cloud_ecs";
ALIBABA_CLOUD_ECS: 'alibaba_cloud_ecs';
/** Alibaba Cloud Function Compute. */
readonly ALIBABA_CLOUD_FC: "alibaba_cloud_fc";
ALIBABA_CLOUD_FC: 'alibaba_cloud_fc';
/** AWS Elastic Compute Cloud. */
readonly AWS_EC2: "aws_ec2";
AWS_EC2: 'aws_ec2';
/** AWS Elastic Container Service. */
readonly AWS_ECS: "aws_ecs";
AWS_ECS: 'aws_ecs';
/** AWS Elastic Kubernetes Service. */
readonly AWS_EKS: "aws_eks";
AWS_EKS: 'aws_eks';
/** AWS Lambda. */
readonly AWS_LAMBDA: "aws_lambda";
AWS_LAMBDA: 'aws_lambda';
/** AWS Elastic Beanstalk. */
readonly AWS_ELASTIC_BEANSTALK: "aws_elastic_beanstalk";
AWS_ELASTIC_BEANSTALK: 'aws_elastic_beanstalk';
/** Azure Virtual Machines. */
readonly AZURE_VM: "azure_vm";
AZURE_VM: 'azure_vm';
/** Azure Container Instances. */
readonly AZURE_CONTAINER_INSTANCES: "azure_container_instances";
AZURE_CONTAINER_INSTANCES: 'azure_container_instances';
/** Azure Kubernetes Service. */
readonly AZURE_AKS: "azure_aks";
AZURE_AKS: 'azure_aks';
/** Azure Functions. */
readonly AZURE_FUNCTIONS: "azure_functions";
AZURE_FUNCTIONS: 'azure_functions';
/** Azure App Service. */
readonly AZURE_APP_SERVICE: "azure_app_service";
AZURE_APP_SERVICE: 'azure_app_service';
/** Google Cloud Compute Engine (GCE). */
readonly GCP_COMPUTE_ENGINE: "gcp_compute_engine";
GCP_COMPUTE_ENGINE: 'gcp_compute_engine';
/** Google Cloud Run. */
readonly GCP_CLOUD_RUN: "gcp_cloud_run";
GCP_CLOUD_RUN: 'gcp_cloud_run';
/** Google Cloud Kubernetes Engine (GKE). */
readonly GCP_KUBERNETES_ENGINE: "gcp_kubernetes_engine";
GCP_KUBERNETES_ENGINE: 'gcp_kubernetes_engine';
/** Google Cloud Functions (GCF). */
readonly GCP_CLOUD_FUNCTIONS: "gcp_cloud_functions";
GCP_CLOUD_FUNCTIONS: 'gcp_cloud_functions';
/** Google Cloud App Engine (GAE). */
readonly GCP_APP_ENGINE: "gcp_app_engine";
GCP_APP_ENGINE: 'gcp_app_engine';
};
export declare type CloudPlatformValues = (typeof CloudPlatformValues)[keyof typeof CloudPlatformValues];
export declare const AwsEcsLaunchtypeValues: {
/**
* The constant map of values for CloudPlatformValues.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
export declare const CloudPlatformValues: CloudPlatformValues;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const AWSECSLAUNCHTYPEVALUES_EC2 = "ec2";
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
export declare const AWSECSLAUNCHTYPEVALUES_FARGATE = "fargate";
/**
* Identifies the Values for AwsEcsLaunchtypeValues enum definition
*
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export declare type AwsEcsLaunchtypeValues = {
/** ec2. */
readonly EC2: "ec2";
EC2: 'ec2';
/** fargate. */
readonly FARGATE: "fargate";
FARGATE: 'fargate';
};
export declare type AwsEcsLaunchtypeValues = (typeof AwsEcsLaunchtypeValues)[keyof typeof AwsEcsLaunchtypeValues];
export declare const HostArchValues: {
/**
* The constant map of values for AwsEcsLaunchtypeValues.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
export declare const AwsEcsLaunchtypeValues: AwsEcsLaunchtypeValues;
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_AMD64 = "amd64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_ARM32 = "arm32";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_ARM64 = "arm64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_IA64 = "ia64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_PPC32 = "ppc32";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_PPC64 = "ppc64";
/**
* The CPU architecture the host system is running on.
*/
export declare const HOSTARCHVALUES_X86 = "x86";
/**
* Identifies the Values for HostArchValues enum definition
*
* The CPU architecture the host system is running on.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export declare type HostArchValues = {
/** AMD64. */
readonly AMD64: "amd64";
AMD64: 'amd64';
/** ARM32. */
readonly ARM32: "arm32";
ARM32: 'arm32';
/** ARM64. */
readonly ARM64: "arm64";
ARM64: 'arm64';
/** Itanium. */
readonly IA64: "ia64";
IA64: 'ia64';
/** 32-bit PowerPC. */
readonly PPC32: "ppc32";
PPC32: 'ppc32';
/** 64-bit PowerPC. */
readonly PPC64: "ppc64";
PPC64: 'ppc64';
/** 32-bit x86. */
readonly X86: "x86";
X86: 'x86';
};
export declare type HostArchValues = (typeof HostArchValues)[keyof typeof HostArchValues];
export declare const OsTypeValues: {
/**
* The constant map of values for HostArchValues.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
export declare const HostArchValues: HostArchValues;
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_WINDOWS = "windows";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_LINUX = "linux";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_DARWIN = "darwin";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_FREEBSD = "freebsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_NETBSD = "netbsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_OPENBSD = "openbsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_DRAGONFLYBSD = "dragonflybsd";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_HPUX = "hpux";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_AIX = "aix";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_SOLARIS = "solaris";
/**
* The operating system type.
*/
export declare const OSTYPEVALUES_Z_OS = "z_os";
/**
* Identifies the Values for OsTypeValues enum definition
*
* The operating system type.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export declare type OsTypeValues = {
/** Microsoft Windows. */
readonly WINDOWS: "windows";
WINDOWS: 'windows';
/** Linux. */
readonly LINUX: "linux";
LINUX: 'linux';
/** Apple Darwin. */
readonly DARWIN: "darwin";
DARWIN: 'darwin';
/** FreeBSD. */
readonly FREEBSD: "freebsd";
FREEBSD: 'freebsd';
/** NetBSD. */
readonly NETBSD: "netbsd";
NETBSD: 'netbsd';
/** OpenBSD. */
readonly OPENBSD: "openbsd";
OPENBSD: 'openbsd';
/** DragonFly BSD. */
readonly DRAGONFLYBSD: "dragonflybsd";
DRAGONFLYBSD: 'dragonflybsd';
/** HP-UX (Hewlett Packard Unix). */
readonly HPUX: "hpux";
HPUX: 'hpux';
/** AIX (Advanced Interactive eXecutive). */
readonly AIX: "aix";
AIX: 'aix';
/** Oracle Solaris. */
readonly SOLARIS: "solaris";
SOLARIS: 'solaris';
/** IBM z/OS. */
readonly Z_OS: "z_os";
Z_OS: 'z_os';
};
export declare type OsTypeValues = (typeof OsTypeValues)[keyof typeof OsTypeValues];
export declare const TelemetrySdkLanguageValues: {
/**
* The constant map of values for OsTypeValues.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
export declare const OsTypeValues: OsTypeValues;
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_CPP = "cpp";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_DOTNET = "dotnet";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_ERLANG = "erlang";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_GO = "go";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_JAVA = "java";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_NODEJS = "nodejs";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_PHP = "php";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_PYTHON = "python";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_RUBY = "ruby";
/**
* The language of the telemetry SDK.
*/
export declare const TELEMETRYSDKLANGUAGEVALUES_WEBJS = "webjs";
/**
* Identifies the Values for TelemetrySdkLanguageValues enum definition
*
* The language of the telemetry SDK.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export declare type TelemetrySdkLanguageValues = {
/** cpp. */
readonly CPP: "cpp";
CPP: 'cpp';
/** dotnet. */
readonly DOTNET: "dotnet";
DOTNET: 'dotnet';
/** erlang. */
readonly ERLANG: "erlang";
ERLANG: 'erlang';
/** go. */
readonly GO: "go";
GO: 'go';
/** java. */
readonly JAVA: "java";
JAVA: 'java';
/** nodejs. */
readonly NODEJS: "nodejs";
NODEJS: 'nodejs';
/** php. */
readonly PHP: "php";
PHP: 'php';
/** python. */
readonly PYTHON: "python";
PYTHON: 'python';
/** ruby. */
readonly RUBY: "ruby";
RUBY: 'ruby';
/** webjs. */
readonly WEBJS: "webjs";
WEBJS: 'webjs';
};
export declare type TelemetrySdkLanguageValues = (typeof TelemetrySdkLanguageValues)[keyof typeof TelemetrySdkLanguageValues];
/**
* The constant map of values for TelemetrySdkLanguageValues.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
export declare const TelemetrySdkLanguageValues: TelemetrySdkLanguageValues;
//# sourceMappingURL=SemanticResourceAttributes.d.ts.map

@@ -18,497 +18,986 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.TelemetrySdkLanguageValues = exports.OsTypeValues = exports.HostArchValues = exports.AwsEcsLaunchtypeValues = exports.CloudPlatformValues = exports.CloudProviderValues = exports.SemanticResourceAttributes = void 0;
exports.SEMRESATTRS_K8S_STATEFULSET_NAME = exports.SEMRESATTRS_K8S_STATEFULSET_UID = exports.SEMRESATTRS_K8S_DEPLOYMENT_NAME = exports.SEMRESATTRS_K8S_DEPLOYMENT_UID = exports.SEMRESATTRS_K8S_REPLICASET_NAME = exports.SEMRESATTRS_K8S_REPLICASET_UID = exports.SEMRESATTRS_K8S_CONTAINER_NAME = exports.SEMRESATTRS_K8S_POD_NAME = exports.SEMRESATTRS_K8S_POD_UID = exports.SEMRESATTRS_K8S_NAMESPACE_NAME = exports.SEMRESATTRS_K8S_NODE_UID = exports.SEMRESATTRS_K8S_NODE_NAME = exports.SEMRESATTRS_K8S_CLUSTER_NAME = exports.SEMRESATTRS_HOST_IMAGE_VERSION = exports.SEMRESATTRS_HOST_IMAGE_ID = exports.SEMRESATTRS_HOST_IMAGE_NAME = exports.SEMRESATTRS_HOST_ARCH = exports.SEMRESATTRS_HOST_TYPE = exports.SEMRESATTRS_HOST_NAME = exports.SEMRESATTRS_HOST_ID = exports.SEMRESATTRS_FAAS_MAX_MEMORY = exports.SEMRESATTRS_FAAS_INSTANCE = exports.SEMRESATTRS_FAAS_VERSION = exports.SEMRESATTRS_FAAS_ID = exports.SEMRESATTRS_FAAS_NAME = exports.SEMRESATTRS_DEVICE_MODEL_NAME = exports.SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = exports.SEMRESATTRS_DEVICE_ID = exports.SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = exports.SEMRESATTRS_CONTAINER_IMAGE_TAG = exports.SEMRESATTRS_CONTAINER_IMAGE_NAME = exports.SEMRESATTRS_CONTAINER_RUNTIME = exports.SEMRESATTRS_CONTAINER_ID = exports.SEMRESATTRS_CONTAINER_NAME = exports.SEMRESATTRS_AWS_LOG_STREAM_ARNS = exports.SEMRESATTRS_AWS_LOG_STREAM_NAMES = exports.SEMRESATTRS_AWS_LOG_GROUP_ARNS = exports.SEMRESATTRS_AWS_LOG_GROUP_NAMES = exports.SEMRESATTRS_AWS_EKS_CLUSTER_ARN = exports.SEMRESATTRS_AWS_ECS_TASK_REVISION = exports.SEMRESATTRS_AWS_ECS_TASK_FAMILY = exports.SEMRESATTRS_AWS_ECS_TASK_ARN = exports.SEMRESATTRS_AWS_ECS_LAUNCHTYPE = exports.SEMRESATTRS_AWS_ECS_CLUSTER_ARN = exports.SEMRESATTRS_AWS_ECS_CONTAINER_ARN = exports.SEMRESATTRS_CLOUD_PLATFORM = exports.SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = exports.SEMRESATTRS_CLOUD_REGION = exports.SEMRESATTRS_CLOUD_ACCOUNT_ID = exports.SEMRESATTRS_CLOUD_PROVIDER = void 0;
exports.CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = exports.CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = exports.CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = exports.CLOUDPLATFORMVALUES_AZURE_AKS = exports.CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = exports.CLOUDPLATFORMVALUES_AZURE_VM = exports.CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = exports.CLOUDPLATFORMVALUES_AWS_LAMBDA = exports.CLOUDPLATFORMVALUES_AWS_EKS = exports.CLOUDPLATFORMVALUES_AWS_ECS = exports.CLOUDPLATFORMVALUES_AWS_EC2 = exports.CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = exports.CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = exports.CloudProviderValues = exports.CLOUDPROVIDERVALUES_GCP = exports.CLOUDPROVIDERVALUES_AZURE = exports.CLOUDPROVIDERVALUES_AWS = exports.CLOUDPROVIDERVALUES_ALIBABA_CLOUD = exports.SemanticResourceAttributes = exports.SEMRESATTRS_WEBENGINE_DESCRIPTION = exports.SEMRESATTRS_WEBENGINE_VERSION = exports.SEMRESATTRS_WEBENGINE_NAME = exports.SEMRESATTRS_TELEMETRY_AUTO_VERSION = exports.SEMRESATTRS_TELEMETRY_SDK_VERSION = exports.SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = exports.SEMRESATTRS_TELEMETRY_SDK_NAME = exports.SEMRESATTRS_SERVICE_VERSION = exports.SEMRESATTRS_SERVICE_INSTANCE_ID = exports.SEMRESATTRS_SERVICE_NAMESPACE = exports.SEMRESATTRS_SERVICE_NAME = exports.SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = exports.SEMRESATTRS_PROCESS_RUNTIME_VERSION = exports.SEMRESATTRS_PROCESS_RUNTIME_NAME = exports.SEMRESATTRS_PROCESS_OWNER = exports.SEMRESATTRS_PROCESS_COMMAND_ARGS = exports.SEMRESATTRS_PROCESS_COMMAND_LINE = exports.SEMRESATTRS_PROCESS_COMMAND = exports.SEMRESATTRS_PROCESS_EXECUTABLE_PATH = exports.SEMRESATTRS_PROCESS_EXECUTABLE_NAME = exports.SEMRESATTRS_PROCESS_PID = exports.SEMRESATTRS_OS_VERSION = exports.SEMRESATTRS_OS_NAME = exports.SEMRESATTRS_OS_DESCRIPTION = exports.SEMRESATTRS_OS_TYPE = exports.SEMRESATTRS_K8S_CRONJOB_NAME = exports.SEMRESATTRS_K8S_CRONJOB_UID = exports.SEMRESATTRS_K8S_JOB_NAME = exports.SEMRESATTRS_K8S_JOB_UID = exports.SEMRESATTRS_K8S_DAEMONSET_NAME = exports.SEMRESATTRS_K8S_DAEMONSET_UID = void 0;
exports.TelemetrySdkLanguageValues = exports.TELEMETRYSDKLANGUAGEVALUES_WEBJS = exports.TELEMETRYSDKLANGUAGEVALUES_RUBY = exports.TELEMETRYSDKLANGUAGEVALUES_PYTHON = exports.TELEMETRYSDKLANGUAGEVALUES_PHP = exports.TELEMETRYSDKLANGUAGEVALUES_NODEJS = exports.TELEMETRYSDKLANGUAGEVALUES_JAVA = exports.TELEMETRYSDKLANGUAGEVALUES_GO = exports.TELEMETRYSDKLANGUAGEVALUES_ERLANG = exports.TELEMETRYSDKLANGUAGEVALUES_DOTNET = exports.TELEMETRYSDKLANGUAGEVALUES_CPP = exports.OsTypeValues = exports.OSTYPEVALUES_Z_OS = exports.OSTYPEVALUES_SOLARIS = exports.OSTYPEVALUES_AIX = exports.OSTYPEVALUES_HPUX = exports.OSTYPEVALUES_DRAGONFLYBSD = exports.OSTYPEVALUES_OPENBSD = exports.OSTYPEVALUES_NETBSD = exports.OSTYPEVALUES_FREEBSD = exports.OSTYPEVALUES_DARWIN = exports.OSTYPEVALUES_LINUX = exports.OSTYPEVALUES_WINDOWS = exports.HostArchValues = exports.HOSTARCHVALUES_X86 = exports.HOSTARCHVALUES_PPC64 = exports.HOSTARCHVALUES_PPC32 = exports.HOSTARCHVALUES_IA64 = exports.HOSTARCHVALUES_ARM64 = exports.HOSTARCHVALUES_ARM32 = exports.HOSTARCHVALUES_AMD64 = exports.AwsEcsLaunchtypeValues = exports.AWSECSLAUNCHTYPEVALUES_FARGATE = exports.AWSECSLAUNCHTYPEVALUES_EC2 = exports.CloudPlatformValues = exports.CLOUDPLATFORMVALUES_GCP_APP_ENGINE = exports.CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = exports.CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = exports.CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = void 0;
const utils_1 = require("../internal/utils");
//----------------------------------------------------------------------------------------------------------
// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates//templates/SemanticAttributes.ts.j2
exports.SemanticResourceAttributes = {
/**
* Name of the cloud provider.
*/
CLOUD_PROVIDER: 'cloud.provider',
/**
* The cloud account ID the resource is assigned to.
*/
CLOUD_ACCOUNT_ID: 'cloud.account.id',
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
CLOUD_REGION: 'cloud.region',
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
CLOUD_AVAILABILITY_ZONE: 'cloud.availability_zone',
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
CLOUD_PLATFORM: 'cloud.platform',
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
AWS_ECS_CONTAINER_ARN: 'aws.ecs.container.arn',
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
AWS_ECS_CLUSTER_ARN: 'aws.ecs.cluster.arn',
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
AWS_ECS_LAUNCHTYPE: 'aws.ecs.launchtype',
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
AWS_ECS_TASK_ARN: 'aws.ecs.task.arn',
/**
* The task definition family this task definition is a member of.
*/
AWS_ECS_TASK_FAMILY: 'aws.ecs.task.family',
/**
* The revision for this task definition.
*/
AWS_ECS_TASK_REVISION: 'aws.ecs.task.revision',
/**
* The ARN of an EKS cluster.
*/
AWS_EKS_CLUSTER_ARN: 'aws.eks.cluster.arn',
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
AWS_LOG_GROUP_NAMES: 'aws.log.group.names',
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
AWS_LOG_GROUP_ARNS: 'aws.log.group.arns',
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
AWS_LOG_STREAM_NAMES: 'aws.log.stream.names',
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
AWS_LOG_STREAM_ARNS: 'aws.log.stream.arns',
/**
* Container name.
*/
CONTAINER_NAME: 'container.name',
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
CONTAINER_ID: 'container.id',
/**
* The container runtime managing this container.
*/
CONTAINER_RUNTIME: 'container.runtime',
/**
* Name of the image the container was built on.
*/
CONTAINER_IMAGE_NAME: 'container.image.name',
/**
* Container image tag.
*/
CONTAINER_IMAGE_TAG: 'container.image.tag',
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
DEPLOYMENT_ENVIRONMENT: 'deployment.environment',
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
DEVICE_ID: 'device.id',
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
DEVICE_MODEL_IDENTIFIER: 'device.model.identifier',
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
DEVICE_MODEL_NAME: 'device.model.name',
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
FAAS_NAME: 'faas.name',
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
FAAS_ID: 'faas.id',
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
FAAS_VERSION: 'faas.version',
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
FAAS_INSTANCE: 'faas.instance',
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
FAAS_MAX_MEMORY: 'faas.max_memory',
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
HOST_ID: 'host.id',
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
HOST_NAME: 'host.name',
/**
* Type of host. For Cloud, this must be the machine type.
*/
HOST_TYPE: 'host.type',
/**
* The CPU architecture the host system is running on.
*/
HOST_ARCH: 'host.arch',
/**
* Name of the VM image or OS install the host was instantiated from.
*/
HOST_IMAGE_NAME: 'host.image.name',
/**
* VM image ID. For Cloud, this value is from the provider.
*/
HOST_IMAGE_ID: 'host.image.id',
/**
* The version string of the VM image as defined in [Version SpanAttributes](README.md#version-attributes).
*/
HOST_IMAGE_VERSION: 'host.image.version',
/**
* The name of the cluster.
*/
K8S_CLUSTER_NAME: 'k8s.cluster.name',
/**
* The name of the Node.
*/
K8S_NODE_NAME: 'k8s.node.name',
/**
* The UID of the Node.
*/
K8S_NODE_UID: 'k8s.node.uid',
/**
* The name of the namespace that the pod is running in.
*/
K8S_NAMESPACE_NAME: 'k8s.namespace.name',
/**
* The UID of the Pod.
*/
K8S_POD_UID: 'k8s.pod.uid',
/**
* The name of the Pod.
*/
K8S_POD_NAME: 'k8s.pod.name',
/**
* The name of the Container in a Pod template.
*/
K8S_CONTAINER_NAME: 'k8s.container.name',
/**
* The UID of the ReplicaSet.
*/
K8S_REPLICASET_UID: 'k8s.replicaset.uid',
/**
* The name of the ReplicaSet.
*/
K8S_REPLICASET_NAME: 'k8s.replicaset.name',
/**
* The UID of the Deployment.
*/
K8S_DEPLOYMENT_UID: 'k8s.deployment.uid',
/**
* The name of the Deployment.
*/
K8S_DEPLOYMENT_NAME: 'k8s.deployment.name',
/**
* The UID of the StatefulSet.
*/
K8S_STATEFULSET_UID: 'k8s.statefulset.uid',
/**
* The name of the StatefulSet.
*/
K8S_STATEFULSET_NAME: 'k8s.statefulset.name',
/**
* The UID of the DaemonSet.
*/
K8S_DAEMONSET_UID: 'k8s.daemonset.uid',
/**
* The name of the DaemonSet.
*/
K8S_DAEMONSET_NAME: 'k8s.daemonset.name',
/**
* The UID of the Job.
*/
K8S_JOB_UID: 'k8s.job.uid',
/**
* The name of the Job.
*/
K8S_JOB_NAME: 'k8s.job.name',
/**
* The UID of the CronJob.
*/
K8S_CRONJOB_UID: 'k8s.cronjob.uid',
/**
* The name of the CronJob.
*/
K8S_CRONJOB_NAME: 'k8s.cronjob.name',
/**
* The operating system type.
*/
OS_TYPE: 'os.type',
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
OS_DESCRIPTION: 'os.description',
/**
* Human readable operating system name.
*/
OS_NAME: 'os.name',
/**
* The version string of the operating system as defined in [Version SpanAttributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
OS_VERSION: 'os.version',
/**
* Process identifier (PID).
*/
PROCESS_PID: 'process.pid',
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_NAME: 'process.executable.name',
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
PROCESS_EXECUTABLE_PATH: 'process.executable.path',
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
PROCESS_COMMAND: 'process.command',
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
PROCESS_COMMAND_LINE: 'process.command_line',
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
PROCESS_COMMAND_ARGS: 'process.command_args',
/**
* The username of the user that owns the process.
*/
PROCESS_OWNER: 'process.owner',
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
PROCESS_RUNTIME_NAME: 'process.runtime.name',
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
PROCESS_RUNTIME_VERSION: 'process.runtime.version',
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
PROCESS_RUNTIME_DESCRIPTION: 'process.runtime.description',
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
SERVICE_NAME: 'service.name',
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
SERVICE_NAMESPACE: 'service.namespace',
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
SERVICE_INSTANCE_ID: 'service.instance.id',
/**
* The version string of the service API or implementation.
*/
SERVICE_VERSION: 'service.version',
/**
* The name of the telemetry SDK as defined above.
*/
TELEMETRY_SDK_NAME: 'telemetry.sdk.name',
/**
* The language of the telemetry SDK.
*/
TELEMETRY_SDK_LANGUAGE: 'telemetry.sdk.language',
/**
* The version string of the telemetry SDK.
*/
TELEMETRY_SDK_VERSION: 'telemetry.sdk.version',
/**
* The version string of the auto instrumentation agent, if used.
*/
TELEMETRY_AUTO_VERSION: 'telemetry.auto.version',
/**
* The name of the web engine.
*/
WEBENGINE_NAME: 'webengine.name',
/**
* The version of the web engine.
*/
WEBENGINE_VERSION: 'webengine.version',
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
WEBENGINE_DESCRIPTION: 'webengine.description',
};
exports.CloudProviderValues = {
/** Alibaba Cloud. */
ALIBABA_CLOUD: 'alibaba_cloud',
/** Amazon Web Services. */
AWS: 'aws',
/** Microsoft Azure. */
AZURE: 'azure',
/** Google Cloud Platform. */
GCP: 'gcp',
};
exports.CloudPlatformValues = {
/** Alibaba Cloud Elastic Compute Service. */
ALIBABA_CLOUD_ECS: 'alibaba_cloud_ecs',
/** Alibaba Cloud Function Compute. */
ALIBABA_CLOUD_FC: 'alibaba_cloud_fc',
/** AWS Elastic Compute Cloud. */
AWS_EC2: 'aws_ec2',
/** AWS Elastic Container Service. */
AWS_ECS: 'aws_ecs',
/** AWS Elastic Kubernetes Service. */
AWS_EKS: 'aws_eks',
/** AWS Lambda. */
AWS_LAMBDA: 'aws_lambda',
/** AWS Elastic Beanstalk. */
AWS_ELASTIC_BEANSTALK: 'aws_elastic_beanstalk',
/** Azure Virtual Machines. */
AZURE_VM: 'azure_vm',
/** Azure Container Instances. */
AZURE_CONTAINER_INSTANCES: 'azure_container_instances',
/** Azure Kubernetes Service. */
AZURE_AKS: 'azure_aks',
/** Azure Functions. */
AZURE_FUNCTIONS: 'azure_functions',
/** Azure App Service. */
AZURE_APP_SERVICE: 'azure_app_service',
/** Google Cloud Compute Engine (GCE). */
GCP_COMPUTE_ENGINE: 'gcp_compute_engine',
/** Google Cloud Run. */
GCP_CLOUD_RUN: 'gcp_cloud_run',
/** Google Cloud Kubernetes Engine (GKE). */
GCP_KUBERNETES_ENGINE: 'gcp_kubernetes_engine',
/** Google Cloud Functions (GCF). */
GCP_CLOUD_FUNCTIONS: 'gcp_cloud_functions',
/** Google Cloud App Engine (GAE). */
GCP_APP_ENGINE: 'gcp_app_engine',
};
exports.AwsEcsLaunchtypeValues = {
/** ec2. */
EC2: 'ec2',
/** fargate. */
FARGATE: 'fargate',
};
exports.HostArchValues = {
/** AMD64. */
AMD64: 'amd64',
/** ARM32. */
ARM32: 'arm32',
/** ARM64. */
ARM64: 'arm64',
/** Itanium. */
IA64: 'ia64',
/** 32-bit PowerPC. */
PPC32: 'ppc32',
/** 64-bit PowerPC. */
PPC64: 'ppc64',
/** 32-bit x86. */
X86: 'x86',
};
exports.OsTypeValues = {
/** Microsoft Windows. */
WINDOWS: 'windows',
/** Linux. */
LINUX: 'linux',
/** Apple Darwin. */
DARWIN: 'darwin',
/** FreeBSD. */
FREEBSD: 'freebsd',
/** NetBSD. */
NETBSD: 'netbsd',
/** OpenBSD. */
OPENBSD: 'openbsd',
/** DragonFly BSD. */
DRAGONFLYBSD: 'dragonflybsd',
/** HP-UX (Hewlett Packard Unix). */
HPUX: 'hpux',
/** AIX (Advanced Interactive eXecutive). */
AIX: 'aix',
/** Oracle Solaris. */
SOLARIS: 'solaris',
/** IBM z/OS. */
Z_OS: 'z_os',
};
exports.TelemetrySdkLanguageValues = {
/** cpp. */
CPP: 'cpp',
/** dotnet. */
DOTNET: 'dotnet',
/** erlang. */
ERLANG: 'erlang',
/** go. */
GO: 'go',
/** java. */
JAVA: 'java',
/** nodejs. */
NODEJS: 'nodejs',
/** php. */
PHP: 'php',
/** python. */
PYTHON: 'python',
/** ruby. */
RUBY: 'ruby',
/** webjs. */
WEBJS: 'webjs',
};
//----------------------------------------------------------------------------------------------------------
//----------------------------------------------------------------------------------------------------------
// Constant values for SemanticResourceAttributes
//----------------------------------------------------------------------------------------------------------
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_CLOUD_PROVIDER = 'cloud.provider';
const TMP_CLOUD_ACCOUNT_ID = 'cloud.account.id';
const TMP_CLOUD_REGION = 'cloud.region';
const TMP_CLOUD_AVAILABILITY_ZONE = 'cloud.availability_zone';
const TMP_CLOUD_PLATFORM = 'cloud.platform';
const TMP_AWS_ECS_CONTAINER_ARN = 'aws.ecs.container.arn';
const TMP_AWS_ECS_CLUSTER_ARN = 'aws.ecs.cluster.arn';
const TMP_AWS_ECS_LAUNCHTYPE = 'aws.ecs.launchtype';
const TMP_AWS_ECS_TASK_ARN = 'aws.ecs.task.arn';
const TMP_AWS_ECS_TASK_FAMILY = 'aws.ecs.task.family';
const TMP_AWS_ECS_TASK_REVISION = 'aws.ecs.task.revision';
const TMP_AWS_EKS_CLUSTER_ARN = 'aws.eks.cluster.arn';
const TMP_AWS_LOG_GROUP_NAMES = 'aws.log.group.names';
const TMP_AWS_LOG_GROUP_ARNS = 'aws.log.group.arns';
const TMP_AWS_LOG_STREAM_NAMES = 'aws.log.stream.names';
const TMP_AWS_LOG_STREAM_ARNS = 'aws.log.stream.arns';
const TMP_CONTAINER_NAME = 'container.name';
const TMP_CONTAINER_ID = 'container.id';
const TMP_CONTAINER_RUNTIME = 'container.runtime';
const TMP_CONTAINER_IMAGE_NAME = 'container.image.name';
const TMP_CONTAINER_IMAGE_TAG = 'container.image.tag';
const TMP_DEPLOYMENT_ENVIRONMENT = 'deployment.environment';
const TMP_DEVICE_ID = 'device.id';
const TMP_DEVICE_MODEL_IDENTIFIER = 'device.model.identifier';
const TMP_DEVICE_MODEL_NAME = 'device.model.name';
const TMP_FAAS_NAME = 'faas.name';
const TMP_FAAS_ID = 'faas.id';
const TMP_FAAS_VERSION = 'faas.version';
const TMP_FAAS_INSTANCE = 'faas.instance';
const TMP_FAAS_MAX_MEMORY = 'faas.max_memory';
const TMP_HOST_ID = 'host.id';
const TMP_HOST_NAME = 'host.name';
const TMP_HOST_TYPE = 'host.type';
const TMP_HOST_ARCH = 'host.arch';
const TMP_HOST_IMAGE_NAME = 'host.image.name';
const TMP_HOST_IMAGE_ID = 'host.image.id';
const TMP_HOST_IMAGE_VERSION = 'host.image.version';
const TMP_K8S_CLUSTER_NAME = 'k8s.cluster.name';
const TMP_K8S_NODE_NAME = 'k8s.node.name';
const TMP_K8S_NODE_UID = 'k8s.node.uid';
const TMP_K8S_NAMESPACE_NAME = 'k8s.namespace.name';
const TMP_K8S_POD_UID = 'k8s.pod.uid';
const TMP_K8S_POD_NAME = 'k8s.pod.name';
const TMP_K8S_CONTAINER_NAME = 'k8s.container.name';
const TMP_K8S_REPLICASET_UID = 'k8s.replicaset.uid';
const TMP_K8S_REPLICASET_NAME = 'k8s.replicaset.name';
const TMP_K8S_DEPLOYMENT_UID = 'k8s.deployment.uid';
const TMP_K8S_DEPLOYMENT_NAME = 'k8s.deployment.name';
const TMP_K8S_STATEFULSET_UID = 'k8s.statefulset.uid';
const TMP_K8S_STATEFULSET_NAME = 'k8s.statefulset.name';
const TMP_K8S_DAEMONSET_UID = 'k8s.daemonset.uid';
const TMP_K8S_DAEMONSET_NAME = 'k8s.daemonset.name';
const TMP_K8S_JOB_UID = 'k8s.job.uid';
const TMP_K8S_JOB_NAME = 'k8s.job.name';
const TMP_K8S_CRONJOB_UID = 'k8s.cronjob.uid';
const TMP_K8S_CRONJOB_NAME = 'k8s.cronjob.name';
const TMP_OS_TYPE = 'os.type';
const TMP_OS_DESCRIPTION = 'os.description';
const TMP_OS_NAME = 'os.name';
const TMP_OS_VERSION = 'os.version';
const TMP_PROCESS_PID = 'process.pid';
const TMP_PROCESS_EXECUTABLE_NAME = 'process.executable.name';
const TMP_PROCESS_EXECUTABLE_PATH = 'process.executable.path';
const TMP_PROCESS_COMMAND = 'process.command';
const TMP_PROCESS_COMMAND_LINE = 'process.command_line';
const TMP_PROCESS_COMMAND_ARGS = 'process.command_args';
const TMP_PROCESS_OWNER = 'process.owner';
const TMP_PROCESS_RUNTIME_NAME = 'process.runtime.name';
const TMP_PROCESS_RUNTIME_VERSION = 'process.runtime.version';
const TMP_PROCESS_RUNTIME_DESCRIPTION = 'process.runtime.description';
const TMP_SERVICE_NAME = 'service.name';
const TMP_SERVICE_NAMESPACE = 'service.namespace';
const TMP_SERVICE_INSTANCE_ID = 'service.instance.id';
const TMP_SERVICE_VERSION = 'service.version';
const TMP_TELEMETRY_SDK_NAME = 'telemetry.sdk.name';
const TMP_TELEMETRY_SDK_LANGUAGE = 'telemetry.sdk.language';
const TMP_TELEMETRY_SDK_VERSION = 'telemetry.sdk.version';
const TMP_TELEMETRY_AUTO_VERSION = 'telemetry.auto.version';
const TMP_WEBENGINE_NAME = 'webengine.name';
const TMP_WEBENGINE_VERSION = 'webengine.version';
const TMP_WEBENGINE_DESCRIPTION = 'webengine.description';
/**
* Name of the cloud provider.
*/
exports.SEMRESATTRS_CLOUD_PROVIDER = TMP_CLOUD_PROVIDER;
/**
* The cloud account ID the resource is assigned to.
*/
exports.SEMRESATTRS_CLOUD_ACCOUNT_ID = TMP_CLOUD_ACCOUNT_ID;
/**
* The geographical region the resource is running. Refer to your provider's docs to see the available regions, for example [Alibaba Cloud regions](https://www.alibabacloud.com/help/doc-detail/40654.htm), [AWS regions](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/), [Azure regions](https://azure.microsoft.com/en-us/global-infrastructure/geographies/), or [Google Cloud regions](https://cloud.google.com/about/locations).
*/
exports.SEMRESATTRS_CLOUD_REGION = TMP_CLOUD_REGION;
/**
* Cloud regions often have multiple, isolated locations known as zones to increase availability. Availability zone represents the zone where the resource is running.
*
* Note: Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
exports.SEMRESATTRS_CLOUD_AVAILABILITY_ZONE = TMP_CLOUD_AVAILABILITY_ZONE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.SEMRESATTRS_CLOUD_PLATFORM = TMP_CLOUD_PLATFORM;
/**
* The Amazon Resource Name (ARN) of an [ECS container instance](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_instances.html).
*/
exports.SEMRESATTRS_AWS_ECS_CONTAINER_ARN = TMP_AWS_ECS_CONTAINER_ARN;
/**
* The ARN of an [ECS cluster](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/clusters.html).
*/
exports.SEMRESATTRS_AWS_ECS_CLUSTER_ARN = TMP_AWS_ECS_CLUSTER_ARN;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
exports.SEMRESATTRS_AWS_ECS_LAUNCHTYPE = TMP_AWS_ECS_LAUNCHTYPE;
/**
* The ARN of an [ECS task definition](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definitions.html).
*/
exports.SEMRESATTRS_AWS_ECS_TASK_ARN = TMP_AWS_ECS_TASK_ARN;
/**
* The task definition family this task definition is a member of.
*/
exports.SEMRESATTRS_AWS_ECS_TASK_FAMILY = TMP_AWS_ECS_TASK_FAMILY;
/**
* The revision for this task definition.
*/
exports.SEMRESATTRS_AWS_ECS_TASK_REVISION = TMP_AWS_ECS_TASK_REVISION;
/**
* The ARN of an EKS cluster.
*/
exports.SEMRESATTRS_AWS_EKS_CLUSTER_ARN = TMP_AWS_EKS_CLUSTER_ARN;
/**
* The name(s) of the AWS log group(s) an application is writing to.
*
* Note: Multiple log groups must be supported for cases like multi-container applications, where a single application has sidecar containers, and each write to their own log group.
*/
exports.SEMRESATTRS_AWS_LOG_GROUP_NAMES = TMP_AWS_LOG_GROUP_NAMES;
/**
* The Amazon Resource Name(s) (ARN) of the AWS log group(s).
*
* Note: See the [log group ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format).
*/
exports.SEMRESATTRS_AWS_LOG_GROUP_ARNS = TMP_AWS_LOG_GROUP_ARNS;
/**
* The name(s) of the AWS log stream(s) an application is writing to.
*/
exports.SEMRESATTRS_AWS_LOG_STREAM_NAMES = TMP_AWS_LOG_STREAM_NAMES;
/**
* The ARN(s) of the AWS log stream(s).
*
* Note: See the [log stream ARN format documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/iam-access-control-overview-cwl.html#CWL_ARN_Format). One log group can contain several log streams, so these ARNs necessarily identify both a log group and a log stream.
*/
exports.SEMRESATTRS_AWS_LOG_STREAM_ARNS = TMP_AWS_LOG_STREAM_ARNS;
/**
* Container name.
*/
exports.SEMRESATTRS_CONTAINER_NAME = TMP_CONTAINER_NAME;
/**
* Container ID. Usually a UUID, as for example used to [identify Docker containers](https://docs.docker.com/engine/reference/run/#container-identification). The UUID might be abbreviated.
*/
exports.SEMRESATTRS_CONTAINER_ID = TMP_CONTAINER_ID;
/**
* The container runtime managing this container.
*/
exports.SEMRESATTRS_CONTAINER_RUNTIME = TMP_CONTAINER_RUNTIME;
/**
* Name of the image the container was built on.
*/
exports.SEMRESATTRS_CONTAINER_IMAGE_NAME = TMP_CONTAINER_IMAGE_NAME;
/**
* Container image tag.
*/
exports.SEMRESATTRS_CONTAINER_IMAGE_TAG = TMP_CONTAINER_IMAGE_TAG;
/**
* Name of the [deployment environment](https://en.wikipedia.org/wiki/Deployment_environment) (aka deployment tier).
*/
exports.SEMRESATTRS_DEPLOYMENT_ENVIRONMENT = TMP_DEPLOYMENT_ENVIRONMENT;
/**
* A unique identifier representing the device.
*
* Note: The device identifier MUST only be defined using the values outlined below. This value is not an advertising identifier and MUST NOT be used as such. On iOS (Swift or Objective-C), this value MUST be equal to the [vendor identifier](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android (Java or Kotlin), this value MUST be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application. More information can be found [here](https://developer.android.com/training/articles/user-data-ids) on best practices and exact implementation details. Caution should be taken when storing personal data or anything which can identify a user. GDPR and data protection laws may apply, ensure you do your own due diligence.
*/
exports.SEMRESATTRS_DEVICE_ID = TMP_DEVICE_ID;
/**
* The model identifier for the device.
*
* Note: It's recommended this value represents a machine readable version of the model identifier rather than the market or consumer-friendly name of the device.
*/
exports.SEMRESATTRS_DEVICE_MODEL_IDENTIFIER = TMP_DEVICE_MODEL_IDENTIFIER;
/**
* The marketing name for the device model.
*
* Note: It's recommended this value represents a human readable version of the device model rather than a machine readable alternative.
*/
exports.SEMRESATTRS_DEVICE_MODEL_NAME = TMP_DEVICE_MODEL_NAME;
/**
* The name of the single function that this runtime instance executes.
*
* Note: This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the [`code.namespace`/`code.function`](../../trace/semantic_conventions/span-general.md#source-code-attributes) span attributes).
*/
exports.SEMRESATTRS_FAAS_NAME = TMP_FAAS_NAME;
/**
* The unique ID of the single function that this runtime instance executes.
*
* Note: Depending on the cloud provider, use:
* **AWS Lambda:** The function [ARN](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
Take care not to use the "invoked ARN" directly but replace any
[alias suffix](https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html) with the resolved function version, as the same runtime instance may be invokable with multiple
different aliases.
* **GCP:** The [URI of the resource](https://cloud.google.com/iam/docs/full-resource-names)
* **Azure:** The [Fully Qualified Resource ID](https://docs.microsoft.com/en-us/rest/api/resources/resources/get-by-id).
On some providers, it may not be possible to determine the full ID at startup,
which is why this field cannot be made required. For example, on AWS the account ID
part of the ARN is not available without calling another AWS API
which may be deemed too slow for a short-running lambda function.
As an alternative, consider setting `faas.id` as a span attribute instead.
*/
exports.SEMRESATTRS_FAAS_ID = TMP_FAAS_ID;
/**
* The immutable version of the function being executed.
*
* Note: Depending on the cloud provider and platform, use:
* **AWS Lambda:** The [function version](https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html)
(an integer represented as a decimal string).
* **Google Cloud Run:** 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).
* **Azure Functions:** Not applicable. Do not set this attribute.
*/
exports.SEMRESATTRS_FAAS_VERSION = TMP_FAAS_VERSION;
/**
* The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.
*
* Note: * **AWS Lambda:** Use the (full) log stream name.
*/
exports.SEMRESATTRS_FAAS_INSTANCE = TMP_FAAS_INSTANCE;
/**
* The amount of memory available to the serverless function in MiB.
*
* Note: It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable `AWS_LAMBDA_FUNCTION_MEMORY_SIZE` provides this information.
*/
exports.SEMRESATTRS_FAAS_MAX_MEMORY = TMP_FAAS_MAX_MEMORY;
/**
* Unique host ID. For Cloud, this must be the instance_id assigned by the cloud provider.
*/
exports.SEMRESATTRS_HOST_ID = TMP_HOST_ID;
/**
* Name of the host. On Unix systems, it may contain what the hostname command returns, or the fully qualified hostname, or another name specified by the user.
*/
exports.SEMRESATTRS_HOST_NAME = TMP_HOST_NAME;
/**
* Type of host. For Cloud, this must be the machine type.
*/
exports.SEMRESATTRS_HOST_TYPE = TMP_HOST_TYPE;
/**
* The CPU architecture the host system is running on.
*/
exports.SEMRESATTRS_HOST_ARCH = TMP_HOST_ARCH;
/**
* Name of the VM image or OS install the host was instantiated from.
*/
exports.SEMRESATTRS_HOST_IMAGE_NAME = TMP_HOST_IMAGE_NAME;
/**
* VM image ID. For Cloud, this value is from the provider.
*/
exports.SEMRESATTRS_HOST_IMAGE_ID = TMP_HOST_IMAGE_ID;
/**
* The version string of the VM image as defined in [Version Attributes](README.md#version-attributes).
*/
exports.SEMRESATTRS_HOST_IMAGE_VERSION = TMP_HOST_IMAGE_VERSION;
/**
* The name of the cluster.
*/
exports.SEMRESATTRS_K8S_CLUSTER_NAME = TMP_K8S_CLUSTER_NAME;
/**
* The name of the Node.
*/
exports.SEMRESATTRS_K8S_NODE_NAME = TMP_K8S_NODE_NAME;
/**
* The UID of the Node.
*/
exports.SEMRESATTRS_K8S_NODE_UID = TMP_K8S_NODE_UID;
/**
* The name of the namespace that the pod is running in.
*/
exports.SEMRESATTRS_K8S_NAMESPACE_NAME = TMP_K8S_NAMESPACE_NAME;
/**
* The UID of the Pod.
*/
exports.SEMRESATTRS_K8S_POD_UID = TMP_K8S_POD_UID;
/**
* The name of the Pod.
*/
exports.SEMRESATTRS_K8S_POD_NAME = TMP_K8S_POD_NAME;
/**
* The name of the Container in a Pod template.
*/
exports.SEMRESATTRS_K8S_CONTAINER_NAME = TMP_K8S_CONTAINER_NAME;
/**
* The UID of the ReplicaSet.
*/
exports.SEMRESATTRS_K8S_REPLICASET_UID = TMP_K8S_REPLICASET_UID;
/**
* The name of the ReplicaSet.
*/
exports.SEMRESATTRS_K8S_REPLICASET_NAME = TMP_K8S_REPLICASET_NAME;
/**
* The UID of the Deployment.
*/
exports.SEMRESATTRS_K8S_DEPLOYMENT_UID = TMP_K8S_DEPLOYMENT_UID;
/**
* The name of the Deployment.
*/
exports.SEMRESATTRS_K8S_DEPLOYMENT_NAME = TMP_K8S_DEPLOYMENT_NAME;
/**
* The UID of the StatefulSet.
*/
exports.SEMRESATTRS_K8S_STATEFULSET_UID = TMP_K8S_STATEFULSET_UID;
/**
* The name of the StatefulSet.
*/
exports.SEMRESATTRS_K8S_STATEFULSET_NAME = TMP_K8S_STATEFULSET_NAME;
/**
* The UID of the DaemonSet.
*/
exports.SEMRESATTRS_K8S_DAEMONSET_UID = TMP_K8S_DAEMONSET_UID;
/**
* The name of the DaemonSet.
*/
exports.SEMRESATTRS_K8S_DAEMONSET_NAME = TMP_K8S_DAEMONSET_NAME;
/**
* The UID of the Job.
*/
exports.SEMRESATTRS_K8S_JOB_UID = TMP_K8S_JOB_UID;
/**
* The name of the Job.
*/
exports.SEMRESATTRS_K8S_JOB_NAME = TMP_K8S_JOB_NAME;
/**
* The UID of the CronJob.
*/
exports.SEMRESATTRS_K8S_CRONJOB_UID = TMP_K8S_CRONJOB_UID;
/**
* The name of the CronJob.
*/
exports.SEMRESATTRS_K8S_CRONJOB_NAME = TMP_K8S_CRONJOB_NAME;
/**
* The operating system type.
*/
exports.SEMRESATTRS_OS_TYPE = TMP_OS_TYPE;
/**
* Human readable (not intended to be parsed) OS version information, like e.g. reported by `ver` or `lsb_release -a` commands.
*/
exports.SEMRESATTRS_OS_DESCRIPTION = TMP_OS_DESCRIPTION;
/**
* Human readable operating system name.
*/
exports.SEMRESATTRS_OS_NAME = TMP_OS_NAME;
/**
* The version string of the operating system as defined in [Version Attributes](../../resource/semantic_conventions/README.md#version-attributes).
*/
exports.SEMRESATTRS_OS_VERSION = TMP_OS_VERSION;
/**
* Process identifier (PID).
*/
exports.SEMRESATTRS_PROCESS_PID = TMP_PROCESS_PID;
/**
* The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`.
*/
exports.SEMRESATTRS_PROCESS_EXECUTABLE_NAME = TMP_PROCESS_EXECUTABLE_NAME;
/**
* The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`.
*/
exports.SEMRESATTRS_PROCESS_EXECUTABLE_PATH = TMP_PROCESS_EXECUTABLE_PATH;
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be set to the zeroth string in `proc/[pid]/cmdline`. On Windows, can be set to the first parameter extracted from `GetCommandLineW`.
*/
exports.SEMRESATTRS_PROCESS_COMMAND = TMP_PROCESS_COMMAND;
/**
* The full command used to launch the process as a single string representing the full command. On Windows, can be set to the result of `GetCommandLineW`. Do not set this if you have to assemble it just for monitoring; use `process.command_args` instead.
*/
exports.SEMRESATTRS_PROCESS_COMMAND_LINE = TMP_PROCESS_COMMAND_LINE;
/**
* All the command arguments (including the command/executable itself) as received by the process. On Linux-based systems (and some other Unixoid systems supporting procfs), can be set according to the list of null-delimited strings extracted from `proc/[pid]/cmdline`. For libc-based executables, this would be the full argv vector passed to `main`.
*/
exports.SEMRESATTRS_PROCESS_COMMAND_ARGS = TMP_PROCESS_COMMAND_ARGS;
/**
* The username of the user that owns the process.
*/
exports.SEMRESATTRS_PROCESS_OWNER = TMP_PROCESS_OWNER;
/**
* The name of the runtime of this process. For compiled native binaries, this SHOULD be the name of the compiler.
*/
exports.SEMRESATTRS_PROCESS_RUNTIME_NAME = TMP_PROCESS_RUNTIME_NAME;
/**
* The version of the runtime of this process, as returned by the runtime without modification.
*/
exports.SEMRESATTRS_PROCESS_RUNTIME_VERSION = TMP_PROCESS_RUNTIME_VERSION;
/**
* An additional description about the runtime of the process, for example a specific vendor customization of the runtime environment.
*/
exports.SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION = TMP_PROCESS_RUNTIME_DESCRIPTION;
/**
* Logical name of the service.
*
* Note: MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
*/
exports.SEMRESATTRS_SERVICE_NAME = TMP_SERVICE_NAME;
/**
* A namespace for `service.name`.
*
* Note: A string value having a meaning that helps to distinguish a group of services, for example the team name that owns a group of services. `service.name` is expected to be unique within the same namespace. If `service.namespace` is not specified in the Resource then `service.name` is expected to be unique for all services that have no explicit namespace defined (so the empty/unspecified namespace is simply one more valid namespace). Zero-length namespace string is assumed equal to unspecified namespace.
*/
exports.SEMRESATTRS_SERVICE_NAMESPACE = TMP_SERVICE_NAMESPACE;
/**
* The string ID of the service instance.
*
* Note: MUST be unique for each instance of the same `service.namespace,service.name` pair (in other words `service.namespace,service.name,service.instance.id` triplet MUST be globally unique). The ID helps to distinguish instances of the same service that exist at the same time (e.g. instances of a horizontally scaled service). It is preferable for the ID to be persistent and stay the same for the lifetime of the service instance, however it is acceptable that the ID is ephemeral and changes during important lifetime events for the service (e.g. service restarts). If the service has no inherent unique ID that can be used as the value of this attribute it is recommended to generate a random Version 1 or Version 4 RFC 4122 UUID (services aiming for reproducible UUIDs may also use Version 5, see RFC 4122 for more recommendations).
*/
exports.SEMRESATTRS_SERVICE_INSTANCE_ID = TMP_SERVICE_INSTANCE_ID;
/**
* The version string of the service API or implementation.
*/
exports.SEMRESATTRS_SERVICE_VERSION = TMP_SERVICE_VERSION;
/**
* The name of the telemetry SDK as defined above.
*/
exports.SEMRESATTRS_TELEMETRY_SDK_NAME = TMP_TELEMETRY_SDK_NAME;
/**
* The language of the telemetry SDK.
*/
exports.SEMRESATTRS_TELEMETRY_SDK_LANGUAGE = TMP_TELEMETRY_SDK_LANGUAGE;
/**
* The version string of the telemetry SDK.
*/
exports.SEMRESATTRS_TELEMETRY_SDK_VERSION = TMP_TELEMETRY_SDK_VERSION;
/**
* The version string of the auto instrumentation agent, if used.
*/
exports.SEMRESATTRS_TELEMETRY_AUTO_VERSION = TMP_TELEMETRY_AUTO_VERSION;
/**
* The name of the web engine.
*/
exports.SEMRESATTRS_WEBENGINE_NAME = TMP_WEBENGINE_NAME;
/**
* The version of the web engine.
*/
exports.SEMRESATTRS_WEBENGINE_VERSION = TMP_WEBENGINE_VERSION;
/**
* Additional description of the web engine (e.g. detailed version and edition information).
*/
exports.SEMRESATTRS_WEBENGINE_DESCRIPTION = TMP_WEBENGINE_DESCRIPTION;
/**
* Create exported Value Map for SemanticResourceAttributes values
* @deprecated Use the SEMRESATTRS_XXXXX constants rather than the SemanticResourceAttributes.XXXXX for bundle minification
*/
exports.SemanticResourceAttributes =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_CLOUD_PROVIDER,
TMP_CLOUD_ACCOUNT_ID,
TMP_CLOUD_REGION,
TMP_CLOUD_AVAILABILITY_ZONE,
TMP_CLOUD_PLATFORM,
TMP_AWS_ECS_CONTAINER_ARN,
TMP_AWS_ECS_CLUSTER_ARN,
TMP_AWS_ECS_LAUNCHTYPE,
TMP_AWS_ECS_TASK_ARN,
TMP_AWS_ECS_TASK_FAMILY,
TMP_AWS_ECS_TASK_REVISION,
TMP_AWS_EKS_CLUSTER_ARN,
TMP_AWS_LOG_GROUP_NAMES,
TMP_AWS_LOG_GROUP_ARNS,
TMP_AWS_LOG_STREAM_NAMES,
TMP_AWS_LOG_STREAM_ARNS,
TMP_CONTAINER_NAME,
TMP_CONTAINER_ID,
TMP_CONTAINER_RUNTIME,
TMP_CONTAINER_IMAGE_NAME,
TMP_CONTAINER_IMAGE_TAG,
TMP_DEPLOYMENT_ENVIRONMENT,
TMP_DEVICE_ID,
TMP_DEVICE_MODEL_IDENTIFIER,
TMP_DEVICE_MODEL_NAME,
TMP_FAAS_NAME,
TMP_FAAS_ID,
TMP_FAAS_VERSION,
TMP_FAAS_INSTANCE,
TMP_FAAS_MAX_MEMORY,
TMP_HOST_ID,
TMP_HOST_NAME,
TMP_HOST_TYPE,
TMP_HOST_ARCH,
TMP_HOST_IMAGE_NAME,
TMP_HOST_IMAGE_ID,
TMP_HOST_IMAGE_VERSION,
TMP_K8S_CLUSTER_NAME,
TMP_K8S_NODE_NAME,
TMP_K8S_NODE_UID,
TMP_K8S_NAMESPACE_NAME,
TMP_K8S_POD_UID,
TMP_K8S_POD_NAME,
TMP_K8S_CONTAINER_NAME,
TMP_K8S_REPLICASET_UID,
TMP_K8S_REPLICASET_NAME,
TMP_K8S_DEPLOYMENT_UID,
TMP_K8S_DEPLOYMENT_NAME,
TMP_K8S_STATEFULSET_UID,
TMP_K8S_STATEFULSET_NAME,
TMP_K8S_DAEMONSET_UID,
TMP_K8S_DAEMONSET_NAME,
TMP_K8S_JOB_UID,
TMP_K8S_JOB_NAME,
TMP_K8S_CRONJOB_UID,
TMP_K8S_CRONJOB_NAME,
TMP_OS_TYPE,
TMP_OS_DESCRIPTION,
TMP_OS_NAME,
TMP_OS_VERSION,
TMP_PROCESS_PID,
TMP_PROCESS_EXECUTABLE_NAME,
TMP_PROCESS_EXECUTABLE_PATH,
TMP_PROCESS_COMMAND,
TMP_PROCESS_COMMAND_LINE,
TMP_PROCESS_COMMAND_ARGS,
TMP_PROCESS_OWNER,
TMP_PROCESS_RUNTIME_NAME,
TMP_PROCESS_RUNTIME_VERSION,
TMP_PROCESS_RUNTIME_DESCRIPTION,
TMP_SERVICE_NAME,
TMP_SERVICE_NAMESPACE,
TMP_SERVICE_INSTANCE_ID,
TMP_SERVICE_VERSION,
TMP_TELEMETRY_SDK_NAME,
TMP_TELEMETRY_SDK_LANGUAGE,
TMP_TELEMETRY_SDK_VERSION,
TMP_TELEMETRY_AUTO_VERSION,
TMP_WEBENGINE_NAME,
TMP_WEBENGINE_VERSION,
TMP_WEBENGINE_DESCRIPTION,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for CloudProviderValues enum definition
*
* Name of the cloud provider.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD = 'alibaba_cloud';
const TMP_CLOUDPROVIDERVALUES_AWS = 'aws';
const TMP_CLOUDPROVIDERVALUES_AZURE = 'azure';
const TMP_CLOUDPROVIDERVALUES_GCP = 'gcp';
/**
* Name of the cloud provider.
*/
exports.CLOUDPROVIDERVALUES_ALIBABA_CLOUD = TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD;
/**
* Name of the cloud provider.
*/
exports.CLOUDPROVIDERVALUES_AWS = TMP_CLOUDPROVIDERVALUES_AWS;
/**
* Name of the cloud provider.
*/
exports.CLOUDPROVIDERVALUES_AZURE = TMP_CLOUDPROVIDERVALUES_AZURE;
/**
* Name of the cloud provider.
*/
exports.CLOUDPROVIDERVALUES_GCP = TMP_CLOUDPROVIDERVALUES_GCP;
/**
* The constant map of values for CloudProviderValues.
* @deprecated Use the CLOUDPROVIDERVALUES_XXXXX constants rather than the CloudProviderValues.XXXXX for bundle minification.
*/
exports.CloudProviderValues =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_CLOUDPROVIDERVALUES_ALIBABA_CLOUD,
TMP_CLOUDPROVIDERVALUES_AWS,
TMP_CLOUDPROVIDERVALUES_AZURE,
TMP_CLOUDPROVIDERVALUES_GCP,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for CloudPlatformValues enum definition
*
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = 'alibaba_cloud_ecs';
const TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = 'alibaba_cloud_fc';
const TMP_CLOUDPLATFORMVALUES_AWS_EC2 = 'aws_ec2';
const TMP_CLOUDPLATFORMVALUES_AWS_ECS = 'aws_ecs';
const TMP_CLOUDPLATFORMVALUES_AWS_EKS = 'aws_eks';
const TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA = 'aws_lambda';
const TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = 'aws_elastic_beanstalk';
const TMP_CLOUDPLATFORMVALUES_AZURE_VM = 'azure_vm';
const TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = 'azure_container_instances';
const TMP_CLOUDPLATFORMVALUES_AZURE_AKS = 'azure_aks';
const TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = 'azure_functions';
const TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = 'azure_app_service';
const TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = 'gcp_compute_engine';
const TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = 'gcp_cloud_run';
const TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = 'gcp_kubernetes_engine';
const TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = 'gcp_cloud_functions';
const TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE = 'gcp_app_engine';
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC = TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AWS_EC2 = TMP_CLOUDPLATFORMVALUES_AWS_EC2;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AWS_ECS = TMP_CLOUDPLATFORMVALUES_AWS_ECS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AWS_EKS = TMP_CLOUDPLATFORMVALUES_AWS_EKS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AWS_LAMBDA = TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK = TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AZURE_VM = TMP_CLOUDPLATFORMVALUES_AZURE_VM;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES = TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AZURE_AKS = TMP_CLOUDPLATFORMVALUES_AZURE_AKS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AZURE_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_AZURE_APP_SERVICE = TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_GCP_CLOUD_RUN = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS = TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS;
/**
* The cloud platform in use.
*
* Note: The prefix of the service SHOULD match the one specified in `cloud.provider`.
*/
exports.CLOUDPLATFORMVALUES_GCP_APP_ENGINE = TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE;
/**
* The constant map of values for CloudPlatformValues.
* @deprecated Use the CLOUDPLATFORMVALUES_XXXXX constants rather than the CloudPlatformValues.XXXXX for bundle minification.
*/
exports.CloudPlatformValues =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS,
TMP_CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC,
TMP_CLOUDPLATFORMVALUES_AWS_EC2,
TMP_CLOUDPLATFORMVALUES_AWS_ECS,
TMP_CLOUDPLATFORMVALUES_AWS_EKS,
TMP_CLOUDPLATFORMVALUES_AWS_LAMBDA,
TMP_CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK,
TMP_CLOUDPLATFORMVALUES_AZURE_VM,
TMP_CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES,
TMP_CLOUDPLATFORMVALUES_AZURE_AKS,
TMP_CLOUDPLATFORMVALUES_AZURE_FUNCTIONS,
TMP_CLOUDPLATFORMVALUES_AZURE_APP_SERVICE,
TMP_CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE,
TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_RUN,
TMP_CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE,
TMP_CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS,
TMP_CLOUDPLATFORMVALUES_GCP_APP_ENGINE,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for AwsEcsLaunchtypeValues enum definition
*
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_AWSECSLAUNCHTYPEVALUES_EC2 = 'ec2';
const TMP_AWSECSLAUNCHTYPEVALUES_FARGATE = 'fargate';
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
exports.AWSECSLAUNCHTYPEVALUES_EC2 = TMP_AWSECSLAUNCHTYPEVALUES_EC2;
/**
* The [launch type](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_types.html) for an ECS task.
*/
exports.AWSECSLAUNCHTYPEVALUES_FARGATE = TMP_AWSECSLAUNCHTYPEVALUES_FARGATE;
/**
* The constant map of values for AwsEcsLaunchtypeValues.
* @deprecated Use the AWSECSLAUNCHTYPEVALUES_XXXXX constants rather than the AwsEcsLaunchtypeValues.XXXXX for bundle minification.
*/
exports.AwsEcsLaunchtypeValues =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_AWSECSLAUNCHTYPEVALUES_EC2,
TMP_AWSECSLAUNCHTYPEVALUES_FARGATE,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for HostArchValues enum definition
*
* The CPU architecture the host system is running on.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_HOSTARCHVALUES_AMD64 = 'amd64';
const TMP_HOSTARCHVALUES_ARM32 = 'arm32';
const TMP_HOSTARCHVALUES_ARM64 = 'arm64';
const TMP_HOSTARCHVALUES_IA64 = 'ia64';
const TMP_HOSTARCHVALUES_PPC32 = 'ppc32';
const TMP_HOSTARCHVALUES_PPC64 = 'ppc64';
const TMP_HOSTARCHVALUES_X86 = 'x86';
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_AMD64 = TMP_HOSTARCHVALUES_AMD64;
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_ARM32 = TMP_HOSTARCHVALUES_ARM32;
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_ARM64 = TMP_HOSTARCHVALUES_ARM64;
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_IA64 = TMP_HOSTARCHVALUES_IA64;
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_PPC32 = TMP_HOSTARCHVALUES_PPC32;
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_PPC64 = TMP_HOSTARCHVALUES_PPC64;
/**
* The CPU architecture the host system is running on.
*/
exports.HOSTARCHVALUES_X86 = TMP_HOSTARCHVALUES_X86;
/**
* The constant map of values for HostArchValues.
* @deprecated Use the HOSTARCHVALUES_XXXXX constants rather than the HostArchValues.XXXXX for bundle minification.
*/
exports.HostArchValues =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_HOSTARCHVALUES_AMD64,
TMP_HOSTARCHVALUES_ARM32,
TMP_HOSTARCHVALUES_ARM64,
TMP_HOSTARCHVALUES_IA64,
TMP_HOSTARCHVALUES_PPC32,
TMP_HOSTARCHVALUES_PPC64,
TMP_HOSTARCHVALUES_X86,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for OsTypeValues enum definition
*
* The operating system type.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_OSTYPEVALUES_WINDOWS = 'windows';
const TMP_OSTYPEVALUES_LINUX = 'linux';
const TMP_OSTYPEVALUES_DARWIN = 'darwin';
const TMP_OSTYPEVALUES_FREEBSD = 'freebsd';
const TMP_OSTYPEVALUES_NETBSD = 'netbsd';
const TMP_OSTYPEVALUES_OPENBSD = 'openbsd';
const TMP_OSTYPEVALUES_DRAGONFLYBSD = 'dragonflybsd';
const TMP_OSTYPEVALUES_HPUX = 'hpux';
const TMP_OSTYPEVALUES_AIX = 'aix';
const TMP_OSTYPEVALUES_SOLARIS = 'solaris';
const TMP_OSTYPEVALUES_Z_OS = 'z_os';
/**
* The operating system type.
*/
exports.OSTYPEVALUES_WINDOWS = TMP_OSTYPEVALUES_WINDOWS;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_LINUX = TMP_OSTYPEVALUES_LINUX;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_DARWIN = TMP_OSTYPEVALUES_DARWIN;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_FREEBSD = TMP_OSTYPEVALUES_FREEBSD;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_NETBSD = TMP_OSTYPEVALUES_NETBSD;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_OPENBSD = TMP_OSTYPEVALUES_OPENBSD;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_DRAGONFLYBSD = TMP_OSTYPEVALUES_DRAGONFLYBSD;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_HPUX = TMP_OSTYPEVALUES_HPUX;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_AIX = TMP_OSTYPEVALUES_AIX;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_SOLARIS = TMP_OSTYPEVALUES_SOLARIS;
/**
* The operating system type.
*/
exports.OSTYPEVALUES_Z_OS = TMP_OSTYPEVALUES_Z_OS;
/**
* The constant map of values for OsTypeValues.
* @deprecated Use the OSTYPEVALUES_XXXXX constants rather than the OsTypeValues.XXXXX for bundle minification.
*/
exports.OsTypeValues =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_OSTYPEVALUES_WINDOWS,
TMP_OSTYPEVALUES_LINUX,
TMP_OSTYPEVALUES_DARWIN,
TMP_OSTYPEVALUES_FREEBSD,
TMP_OSTYPEVALUES_NETBSD,
TMP_OSTYPEVALUES_OPENBSD,
TMP_OSTYPEVALUES_DRAGONFLYBSD,
TMP_OSTYPEVALUES_HPUX,
TMP_OSTYPEVALUES_AIX,
TMP_OSTYPEVALUES_SOLARIS,
TMP_OSTYPEVALUES_Z_OS,
]);
/* ----------------------------------------------------------------------------------------------------------
* Constant values for TelemetrySdkLanguageValues enum definition
*
* The language of the telemetry SDK.
* ---------------------------------------------------------------------------------------------------------- */
// Temporary local constants to assign to the individual exports and the namespaced version
// Required to avoid the namespace exports using the unminifable export names for some package types
const TMP_TELEMETRYSDKLANGUAGEVALUES_CPP = 'cpp';
const TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET = 'dotnet';
const TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG = 'erlang';
const TMP_TELEMETRYSDKLANGUAGEVALUES_GO = 'go';
const TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA = 'java';
const TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS = 'nodejs';
const TMP_TELEMETRYSDKLANGUAGEVALUES_PHP = 'php';
const TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON = 'python';
const TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY = 'ruby';
const TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS = 'webjs';
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_CPP = TMP_TELEMETRYSDKLANGUAGEVALUES_CPP;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_DOTNET = TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_ERLANG = TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_GO = TMP_TELEMETRYSDKLANGUAGEVALUES_GO;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_JAVA = TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_NODEJS = TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_PHP = TMP_TELEMETRYSDKLANGUAGEVALUES_PHP;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_PYTHON = TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_RUBY = TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY;
/**
* The language of the telemetry SDK.
*/
exports.TELEMETRYSDKLANGUAGEVALUES_WEBJS = TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS;
/**
* The constant map of values for TelemetrySdkLanguageValues.
* @deprecated Use the TELEMETRYSDKLANGUAGEVALUES_XXXXX constants rather than the TelemetrySdkLanguageValues.XXXXX for bundle minification.
*/
exports.TelemetrySdkLanguageValues =
/*#__PURE__*/ (0, utils_1.createConstMap)([
TMP_TELEMETRYSDKLANGUAGEVALUES_CPP,
TMP_TELEMETRYSDKLANGUAGEVALUES_DOTNET,
TMP_TELEMETRYSDKLANGUAGEVALUES_ERLANG,
TMP_TELEMETRYSDKLANGUAGEVALUES_GO,
TMP_TELEMETRYSDKLANGUAGEVALUES_JAVA,
TMP_TELEMETRYSDKLANGUAGEVALUES_NODEJS,
TMP_TELEMETRYSDKLANGUAGEVALUES_PHP,
TMP_TELEMETRYSDKLANGUAGEVALUES_PYTHON,
TMP_TELEMETRYSDKLANGUAGEVALUES_RUBY,
TMP_TELEMETRYSDKLANGUAGEVALUES_WEBJS,
]);
//# sourceMappingURL=SemanticResourceAttributes.js.map

@@ -1,2 +0,2 @@

export declare const VERSION = "1.21.0";
export declare const VERSION = "1.22.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '1.21.0';
exports.VERSION = '1.22.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/semantic-conventions",
"version": "1.21.0",
"version": "1.22.0",
"description": "OpenTelemetry semantic conventions",

@@ -20,3 +20,4 @@ "main": "build/src/index.js",

"prewatch": "npm run precompile",
"peer-api-check": "node ../../scripts/peer-api-check.js"
"peer-api-check": "node ../../scripts/peer-api-check.js",
"size-check": "npm run compile && ts-mocha -p tsconfig.json 'test/**/*.test.ts'"
},

@@ -53,2 +54,5 @@ "keywords": [

"devDependencies": {
"@size-limit/file": "^11.0.1",
"@size-limit/time": "^11.0.1",
"@size-limit/webpack": "^11.0.1",
"@types/mocha": "10.0.6",

@@ -64,3 +68,5 @@ "@types/node": "18.6.5",

"sinon": "15.1.2",
"size-limit": "^11.0.1",
"ts-mocha": "10.0.0",
"ts-node": "10.9.2",
"typescript": "4.4.4"

@@ -70,3 +76,3 @@ },

"sideEffects": false,
"gitHead": "828f2ed730e4d26d71f92e220f96b60a552a673a"
"gitHead": "7be35c7845e206b27b682e8ce1cee850b09cec04"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc