AZ_SERVICE_REQUEST_ID =
stringKey("az.service_request_id");
+ // Enum definitions
+
private AzIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/BrowserIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/BrowserIncubatingAttributes.java
index a4024b9..8c7ab84 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/BrowserIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/BrowserIncubatingAttributes.java
@@ -13,20 +13,17 @@
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class BrowserIncubatingAttributes {
-
/**
* Array of brand name and version separated by a space
*
* Notes:
*
- *
- * - This value is intended to be taken from the UA client hints API ({@code
- * navigator.userAgentData.brands}).
- *
+ * This value is intended to be taken from the UA client hints API ({@code
+ * navigator.userAgentData.brands}).
*/
public static final AttributeKey> BROWSER_BRANDS = stringArrayKey("browser.brands");
@@ -35,9 +32,7 @@ public final class BrowserIncubatingAttributes {
*
* Notes:
*
- *
- * - This value is intended to be taken from the Navigator API {@code navigator.language}.
- *
+ * This value is intended to be taken from the Navigator API {@code navigator.language}.
*/
public static final AttributeKey BROWSER_LANGUAGE = stringKey("browser.language");
@@ -46,11 +41,9 @@ public final class BrowserIncubatingAttributes {
*
* Notes:
*
- *
- * - This value is intended to be taken from the UA client hints API ({@code
- * navigator.userAgentData.mobile}). If unavailable, this attribute SHOULD be left unset.
- *
+ * This value is intended to be taken from the UA client hints API ({@code
+ * navigator.userAgentData.mobile}). If unavailable, this attribute SHOULD be left unset.
*/
public static final AttributeKey BROWSER_MOBILE = booleanKey("browser.mobile");
@@ -59,20 +52,20 @@ public final class BrowserIncubatingAttributes {
*
* Notes:
*
- *
- * - This value is intended to be taken from the UA client hints API ({@code
- * navigator.userAgentData.platform}). If unavailable, the legacy {@code navigator.platform}
- * API SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the
- * values to be consistent. The list of possible values is defined in the W3C User-Agent Client
- * Hints specification. Note that some (but not all) of these values can overlap with
- * values in the {@code os.type} and {@code os.name} attributes.
- * However, for consistency, the values in the {@code browser.platform} attribute should
- * capture the exact value that the user agent provides.
- *
+ * This value is intended to be taken from the UA client hints API ({@code
+ * navigator.userAgentData.platform}). If unavailable, the legacy {@code navigator.platform} API
+ * SHOULD NOT be used instead and this attribute SHOULD be left unset in order for the values to
+ * be consistent. The list of possible values is defined in the W3C User-Agent Client Hints
+ * specification. Note that some (but not all) of these values can overlap with values in the
+ * {@code os.type} and {@code os.name} attributes. However, for consistency,
+ * the values in the {@code browser.platform} attribute should capture the exact value that the
+ * user agent provides.
*/
public static final AttributeKey BROWSER_PLATFORM = stringKey("browser.platform");
+ // Enum definitions
+
private BrowserIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingAttributes.java
index 0998cf9..7be0976 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CicdIncubatingAttributes {
-
/** The human readable name of the pipeline within a CI/CD system. */
public static final AttributeKey CICD_PIPELINE_NAME = stringKey("cicd.pipeline.name");
@@ -46,13 +45,13 @@ public final class CicdIncubatingAttributes {
// Enum definitions
/** Values for {@link #CICD_PIPELINE_TASK_TYPE}. */
public static final class CicdPipelineTaskTypeValues {
- /** build. */
+ /** build */
public static final String BUILD = "build";
- /** test. */
+ /** test */
public static final String TEST = "test";
- /** deploy. */
+ /** deploy */
public static final String DEPLOY = "deploy";
private CicdPipelineTaskTypeValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ClientIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ClientIncubatingAttributes.java
index 8f80a60..ce50d80 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ClientIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ClientIncubatingAttributes.java
@@ -11,21 +11,20 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ClientIncubatingAttributes {
-
/**
* Client address - domain name if available without reverse DNS lookup; otherwise, IP address or
* Unix domain socket name.
*
* Notes:
*
- *
- * - When observed from the server side, and when communicating through an intermediary,
- * {@code client.address} SHOULD represent the client address behind any intermediaries, for
- * example proxies, if it's available.
- *
+ * When observed from the server side, and when communicating through an intermediary, {@code
+ * client.address} SHOULD represent the client address behind any intermediaries, for example
+ * proxies, if it's available.
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ClientAttributes#CLIENT_ADDRESS} attribute.
@@ -37,16 +36,18 @@ public final class ClientIncubatingAttributes {
*
*
Notes:
*
- *
- * - When observed from the server side, and when communicating through an intermediary,
- * {@code client.port} SHOULD represent the client port behind any intermediaries, for
- * example proxies, if it's available.
- *
+ * When observed from the server side, and when communicating through an intermediary, {@code
+ * client.port} SHOULD represent the client port behind any intermediaries, for example proxies,
+ * if it's available.
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ClientAttributes#CLIENT_PORT} attribute.
*/
@Deprecated public static final AttributeKey CLIENT_PORT = longKey("client.port");
+ // Enum definitions
+
private ClientIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudIncubatingAttributes.java
index ee8cadb..bbdc7dc 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CloudIncubatingAttributes {
-
/** The cloud account ID the resource is assigned to. */
public static final AttributeKey CLOUD_ACCOUNT_ID = stringKey("cloud.account.id");
@@ -23,9 +22,7 @@ public final class CloudIncubatingAttributes {
*
* Notes:
*
- *
- * - Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
- *
+ * Availability zones are called "zones" on Alibaba Cloud and Google Cloud.
*/
public static final AttributeKey CLOUD_AVAILABILITY_ZONE =
stringKey("cloud.availability_zone");
@@ -35,9 +32,7 @@ public final class CloudIncubatingAttributes {
*
* Notes:
*
- *
- * - The prefix of the service SHOULD match the one specified in {@code cloud.provider}.
- *
+ * The prefix of the service SHOULD match the one specified in {@code cloud.provider}.
*/
public static final AttributeKey CLOUD_PLATFORM = stringKey("cloud.platform");
@@ -49,15 +44,12 @@ public final class CloudIncubatingAttributes {
*
* Notes:
*
- *
+ * Refer to your provider's docs to see the available regions, for example Alibaba Cloud regions, AWS regions, Azure regions, Google Cloud regions, or Tencent Cloud regions.
*/
public static final AttributeKey CLOUD_REGION = stringKey("cloud.region");
@@ -71,14 +63,18 @@ public final class CloudIncubatingAttributes {
*
* Notes:
*
+ *
On some cloud providers, it may not be possible to determine the full ID at startup, so it
+ * may be necessary to set {@code cloud.resource_id} as a span attribute instead.
+ *
+ *
The exact value to use for {@code cloud.resource_id} depends on the cloud provider. The
+ * following well-known definitions MUST be used if you set this attribute and they apply:
+ *
+ *
+ *
*
- * - On some cloud providers, it may not be possible to determine the full ID at startup, so
- * it may be necessary to set {@code cloud.resource_id} as a span attribute instead.
- *
- The exact value to use for {@code cloud.resource_id} depends on the cloud provider. The
- * following well-known definitions MUST be used if you set this attribute and they apply:
*
- AWS Lambda: The function ARN.
- * Take care not to use the "invoked ARN" directly but replace any alias
* suffix with the resolved function version, as the same runtime instance may be
* invocable with multiple different aliases.
@@ -98,88 +94,88 @@ public final class CloudIncubatingAttributes {
// Enum definitions
/** Values for {@link #CLOUD_PLATFORM}. */
public static final class CloudPlatformValues {
- /** Alibaba Cloud Elastic Compute Service. */
+ /** Alibaba Cloud Elastic Compute Service */
public static final String ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs";
- /** Alibaba Cloud Function Compute. */
+ /** Alibaba Cloud Function Compute */
public static final String ALIBABA_CLOUD_FC = "alibaba_cloud_fc";
- /** Red Hat OpenShift on Alibaba Cloud. */
+ /** Red Hat OpenShift on Alibaba Cloud */
public static final String ALIBABA_CLOUD_OPENSHIFT = "alibaba_cloud_openshift";
- /** AWS Elastic Compute Cloud. */
+ /** AWS Elastic Compute Cloud */
public static final String AWS_EC2 = "aws_ec2";
- /** AWS Elastic Container Service. */
+ /** AWS Elastic Container Service */
public static final String AWS_ECS = "aws_ecs";
- /** AWS Elastic Kubernetes Service. */
+ /** AWS Elastic Kubernetes Service */
public static final String AWS_EKS = "aws_eks";
- /** AWS Lambda. */
+ /** AWS Lambda */
public static final String AWS_LAMBDA = "aws_lambda";
- /** AWS Elastic Beanstalk. */
+ /** AWS Elastic Beanstalk */
public static final String AWS_ELASTIC_BEANSTALK = "aws_elastic_beanstalk";
- /** AWS App Runner. */
+ /** AWS App Runner */
public static final String AWS_APP_RUNNER = "aws_app_runner";
- /** Red Hat OpenShift on AWS (ROSA). */
+ /** Red Hat OpenShift on AWS (ROSA) */
public static final String AWS_OPENSHIFT = "aws_openshift";
- /** Azure Virtual Machines. */
+ /** Azure Virtual Machines */
public static final String AZURE_VM = "azure_vm";
- /** Azure Container Apps. */
+ /** Azure Container Apps */
public static final String AZURE_CONTAINER_APPS = "azure_container_apps";
- /** Azure Container Instances. */
+ /** Azure Container Instances */
public static final String AZURE_CONTAINER_INSTANCES = "azure_container_instances";
- /** Azure Kubernetes Service. */
+ /** Azure Kubernetes Service */
public static final String AZURE_AKS = "azure_aks";
- /** Azure Functions. */
+ /** Azure Functions */
public static final String AZURE_FUNCTIONS = "azure_functions";
- /** Azure App Service. */
+ /** Azure App Service */
public static final String AZURE_APP_SERVICE = "azure_app_service";
- /** Azure Red Hat OpenShift. */
+ /** Azure Red Hat OpenShift */
public static final String AZURE_OPENSHIFT = "azure_openshift";
- /** Google Bare Metal Solution (BMS). */
+ /** Google Bare Metal Solution (BMS) */
public static final String GCP_BARE_METAL_SOLUTION = "gcp_bare_metal_solution";
- /** Google Cloud Compute Engine (GCE). */
+ /** Google Cloud Compute Engine (GCE) */
public static final String GCP_COMPUTE_ENGINE = "gcp_compute_engine";
- /** Google Cloud Run. */
+ /** Google Cloud Run */
public static final String GCP_CLOUD_RUN = "gcp_cloud_run";
- /** Google Cloud Kubernetes Engine (GKE). */
+ /** Google Cloud Kubernetes Engine (GKE) */
public static final String GCP_KUBERNETES_ENGINE = "gcp_kubernetes_engine";
- /** Google Cloud Functions (GCF). */
+ /** Google Cloud Functions (GCF) */
public static final String GCP_CLOUD_FUNCTIONS = "gcp_cloud_functions";
- /** Google Cloud App Engine (GAE). */
+ /** Google Cloud App Engine (GAE) */
public static final String GCP_APP_ENGINE = "gcp_app_engine";
- /** Red Hat OpenShift on Google Cloud. */
+ /** Red Hat OpenShift on Google Cloud */
public static final String GCP_OPENSHIFT = "gcp_openshift";
- /** Red Hat OpenShift on IBM Cloud. */
+ /** Red Hat OpenShift on IBM Cloud */
public static final String IBM_CLOUD_OPENSHIFT = "ibm_cloud_openshift";
- /** Tencent Cloud Cloud Virtual Machine (CVM). */
+ /** Tencent Cloud Cloud Virtual Machine (CVM) */
public static final String TENCENT_CLOUD_CVM = "tencent_cloud_cvm";
- /** Tencent Cloud Elastic Kubernetes Service (EKS). */
+ /** Tencent Cloud Elastic Kubernetes Service (EKS) */
public static final String TENCENT_CLOUD_EKS = "tencent_cloud_eks";
- /** Tencent Cloud Serverless Cloud Function (SCF). */
+ /** Tencent Cloud Serverless Cloud Function (SCF) */
public static final String TENCENT_CLOUD_SCF = "tencent_cloud_scf";
private CloudPlatformValues() {}
@@ -187,25 +183,25 @@ private CloudPlatformValues() {}
/** Values for {@link #CLOUD_PROVIDER}. */
public static final class CloudProviderValues {
- /** Alibaba Cloud. */
+ /** Alibaba Cloud */
public static final String ALIBABA_CLOUD = "alibaba_cloud";
- /** Amazon Web Services. */
+ /** Amazon Web Services */
public static final String AWS = "aws";
- /** Microsoft Azure. */
+ /** Microsoft Azure */
public static final String AZURE = "azure";
- /** Google Cloud Platform. */
+ /** Google Cloud Platform */
public static final String GCP = "gcp";
- /** Heroku Platform as a Service. */
+ /** Heroku Platform as a Service */
public static final String HEROKU = "heroku";
- /** IBM Cloud. */
+ /** IBM Cloud */
public static final String IBM_CLOUD = "ibm_cloud";
- /** Tencent Cloud. */
+ /** Tencent Cloud */
public static final String TENCENT_CLOUD = "tencent_cloud";
private CloudProviderValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudeventsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudeventsIncubatingAttributes.java
index 31691c2..1045e16 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudeventsIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudeventsIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CloudeventsIncubatingAttributes {
-
/**
* The event_id
@@ -53,5 +52,7 @@ public final class CloudeventsIncubatingAttributes {
public static final AttributeKey CLOUDEVENTS_EVENT_TYPE =
stringKey("cloudevents.event_type");
+ // Enum definitions
+
private CloudeventsIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CodeIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CodeIncubatingAttributes.java
index fb8d6da..a0175b3 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CodeIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CodeIncubatingAttributes.java
@@ -11,10 +11,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CodeIncubatingAttributes {
-
/**
* The column number in {@code code.filepath} best representing the operation. It SHOULD point
* within the code unit named in {@code code.function}.
@@ -39,9 +38,9 @@ public final class CodeIncubatingAttributes {
public static final AttributeKey CODE_LINENO = longKey("code.lineno");
/**
- * The "namespace" within which {@code code.function} is defined. Usually the qualified
- * class or module name, such that {@code code.namespace} + some separator + {@code code.function}
- * form a unique identifier for the code unit.
+ * The "namespace" within which {@code code.function} is defined. Usually the qualified class or
+ * module name, such that {@code code.namespace} + some separator + {@code code.function} form a
+ * unique identifier for the code unit.
*/
public static final AttributeKey CODE_NAMESPACE = stringKey("code.namespace");
@@ -51,5 +50,7 @@ public final class CodeIncubatingAttributes {
*/
public static final AttributeKey CODE_STACKTRACE = stringKey("code.stacktrace");
+ // Enum definitions
+
private CodeIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingAttributes.java
index ff7aada..b622743 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingAttributes.java
@@ -14,19 +14,16 @@
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ContainerIncubatingAttributes {
-
/**
* The command used to run the container (i.e. the command name).
*
*
Notes:
*
- *
- * - If using embedded credentials or sensitive data, it is recommended to remove them to
- * prevent potential leakage.
- *
+ * If using embedded credentials or sensitive data, it is recommended to remove them to prevent
+ * potential leakage.
*/
public static final AttributeKey CONTAINER_COMMAND = stringKey("container.command");
@@ -43,7 +40,9 @@ public final class ContainerIncubatingAttributes {
/**
* Deprecated, use {@code cpu.mode} instead.
*
- * @deprecated Deprecated, use `cpu.mode` instead.
+ *
+ *
+ * @deprecated Replaced by {@code cpu.mode}
*/
@Deprecated
public static final AttributeKey CONTAINER_CPU_STATE = stringKey("container.cpu.state");
@@ -60,17 +59,15 @@ public final class ContainerIncubatingAttributes {
*
* Notes:
*
- *
- * - Docker defines a sha256 of the image id; {@code container.image.id} corresponds to the
- * {@code Image} field from the Docker container inspect API
- * endpoint. K8s defines a link to the container registry repository with digest {@code
- * "imageID": "registry.azurecr.io
- * /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"}.
- * The ID is assigned by the container runtime and can vary in different environments.
- * Consider using {@code oci.manifest.digest} if it is important to identify the same image
- * in different environments/runtimes.
- *
+ * Docker defines a sha256 of the image id; {@code container.image.id} corresponds to the
+ * {@code Image} field from the Docker container inspect API
+ * endpoint. K8s defines a link to the container registry repository with digest {@code "imageID":
+ * "registry.azurecr.io
+ * /namespace/service/dockerfile@sha256:bdeabd40c3a8a492eaf9e8e44d0ebbb84bac7ee25ac0cf8a7159d25f62555625"}.
+ * The ID is assigned by the container runtime and can vary in different environments. Consider
+ * using {@code oci.manifest.digest} if it is important to identify the same image in different
+ * environments/runtimes.
*/
public static final AttributeKey CONTAINER_IMAGE_ID = stringKey("container.image.id");
@@ -82,13 +79,11 @@ public final class ContainerIncubatingAttributes {
*
* Notes:
*
- *
- * - Docker
- * and CRI
- * report those under the {@code RepoDigests} field.
- *
+ * Docker
+ * and CRI
+ * report those under the {@code RepoDigests} field.
*/
public static final AttributeKey> CONTAINER_IMAGE_REPO_DIGESTS =
stringArrayKey("container.image.repo_digests");
@@ -109,7 +104,9 @@ public final class ContainerIncubatingAttributes {
/**
* Deprecated, use {@code container.label} instead.
*
- * @deprecated Deprecated, use `container.label` instead.
+ *
+ *
+ * @deprecated Replaced by {@code container.label}.
*/
@Deprecated
public static final AttributeKeyTemplate CONTAINER_LABELS =
@@ -123,9 +120,9 @@ public final class ContainerIncubatingAttributes {
// Enum definitions
/**
- * Values for {@link #CONTAINER_CPU_STATE}.
+ * Values for {@link #CONTAINER_CPU_STATE}
*
- * @deprecated Deprecated, use `cpu.mode` instead.
+ * @deprecated Replaced by {@code cpu.mode}
*/
@Deprecated
public static final class ContainerCpuStateValues {
@@ -135,7 +132,7 @@ public static final class ContainerCpuStateValues {
*/
public static final String USER = "user";
- /** When CPU is used by the system (host OS). */
+ /** When CPU is used by the system (host OS) */
public static final String SYSTEM = "system";
/**
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingAttributes.java
index 0f3659d..d667dbe 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CpuIncubatingAttributes {
-
/** The mode of the CPU */
public static final AttributeKey CPU_MODE = stringKey("cpu.mode");
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingAttributes.java
index 73d0304..62ecc74 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingAttributes.java
@@ -15,10 +15,9 @@
import io.opentelemetry.semconv.AttributeKeyTemplate;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DbIncubatingAttributes {
-
/**
* The consistency level of the query. Based on consistency values from CQL.
@@ -51,7 +50,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.collection.name} instead.
*
- * @deprecated Deprecated, use `db.collection.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated
public static final AttributeKey DB_CASSANDRA_TABLE = stringKey("db.cassandra.table");
@@ -74,7 +75,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.client.connection.pool.name} instead.
*
- * @deprecated Deprecated, use `db.client.connection.pool.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.client.connection.pool.name}.
*/
@Deprecated
public static final AttributeKey DB_CLIENT_CONNECTIONS_POOL_NAME =
@@ -83,7 +86,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.client.connection.state} instead.
*
- * @deprecated Deprecated, use `db.client.connection.state` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.client.connection.state}.
*/
@Deprecated
public static final AttributeKey DB_CLIENT_CONNECTIONS_STATE =
@@ -94,22 +99,21 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - It is RECOMMENDED to capture the value as provided by the application without attempting
- * to do any case normalization. If the collection name is parsed from the query text, it
- * SHOULD be the first collection name found in the query and it SHOULD match the value
- * provided in the query text including any schema and database name prefix. For batch
- * operations, if the individual operations are known to have the same collection name then
- * that collection name SHOULD be used, otherwise {@code db.collection.name} SHOULD NOT be
- * captured.
- *
+ * It is RECOMMENDED to capture the value as provided by the application without attempting to
+ * do any case normalization. If the collection name is parsed from the query text, it SHOULD be
+ * the first collection name found in the query and it SHOULD match the value provided in the
+ * query text including any schema and database name prefix. For batch operations, if the
+ * individual operations are known to have the same collection name then that collection name
+ * SHOULD be used, otherwise {@code db.collection.name} SHOULD NOT be captured.
*/
public static final AttributeKey DB_COLLECTION_NAME = stringKey("db.collection.name");
/**
* Deprecated, use {@code server.address}, {@code server.port} attributes instead.
*
- * @deprecated Deprecated, use `server.address`, `server.port` attributes instead.
+ *
+ *
+ * @deprecated "Replaced by {@code server.address} and {@code server.port}."
*/
@Deprecated
public static final AttributeKey DB_CONNECTION_STRING = stringKey("db.connection_string");
@@ -125,7 +129,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.collection.name} instead.
*
- * @deprecated Deprecated, use `db.collection.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated
public static final AttributeKey DB_COSMOSDB_CONTAINER =
@@ -154,7 +160,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.namespace} instead.
*
- * @deprecated Deprecated, use `db.namespace` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.namespace}.
*/
@Deprecated
public static final AttributeKey DB_ELASTICSEARCH_CLUSTER_NAME =
@@ -171,13 +179,11 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - Many Elasticsearch url paths allow dynamic values. These SHOULD be recorded in span
- * attributes in the format {@code db.elasticsearch.path_parts.}, where {@code }
- * is the url path part name. The implementation SHOULD reference the elasticsearch
- * schema in order to map the path part values to their names.
- *
+ * Many Elasticsearch url paths allow dynamic values. These SHOULD be recorded in span
+ * attributes in the format {@code db.elasticsearch.path_parts.}, where {@code } is the
+ * url path part name. The implementation SHOULD reference the elasticsearch
+ * schema in order to map the path part values to their names.
*/
public static final AttributeKeyTemplate DB_ELASTICSEARCH_PATH_PARTS =
stringKeyTemplate("db.elasticsearch.path_parts");
@@ -186,15 +192,19 @@ public final class DbIncubatingAttributes {
* Deprecated, no general replacement at this time. For Elasticsearch, use {@code
* db.elasticsearch.node.name} instead.
*
- * @deprecated Deprecated, no general replacement at this time. For Elasticsearch, use
- * `db.elasticsearch.node.name` instead.
+ *
+ *
+ * @deprecated Deprecated, no general replacement at this time. For Elasticsearch, use {@code
+ * db.elasticsearch.node.name} instead.
*/
@Deprecated public static final AttributeKey DB_INSTANCE_ID = stringKey("db.instance.id");
/**
* Removed, no replacement at this time.
*
- * @deprecated Removed, no replacement at this time.
+ *
+ *
+ * @deprecated Removed as not used.
*/
@Deprecated
public static final AttributeKey DB_JDBC_DRIVER_CLASSNAME =
@@ -203,7 +213,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.collection.name} instead.
*
- * @deprecated Deprecated, use `db.collection.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated
public static final AttributeKey DB_MONGODB_COLLECTION =
@@ -212,8 +224,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, SQL Server instance is now populated as a part of {@code db.namespace} attribute.
*
- * @deprecated Deprecated, SQL Server instance is now populated as a part of `db.namespace`
- * attribute.
+ *
+ *
+ * @deprecated Deprecated, no replacement at this time.
*/
@Deprecated
public static final AttributeKey DB_MSSQL_INSTANCE_NAME =
@@ -222,7 +235,9 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.namespace} instead.
*
- * @deprecated Deprecated, use `db.namespace` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.namespace}.
*/
@Deprecated public static final AttributeKey DB_NAME = stringKey("db.name");
@@ -231,23 +246,22 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - If a database system has multiple namespace components, they SHOULD be concatenated
- * (potentially using database system specific conventions) from most general to most
- * specific namespace component, and more specific namespaces SHOULD NOT be captured without
- * the more general namespaces, to ensure that "startswith" queries for the more
- * general namespaces will be valid. Semantic conventions for individual database systems
- * SHOULD document what {@code db.namespace} means in the context of that system. It is
- * RECOMMENDED to capture the value as provided by the application without attempting to do
- * any case normalization.
- *
+ * If a database system has multiple namespace components, they SHOULD be concatenated
+ * (potentially using database system specific conventions) from most general to most specific
+ * namespace component, and more specific namespaces SHOULD NOT be captured without the more
+ * general namespaces, to ensure that "startswith" queries for the more general namespaces will be
+ * valid. Semantic conventions for individual database systems SHOULD document what {@code
+ * db.namespace} means in the context of that system. It is RECOMMENDED to capture the value as
+ * provided by the application without attempting to do any case normalization.
*/
public static final AttributeKey DB_NAMESPACE = stringKey("db.namespace");
/**
* Deprecated, use {@code db.operation.name} instead.
*
- * @deprecated Deprecated, use `db.operation.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.operation.name}.
*/
@Deprecated public static final AttributeKey DB_OPERATION = stringKey("db.operation");
@@ -257,10 +271,8 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - Operations are only considered batches when they contain two or more operations, and so
- * {@code db.operation.batch.size} SHOULD never be {@code 1}.
- *
+ * Operations are only considered batches when they contain two or more operations, and so
+ * {@code db.operation.batch.size} SHOULD never be {@code 1}.
*/
public static final AttributeKey DB_OPERATION_BATCH_SIZE =
longKey("db.operation.batch.size");
@@ -270,14 +282,12 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - It is RECOMMENDED to capture the value as provided by the application without attempting
- * to do any case normalization. If the operation name is parsed from the query text, it
- * SHOULD be the first operation name found in the query. For batch operations, if the
- * individual operations are known to have the same operation name then that operation name
- * SHOULD be used prepended by {@code BATCH}, otherwise {@code db.operation.name} SHOULD be
- * {@code BATCH} or some other database system specific term if more applicable.
- *
+ * It is RECOMMENDED to capture the value as provided by the application without attempting to
+ * do any case normalization. If the operation name is parsed from the query text, it SHOULD be
+ * the first operation name found in the query. For batch operations, if the individual operations
+ * are known to have the same operation name then that operation name SHOULD be used prepended by
+ * {@code BATCH }, otherwise {@code db.operation.name} SHOULD be {@code BATCH} or some other
+ * database system specific term if more applicable.
*/
public static final AttributeKey DB_OPERATION_NAME = stringKey("db.operation.name");
@@ -287,11 +297,9 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - Query parameters should only be captured when {@code db.query.text} is parameterized with
- * placeholders. If a parameter has no name and instead is referenced only by index, then
- * {@code } SHOULD be the 0-based index.
- *
+ * Query parameters should only be captured when {@code db.query.text} is parameterized with
+ * placeholders. If a parameter has no name and instead is referenced only by index, then {@code
+ * } SHOULD be the 0-based index.
*/
public static final AttributeKeyTemplate DB_QUERY_PARAMETER =
stringKeyTemplate("db.query.parameter");
@@ -301,25 +309,24 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - For sanitization see Sanitization of
- * {@code db.query.text}. For batch operations, if the individual operations are known
- * to have the same query text then that query text SHOULD be used, otherwise all of the
- * individual query texts SHOULD be concatenated with separator {@code ;} or some other
- * database system specific separator if more applicable. Even though parameterized query
- * text can potentially have sensitive data, by using a parameterized query the user is
- * giving a strong signal that any sensitive data will be passed as parameter values, and
- * the benefit to observability of capturing the static part of the query text by default
- * outweighs the risk.
- *
+ * For sanitization see Sanitization of {@code
+ * db.query.text}. For batch operations, if the individual operations are known to have the
+ * same query text then that query text SHOULD be used, otherwise all of the individual query
+ * texts SHOULD be concatenated with separator {@code ; } or some other database system specific
+ * separator if more applicable. Even though parameterized query text can potentially have
+ * sensitive data, by using a parameterized query the user is giving a strong signal that any
+ * sensitive data will be passed as parameter values, and the benefit to observability of
+ * capturing the static part of the query text by default outweighs the risk.
*/
public static final AttributeKey DB_QUERY_TEXT = stringKey("db.query.text");
/**
* Deprecated, use {@code db.namespace} instead.
*
- * @deprecated Deprecated, use `db.namespace` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.namespace}.
*/
@Deprecated
public static final AttributeKey DB_REDIS_DATABASE_INDEX =
@@ -328,14 +335,18 @@ public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code db.collection.name} instead.
*
- * @deprecated Deprecated, use `db.collection.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated public static final AttributeKey DB_SQL_TABLE = stringKey("db.sql.table");
/**
* The database statement being executed.
*
- * @deprecated The database statement being executed.
+ *
+ *
+ * @deprecated Replaced by {@code db.query.text}.
*/
@Deprecated public static final AttributeKey DB_STATEMENT = stringKey("db.statement");
@@ -344,18 +355,18 @@ public final class DbIncubatingAttributes {
*
* Notes:
*
- *
- * - The actual DBMS may differ from the one identified by the client. For example, when using
- * PostgreSQL client libraries to connect to a CockroachDB, the {@code db.system} is set to
- * {@code postgresql} based on the instrumentation's best knowledge.
- *
+ * The actual DBMS may differ from the one identified by the client. For example, when using
+ * PostgreSQL client libraries to connect to a CockroachDB, the {@code db.system} is set to {@code
+ * postgresql} based on the instrumentation's best knowledge.
*/
public static final AttributeKey DB_SYSTEM = stringKey("db.system");
/**
* Deprecated, no replacement at this time.
*
- * @deprecated Deprecated, no replacement at this time.
+ *
+ *
+ * @deprecated No replacement at this time.
*/
@Deprecated public static final AttributeKey DB_USER = stringKey("db.user");
@@ -410,9 +421,9 @@ private DbClientConnectionStateValues() {}
}
/**
- * Values for {@link #DB_CLIENT_CONNECTIONS_STATE}.
+ * Values for {@link #DB_CLIENT_CONNECTIONS_STATE}
*
- * @deprecated Deprecated, use `db.client.connection.state` instead.
+ * @deprecated Replaced by {@code db.client.connection.state}.
*/
@Deprecated
public static final class DbClientConnectionsStateValues {
@@ -427,7 +438,7 @@ private DbClientConnectionsStateValues() {}
/** Values for {@link #DB_COSMOSDB_CONNECTION_MODE}. */
public static final class DbCosmosdbConnectionModeValues {
- /** Gateway (HTTP) connections mode. */
+ /** Gateway (HTTP) connections mode */
public static final String GATEWAY = "gateway";
/** Direct connection. */
@@ -491,163 +502,163 @@ public static final class DbSystemValues {
/** Some other SQL database. Fallback only. See notes. */
public static final String OTHER_SQL = "other_sql";
- /** Adabas (Adaptable Database System). */
+ /** Adabas (Adaptable Database System) */
public static final String ADABAS = "adabas";
- /** Deprecated, use `intersystems_cache` instead. */
+ /** Deprecated, use {@code intersystems_cache} instead. */
public static final String CACHE = "cache";
- /** InterSystems Caché. */
+ /** InterSystems Caché */
public static final String INTERSYSTEMS_CACHE = "intersystems_cache";
- /** Apache Cassandra. */
+ /** Apache Cassandra */
public static final String CASSANDRA = "cassandra";
- /** ClickHouse. */
+ /** ClickHouse */
public static final String CLICKHOUSE = "clickhouse";
- /** Deprecated, use `other_sql` instead. */
+ /** Deprecated, use {@code other_sql} instead. */
public static final String CLOUDSCAPE = "cloudscape";
- /** CockroachDB. */
+ /** CockroachDB */
public static final String COCKROACHDB = "cockroachdb";
/** Deprecated, no replacement at this time. */
public static final String COLDFUSION = "coldfusion";
- /** Microsoft Azure Cosmos DB. */
+ /** Microsoft Azure Cosmos DB */
public static final String COSMOSDB = "cosmosdb";
- /** Couchbase. */
+ /** Couchbase */
public static final String COUCHBASE = "couchbase";
- /** CouchDB. */
+ /** CouchDB */
public static final String COUCHDB = "couchdb";
- /** IBM Db2. */
+ /** IBM Db2 */
public static final String DB2 = "db2";
- /** Apache Derby. */
+ /** Apache Derby */
public static final String DERBY = "derby";
- /** Amazon DynamoDB. */
+ /** Amazon DynamoDB */
public static final String DYNAMODB = "dynamodb";
- /** EnterpriseDB. */
+ /** EnterpriseDB */
public static final String EDB = "edb";
- /** Elasticsearch. */
+ /** Elasticsearch */
public static final String ELASTICSEARCH = "elasticsearch";
- /** FileMaker. */
+ /** FileMaker */
public static final String FILEMAKER = "filemaker";
- /** Firebird. */
+ /** Firebird */
public static final String FIREBIRD = "firebird";
- /** Deprecated, use `other_sql` instead. */
+ /** Deprecated, use {@code other_sql} instead. */
public static final String FIRSTSQL = "firstsql";
- /** Apache Geode. */
+ /** Apache Geode */
public static final String GEODE = "geode";
- /** H2. */
+ /** H2 */
public static final String H2 = "h2";
- /** SAP HANA. */
+ /** SAP HANA */
public static final String HANADB = "hanadb";
- /** Apache HBase. */
+ /** Apache HBase */
public static final String HBASE = "hbase";
- /** Apache Hive. */
+ /** Apache Hive */
public static final String HIVE = "hive";
- /** HyperSQL DataBase. */
+ /** HyperSQL DataBase */
public static final String HSQLDB = "hsqldb";
- /** InfluxDB. */
+ /** InfluxDB */
public static final String INFLUXDB = "influxdb";
- /** Informix. */
+ /** Informix */
public static final String INFORMIX = "informix";
- /** Ingres. */
+ /** Ingres */
public static final String INGRES = "ingres";
- /** InstantDB. */
+ /** InstantDB */
public static final String INSTANTDB = "instantdb";
- /** InterBase. */
+ /** InterBase */
public static final String INTERBASE = "interbase";
- /** MariaDB. */
+ /** MariaDB */
public static final String MARIADB = "mariadb";
- /** SAP MaxDB. */
+ /** SAP MaxDB */
public static final String MAXDB = "maxdb";
- /** Memcached. */
+ /** Memcached */
public static final String MEMCACHED = "memcached";
- /** MongoDB. */
+ /** MongoDB */
public static final String MONGODB = "mongodb";
- /** Microsoft SQL Server. */
+ /** Microsoft SQL Server */
public static final String MSSQL = "mssql";
/** Deprecated, Microsoft SQL Server Compact is discontinued. */
public static final String MSSQLCOMPACT = "mssqlcompact";
- /** MySQL. */
+ /** MySQL */
public static final String MYSQL = "mysql";
- /** Neo4j. */
+ /** Neo4j */
public static final String NEO4J = "neo4j";
- /** Netezza. */
+ /** Netezza */
public static final String NETEZZA = "netezza";
- /** OpenSearch. */
+ /** OpenSearch */
public static final String OPENSEARCH = "opensearch";
- /** Oracle Database. */
+ /** Oracle Database */
public static final String ORACLE = "oracle";
- /** Pervasive PSQL. */
+ /** Pervasive PSQL */
public static final String PERVASIVE = "pervasive";
- /** PointBase. */
+ /** PointBase */
public static final String POINTBASE = "pointbase";
- /** PostgreSQL. */
+ /** PostgreSQL */
public static final String POSTGRESQL = "postgresql";
- /** Progress Database. */
+ /** Progress Database */
public static final String PROGRESS = "progress";
- /** Redis. */
+ /** Redis */
public static final String REDIS = "redis";
- /** Amazon Redshift. */
+ /** Amazon Redshift */
public static final String REDSHIFT = "redshift";
- /** Cloud Spanner. */
+ /** Cloud Spanner */
public static final String SPANNER = "spanner";
- /** SQLite. */
+ /** SQLite */
public static final String SQLITE = "sqlite";
- /** Sybase. */
+ /** Sybase */
public static final String SYBASE = "sybase";
- /** Teradata. */
+ /** Teradata */
public static final String TERADATA = "teradata";
- /** Trino. */
+ /** Trino */
public static final String TRINO = "trino";
- /** Vertica. */
+ /** Vertica */
public static final String VERTICA = "vertica";
private DbSystemValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeploymentIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeploymentIncubatingAttributes.java
index 3e59c41..bec65df 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeploymentIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeploymentIncubatingAttributes.java
@@ -10,14 +10,15 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DeploymentIncubatingAttributes {
-
/**
* 'Deprecated, use {@code deployment.environment.name} instead.'
*
- * @deprecated 'Deprecated, use `deployment.environment.name` instead.'.
+ *
+ *
+ * @deprecated Deprecated, use {@code deployment.environment.name} instead.
*/
@Deprecated
public static final AttributeKey DEPLOYMENT_ENVIRONMENT =
@@ -29,11 +30,14 @@ public final class DeploymentIncubatingAttributes {
*
* Notes:
*
+ *
{@code deployment.environment.name} does not affect the uniqueness constraints defined
+ * through the {@code service.namespace}, {@code service.name} and {@code service.instance.id}
+ * resource attributes. This implies that resources carrying the following attribute combinations
+ * MUST be considered to be identifying the same service:
+ *
+ *
+ *
*
- * - {@code deployment.environment.name} does not affect the uniqueness constraints defined
- * through the {@code service.namespace}, {@code service.name} and {@code
- * service.instance.id} resource attributes. This implies that resources carrying the
- * following attribute combinations MUST be considered to be identifying the same service:
*
- {@code service.name=frontend}, {@code deployment.environment.name=production}
*
- {@code service.name=frontend}, {@code deployment.environment.name=staging}.
*
@@ -53,10 +57,10 @@ public final class DeploymentIncubatingAttributes {
// Enum definitions
/** Values for {@link #DEPLOYMENT_STATUS}. */
public static final class DeploymentStatusValues {
- /** failed. */
+ /** failed */
public static final String FAILED = "failed";
- /** succeeded. */
+ /** succeeded */
public static final String SUCCEEDED = "succeeded";
private DeploymentStatusValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DestinationIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DestinationIncubatingAttributes.java
index 1b9d015..b17e085 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DestinationIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DestinationIncubatingAttributes.java
@@ -11,26 +11,25 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DestinationIncubatingAttributes {
-
/**
* Destination address - domain name if available without reverse DNS lookup; otherwise, IP
* address or Unix domain socket name.
*
* Notes:
*
- *
- * - When observed from the source side, and when communicating through an intermediary,
- * {@code destination.address} SHOULD represent the destination address behind any
- * intermediaries, for example proxies, if it's available.
- *
+ * When observed from the source side, and when communicating through an intermediary, {@code
+ * destination.address} SHOULD represent the destination address behind any intermediaries, for
+ * example proxies, if it's available.
*/
public static final AttributeKey DESTINATION_ADDRESS = stringKey("destination.address");
/** Destination port number */
public static final AttributeKey DESTINATION_PORT = longKey("destination.port");
+ // Enum definitions
+
private DestinationIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeviceIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeviceIncubatingAttributes.java
index 3718a51..a7e445d 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeviceIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DeviceIncubatingAttributes.java
@@ -10,28 +10,25 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DeviceIncubatingAttributes {
-
/**
* A unique identifier representing the device
*
* Notes:
*
- *
- * - 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. 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 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.
- *
+ * 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. 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 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.
*/
public static final AttributeKey DEVICE_ID = stringKey("device.id");
@@ -40,11 +37,9 @@ public final class DeviceIncubatingAttributes {
*
* Notes:
*
- *
- * - The Android OS provides this field via Build.
- * iOS apps SHOULD hardcode the value {@code Apple}.
- *
+ * The Android OS provides this field via Build. iOS
+ * apps SHOULD hardcode the value {@code Apple}.
*/
public static final AttributeKey DEVICE_MANUFACTURER = stringKey("device.manufacturer");
@@ -53,10 +48,8 @@ public final class DeviceIncubatingAttributes {
*
* Notes:
*
- *
- * - 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.
- *
+ * 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.
*/
public static final AttributeKey DEVICE_MODEL_IDENTIFIER =
stringKey("device.model.identifier");
@@ -66,12 +59,12 @@ public final class DeviceIncubatingAttributes {
*
* Notes:
*
- *
- * - It's recommended this value represents a human-readable version of the device model
- * rather than a machine-readable alternative.
- *
+ * It's recommended this value represents a human-readable version of the device model rather
+ * than a machine-readable alternative.
*/
public static final AttributeKey DEVICE_MODEL_NAME = stringKey("device.model.name");
+ // Enum definitions
+
private DeviceIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DiskIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DiskIncubatingAttributes.java
index fc49fd4..eb9e3f0 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DiskIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DiskIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DiskIncubatingAttributes {
-
/** The disk IO operation direction. */
public static final AttributeKey DISK_IO_DIRECTION = stringKey("disk.io.direction");
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingAttributes.java
index ef01ec0..5b265de 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingAttributes.java
@@ -10,23 +10,22 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DnsIncubatingAttributes {
-
/**
* The name being queried.
*
* Notes:
*
- *
- * - If the name field contains non-printable characters (below 32 or above 126), those
- * characters should be represented as escaped base 10 integers (\DDD). Back slashes and
- * quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to
- * \t, \r, and \n respectively.
- *
+ * If the name field contains non-printable characters (below 32 or above 126), those
+ * characters should be represented as escaped base 10 integers (\DDD). Back slashes and quotes
+ * should be escaped. Tabs, carriage returns, and line feeds should be converted to \t, \r, and \n
+ * respectively.
*/
public static final AttributeKey DNS_QUESTION_NAME = stringKey("dns.question.name");
+ // Enum definitions
+
private DnsIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EnduserIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EnduserIncubatingAttributes.java
index ba981e4..cdf48b6 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EnduserIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EnduserIncubatingAttributes.java
@@ -10,30 +10,37 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class EnduserIncubatingAttributes {
-
/**
* Deprecated, use {@code user.id} instead.
*
- * @deprecated Deprecated, use `user.id` instead.
+ *
+ *
+ * @deprecated Replaced by {@code user.id} attribute.
*/
@Deprecated public static final AttributeKey ENDUSER_ID = stringKey("enduser.id");
/**
* Deprecated, use {@code user.roles} instead.
*
- * @deprecated Deprecated, use `user.roles` instead.
+ *
+ *
+ * @deprecated Replaced by {@code user.roles} attribute.
*/
@Deprecated public static final AttributeKey ENDUSER_ROLE = stringKey("enduser.role");
/**
* Deprecated, no replacement at this time.
*
- * @deprecated Deprecated, no replacement at this time.
+ *
+ *
+ * @deprecated Removed.
*/
@Deprecated public static final AttributeKey ENDUSER_SCOPE = stringKey("enduser.scope");
+ // Enum definitions
+
private EnduserIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ErrorIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ErrorIncubatingAttributes.java
index 21ad81e..5400bc2 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ErrorIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ErrorIncubatingAttributes.java
@@ -10,28 +10,35 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ErrorIncubatingAttributes {
-
/**
* Describes a class of error the operation ended with.
*
* Notes:
*
+ *
The {@code error.type} SHOULD be predictable, and SHOULD have low cardinality.
+ *
+ *
When {@code error.type} is set to a type (e.g., an exception type), its canonical class name
+ * identifying the type within the artifact SHOULD be used.
+ *
+ *
Instrumentations SHOULD document the list of errors they report.
+ *
+ *
The cardinality of {@code error.type} within one instrumentation library SHOULD be low.
+ * Telemetry consumers that aggregate data from multiple instrumentation libraries and
+ * applications should be prepared for {@code error.type} to have high cardinality at query time
+ * when no additional filters are applied.
+ *
+ *
If the operation has completed successfully, instrumentations SHOULD NOT set {@code
+ * error.type}.
+ *
+ *
If a specific domain defines its own set of error identifiers (such as HTTP or gRPC status
+ * codes), it's RECOMMENDED to:
+ *
+ *
+ *
*
- * - The {@code error.type} SHOULD be predictable, and SHOULD have low cardinality.
- *
- When {@code error.type} is set to a type (e.g., an exception type), its canonical class
- * name identifying the type within the artifact SHOULD be used.
- *
- Instrumentations SHOULD document the list of errors they report.
- *
- The cardinality of {@code error.type} within one instrumentation library SHOULD be low.
- * Telemetry consumers that aggregate data from multiple instrumentation libraries and
- * applications should be prepared for {@code error.type} to have high cardinality at query
- * time when no additional filters are applied.
- *
- If the operation has completed successfully, instrumentations SHOULD NOT set {@code
- * error.type}.
- *
- If a specific domain defines its own set of error identifiers (such as HTTP or gRPC
- * status codes), it's RECOMMENDED to:
*
- Use a domain-specific attribute
*
- Set {@code error.type} to capture all errors, regardless of whether they are defined
* within the domain-specific set or not.
@@ -47,13 +54,11 @@ public final class ErrorIncubatingAttributes {
* Values for {@link #ERROR_TYPE}.
*
* @deprecated deprecated in favor of stable {@link
- * io.opentelemetry.semconv.ErrorAttributes.ErrorTypeValues} attribute.
+ * io.opentelemetry.semconv.ErrorAttributes.ErrorTypeValues}.
*/
@Deprecated
public static final class ErrorTypeValues {
- /**
- * A fallback error value to be used when the instrumentation doesn't define a custom value.
- */
+ /** A fallback error value to be used when the instrumentation doesn't define a custom value. */
public static final String OTHER = "_OTHER";
private ErrorTypeValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EventIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EventIncubatingAttributes.java
index c0708f2..42a9b78 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EventIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/EventIncubatingAttributes.java
@@ -10,23 +10,22 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class EventIncubatingAttributes {
-
/**
* Identifies the class / type of event.
*
*
Notes:
*
- *
- * - Event names are subject to the same rules as attribute names. Notably, event names are
- * namespaced to avoid collisions and provide a clean separation of semantics for events in
- * separate domains like browser, mobile, and kubernetes.
- *
+ * Event names are subject to the same rules as attribute names. Notably, event names are
+ * namespaced to avoid collisions and provide a clean separation of semantics for events in
+ * separate domains like browser, mobile, and kubernetes.
*/
public static final AttributeKey EVENT_NAME = stringKey("event.name");
+ // Enum definitions
+
private EventIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ExceptionIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ExceptionIncubatingAttributes.java
index 657cf2a..e1482ad 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ExceptionIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ExceptionIncubatingAttributes.java
@@ -11,32 +11,30 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ExceptionIncubatingAttributes {
-
/**
* SHOULD be set to true if the exception event is recorded at a point where it is known that the
* exception is escaping the scope of the span.
*
* Notes:
*
- *
- * - An exception is considered to have escaped (or left) the scope of a span, if that span is
- * ended while the exception is still logically "in flight". This may be actually
- * "in flight" in some languages (e.g. if the exception is passed to a Context
- * manager's {@code __exit__} method in Python) but will usually be caught at the point of
- * recording the exception in most languages.
- *
- It is usually not possible to determine at the point where an exception is thrown whether
- * it will escape the scope of a span. However, it is trivial to know that an exception will
- * escape, if one checks for an active exception just before ending the span, as done in the
- * example
- * for recording span exceptions.
- *
- It follows that an exception may still escape the scope of the span even if the {@code
- * exception.escaped} attribute was not set or set to false, since the event might have been
- * recorded at a time where it was not clear whether the exception will escape.
- *
+ * An exception is considered to have escaped (or left) the scope of a span, if that span is
+ * ended while the exception is still logically "in flight". This may be actually "in flight" in
+ * some languages (e.g. if the exception is passed to a Context manager's {@code __exit__} method
+ * in Python) but will usually be caught at the point of recording the exception in most
+ * languages.
+ *
+ *
It is usually not possible to determine at the point where an exception is thrown whether it
+ * will escape the scope of a span. However, it is trivial to know that an exception will escape,
+ * if one checks for an active exception just before ending the span, as done in the example
+ * for recording span exceptions.
+ *
+ *
It follows that an exception may still escape the scope of the span even if the {@code
+ * exception.escaped} attribute was not set or set to false, since the event might have been
+ * recorded at a time where it was not clear whether the exception will escape.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_ESCAPED} attribute.
@@ -47,6 +45,8 @@ public final class ExceptionIncubatingAttributes {
/**
* The exception message.
*
+ *
+ *
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_MESSAGE} attribute.
*/
@@ -57,6 +57,8 @@ public final class ExceptionIncubatingAttributes {
* A stacktrace as a string in the natural representation for the language runtime. The
* representation is to be determined and documented by each language SIG.
*
+ *
+ *
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_STACKTRACE} attribute.
*/
@@ -67,10 +69,14 @@ public final class ExceptionIncubatingAttributes {
* The type of the exception (its fully-qualified class name, if applicable). The dynamic type of
* the exception should be preferred over the static type in languages that support it.
*
+ *
+ *
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.ExceptionAttributes#EXCEPTION_TYPE} attribute.
*/
@Deprecated public static final AttributeKey EXCEPTION_TYPE = stringKey("exception.type");
+ // Enum definitions
+
private ExceptionIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingAttributes.java
index 68cc656..5ea5f93 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingAttributes.java
@@ -12,10 +12,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class FaasIncubatingAttributes {
-
/**
* A boolean that is true if the serverless function is executed for the first time (aka
* cold-start).
@@ -59,6 +58,8 @@ public final class FaasIncubatingAttributes {
*
* Notes:
*
+ *
+ *
*
* - AWS Lambda: Use the (full) log stream name.
*
@@ -73,9 +74,7 @@ public final class FaasIncubatingAttributes {
*
* Notes:
*
- *
- * - SHOULD be equal to the {@code faas.name} resource attribute of the invoked function.
- *
+ * SHOULD be equal to the {@code faas.name} resource attribute of the invoked function.
*/
public static final AttributeKey FAAS_INVOKED_NAME = stringKey("faas.invoked_name");
@@ -84,9 +83,7 @@ public final class FaasIncubatingAttributes {
*
* Notes:
*
- *
- * - SHOULD be equal to the {@code cloud.provider} resource attribute of the invoked function.
- *
+ * SHOULD be equal to the {@code cloud.provider} resource attribute of the invoked function.
*/
public static final AttributeKey FAAS_INVOKED_PROVIDER =
stringKey("faas.invoked_provider");
@@ -96,9 +93,7 @@ public final class FaasIncubatingAttributes {
*
* Notes:
*
- *
- * - SHOULD be equal to the {@code cloud.region} resource attribute of the invoked function.
- *
+ * SHOULD be equal to the {@code cloud.region} resource attribute of the invoked function.
*/
public static final AttributeKey FAAS_INVOKED_REGION = stringKey("faas.invoked_region");
@@ -107,12 +102,10 @@ public final class FaasIncubatingAttributes {
*
* Notes:
*
- *
- * - 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
- * {@code AWS_LAMBDA_FUNCTION_MEMORY_SIZE} provides this information (which must be
- * multiplied by 1,048,576).
- *
+ * 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 {@code
+ * AWS_LAMBDA_FUNCTION_MEMORY_SIZE} provides this information (which must be multiplied by
+ * 1,048,576).
*/
public static final AttributeKey FAAS_MAX_MEMORY = longKey("faas.max_memory");
@@ -121,14 +114,18 @@ public final class FaasIncubatingAttributes {
*
* Notes:
*
+ *
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 code.namespace}/{@code
+ * code.function} span attributes).
+ *
+ *
For some cloud providers, the above definition is ambiguous. The following definition of
+ * function name MUST be used for this attribute (and consequently the span name) for the listed
+ * cloud providers/products:
+ *
+ *
+ *
*
- * - 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 code.namespace}/{@code
- * code.function} span attributes).
- *
- For some cloud providers, the above definition is ambiguous. The following definition of
- * function name MUST be used for this attribute (and consequently the span name) for the
- * listed cloud providers/products:
*
- Azure: The full name {@code /}, i.e., function app name
* followed by a forward slash followed by the function name (this form can also be seen in
* the resource JSON for the function). This means that a span attribute MUST be used, as an
@@ -153,8 +150,11 @@ public final class FaasIncubatingAttributes {
*
*
Notes:
*
+ *
Depending on the cloud provider and platform, use:
+ *
+ *
+ *
*
- * - Depending on the cloud provider and platform, use:
*
- AWS Lambda: The function
* version (an integer represented as a decimal string).
@@ -186,19 +186,19 @@ private FaasDocumentOperationValues() {}
/** Values for {@link #FAAS_INVOKED_PROVIDER}. */
public static final class FaasInvokedProviderValues {
- /** Alibaba Cloud. */
+ /** Alibaba Cloud */
public static final String ALIBABA_CLOUD = "alibaba_cloud";
- /** Amazon Web Services. */
+ /** Amazon Web Services */
public static final String AWS = "aws";
- /** Microsoft Azure. */
+ /** Microsoft Azure */
public static final String AZURE = "azure";
- /** Google Cloud Platform. */
+ /** Google Cloud Platform */
public static final String GCP = "gcp";
- /** Tencent Cloud. */
+ /** Tencent Cloud */
public static final String TENCENT_CLOUD = "tencent_cloud";
private FaasInvokedProviderValues() {}
@@ -206,19 +206,19 @@ private FaasInvokedProviderValues() {}
/** Values for {@link #FAAS_TRIGGER}. */
public static final class FaasTriggerValues {
- /** A response to some data source operation such as a database or filesystem read/write. */
+ /** A response to some data source operation such as a database or filesystem read/write */
public static final String DATASOURCE = "datasource";
- /** To provide an answer to an inbound HTTP request. */
+ /** To provide an answer to an inbound HTTP request */
public static final String HTTP = "http";
- /** A function is set to be executed when messages are sent to a messaging system. */
+ /** A function is set to be executed when messages are sent to a messaging system */
public static final String PUBSUB = "pubsub";
- /** A function is scheduled to be executed regularly. */
+ /** A function is scheduled to be executed regularly */
public static final String TIMER = "timer";
- /** If none of the others apply. */
+ /** If none of the others apply */
public static final String OTHER = "other";
private FaasTriggerValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FeatureFlagIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FeatureFlagIncubatingAttributes.java
index 50fd950..fb55216 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FeatureFlagIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FeatureFlagIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class FeatureFlagIncubatingAttributes {
-
/** The unique identifier of the feature flag. */
public static final AttributeKey FEATURE_FLAG_KEY = stringKey("feature_flag.key");
@@ -27,17 +26,17 @@ public final class FeatureFlagIncubatingAttributes {
*
*
Notes:
*
- *
- * - A semantic identifier, commonly referred to as a variant, provides a means for referring
- * to a value without including the value itself. This can provide additional context for
- * understanding the meaning behind a value. For example, the variant {@code red} maybe be
- * used for the value {@code #c05543}.
- *
- A stringified version of the value can be used in situations where a semantic identifier
- * is unavailable. String representation of the value should be determined by the
- * implementer.
- *
+ * A semantic identifier, commonly referred to as a variant, provides a means for referring to
+ * a value without including the value itself. This can provide additional context for
+ * understanding the meaning behind a value. For example, the variant {@code red} maybe be used
+ * for the value {@code #c05543}.
+ *
+ *
A stringified version of the value can be used in situations where a semantic identifier is
+ * unavailable. String representation of the value should be determined by the implementer.
*/
public static final AttributeKey FEATURE_FLAG_VARIANT = stringKey("feature_flag.variant");
+ // Enum definitions
+
private FeatureFlagIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FileIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FileIncubatingAttributes.java
index e44f561..85f5d10 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FileIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FileIncubatingAttributes.java
@@ -11,10 +11,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class FileIncubatingAttributes {
-
/** Directory where the file is located. It should include the drive letter, when appropriate. */
public static final AttributeKey FILE_DIRECTORY = stringKey("file.directory");
@@ -23,10 +22,8 @@ public final class FileIncubatingAttributes {
*
* Notes:
*
- *
- * - When the file name has multiple extensions (example.tar.gz), only the last one should be
- * captured ("gz", not "tar.gz").
- *
+ * When the file name has multiple extensions (example.tar.gz), only the last one should be
+ * captured ("gz", not "tar.gz").
*/
public static final AttributeKey FILE_EXTENSION = stringKey("file.extension");
@@ -42,5 +39,7 @@ public final class FileIncubatingAttributes {
/** File size in bytes. */
public static final AttributeKey FILE_SIZE = longKey("file.size");
+ // Enum definitions
+
private FileIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GcpIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GcpIncubatingAttributes.java
index 50315c5..33dda09 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GcpIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GcpIncubatingAttributes.java
@@ -11,21 +11,17 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class GcpIncubatingAttributes {
-
/**
* Identifies the Google Cloud service for which the official client library is intended.
*
* Notes:
*
- *
- * - Intended to be a stable identifier for Google Cloud client libraries that is uniform
- * across implementation languages. The value should be derived from the canonical service
- * domain for the service; for example, 'foo.googleapis.com' should result in a value of
- * 'foo'.
- *
+ * Intended to be a stable identifier for Google Cloud client libraries that is uniform across
+ * implementation languages. The value should be derived from the canonical service domain for the
+ * service; for example, 'foo.googleapis.com' should result in a value of 'foo'.
*/
public static final AttributeKey GCP_CLIENT_SERVICE = stringKey("gcp.client.service");
@@ -64,5 +60,7 @@ public final class GcpIncubatingAttributes {
public static final AttributeKey GCP_GCE_INSTANCE_NAME =
stringKey("gcp.gce.instance.name");
+ // Enum definitions
+
private GcpIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingAttributes.java
index ada9ea9..e52a1e4 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingAttributes.java
@@ -14,19 +14,16 @@
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class GenAiIncubatingAttributes {
-
/**
* The full response received from the GenAI model.
*
* Notes:
*
- *
+ * It's RECOMMENDED to format completions as JSON string matching OpenAI messages format
*/
public static final AttributeKey GEN_AI_COMPLETION = stringKey("gen_ai.completion");
@@ -35,12 +32,10 @@ public final class GenAiIncubatingAttributes {
*
* Notes:
*
- *
- * - If one of the predefined values applies, but specific system uses a different name it's
- * RECOMMENDED to document it in the semantic conventions for specific GenAI system and use
- * system-specific name in the instrumentation. If a different name is not documented,
- * instrumentation libraries SHOULD use applicable predefined value.
- *
+ * If one of the predefined values applies, but specific system uses a different name it's
+ * RECOMMENDED to document it in the semantic conventions for specific GenAI system and use
+ * system-specific name in the instrumentation. If a different name is not documented,
+ * instrumentation libraries SHOULD use applicable predefined value.
*/
public static final AttributeKey GEN_AI_OPERATION_NAME =
stringKey("gen_ai.operation.name");
@@ -50,10 +45,8 @@ public final class GenAiIncubatingAttributes {
*
* Notes:
*
- *
+ * It's RECOMMENDED to format prompts as JSON string matching OpenAI messages format
*/
public static final AttributeKey GEN_AI_PROMPT = stringKey("gen_ai.prompt");
@@ -105,15 +98,15 @@ public final class GenAiIncubatingAttributes {
*
* Notes:
*
- *
- * - The {@code gen_ai.system} describes a family of GenAI models with specific model
- * identified by {@code gen_ai.request.model} and {@code gen_ai.response.model} attributes.
- *
- The actual GenAI product may differ from the one identified by the client. For example,
- * when using OpenAI client libraries to communicate with Mistral, the {@code gen_ai.system}
- * is set to {@code openai} based on the instrumentation's best knowledge.
- *
- For custom model, a custom friendly name SHOULD be used. If none of these options apply,
- * the {@code gen_ai.system} SHOULD be set to {@code _OTHER}.
- *
+ * The {@code gen_ai.system} describes a family of GenAI models with specific model identified
+ * by {@code gen_ai.request.model} and {@code gen_ai.response.model} attributes.
+ *
+ *
The actual GenAI product may differ from the one identified by the client. For example, when
+ * using OpenAI client libraries to communicate with Mistral, the {@code gen_ai.system} is set to
+ * {@code openai} based on the instrumentation's best knowledge.
+ *
+ *
For custom model, a custom friendly name SHOULD be used. If none of these options apply, the
+ * {@code gen_ai.system} SHOULD be set to {@code _OTHER}.
*/
public static final AttributeKey GEN_AI_SYSTEM = stringKey("gen_ai.system");
@@ -123,7 +116,9 @@ public final class GenAiIncubatingAttributes {
/**
* Deprecated, use {@code gen_ai.usage.output_tokens} instead.
*
- * @deprecated Deprecated, use `gen_ai.usage.output_tokens` instead.
+ *
+ *
+ * @deprecated Replaced by {@code gen_ai.usage.output_tokens} attribute.
*/
@Deprecated
public static final AttributeKey GEN_AI_USAGE_COMPLETION_TOKENS =
@@ -140,7 +135,9 @@ public final class GenAiIncubatingAttributes {
/**
* Deprecated, use {@code gen_ai.usage.input_tokens} instead.
*
- * @deprecated Deprecated, use `gen_ai.usage.input_tokens` instead.
+ *
+ *
+ * @deprecated Replaced by {@code gen_ai.usage.input_tokens} attribute.
*/
@Deprecated
public static final AttributeKey GEN_AI_USAGE_PROMPT_TOKENS =
@@ -150,14 +147,15 @@ public final class GenAiIncubatingAttributes {
/** Values for {@link #GEN_AI_OPERATION_NAME}. */
public static final class GenAiOperationNameValues {
/**
- * Chat completion operation such as [OpenAI Chat
- * API](https://platform.openai.com/docs/api-reference/chat).
+ * Chat completion operation such as OpenAI Chat API
*/
public static final String CHAT = "chat";
/**
- * Text completions operation such as [OpenAI Completions API
- * (Legacy)](https://platform.openai.com/docs/api-reference/completions).
+ * Text completions operation such as OpenAI Completions API
+ * (Legacy)
*/
public static final String TEXT_COMPLETION = "text_completion";
@@ -166,16 +164,16 @@ private GenAiOperationNameValues() {}
/** Values for {@link #GEN_AI_SYSTEM}. */
public static final class GenAiSystemValues {
- /** OpenAI. */
+ /** OpenAI */
public static final String OPENAI = "openai";
- /** Vertex AI. */
+ /** Vertex AI */
public static final String VERTEX_AI = "vertex_ai";
- /** Anthropic. */
+ /** Anthropic */
public static final String ANTHROPIC = "anthropic";
- /** Cohere. */
+ /** Cohere */
public static final String COHERE = "cohere";
private GenAiSystemValues() {}
@@ -183,10 +181,10 @@ private GenAiSystemValues() {}
/** Values for {@link #GEN_AI_TOKEN_TYPE}. */
public static final class GenAiTokenTypeValues {
- /** Input tokens (prompt, input, etc.). */
+ /** Input tokens (prompt, input, etc.) */
public static final String INPUT = "input";
- /** Output tokens (completion, response, etc.). */
+ /** Output tokens (completion, response, etc.) */
public static final String COMPLETION = "output";
private GenAiTokenTypeValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingAttributes.java
index 2a71c2d..b38e12f 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class GoIncubatingAttributes {
-
/** The type of memory. */
public static final AttributeKey GO_MEMORY_TYPE = stringKey("go.memory.type");
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GraphqlIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GraphqlIncubatingAttributes.java
index 8e09c2e..8e075ce 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GraphqlIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GraphqlIncubatingAttributes.java
@@ -10,18 +10,15 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class GraphqlIncubatingAttributes {
-
/**
* The GraphQL document being executed.
*
* Notes:
*
- *
- * - The value may be sanitized to exclude sensitive information.
- *
+ * The value may be sanitized to exclude sensitive information.
*/
public static final AttributeKey GRAPHQL_DOCUMENT = stringKey("graphql.document");
@@ -36,13 +33,13 @@ public final class GraphqlIncubatingAttributes {
// Enum definitions
/** Values for {@link #GRAPHQL_OPERATION_TYPE}. */
public static final class GraphqlOperationTypeValues {
- /** GraphQL query. */
+ /** GraphQL query */
public static final String QUERY = "query";
- /** GraphQL mutation. */
+ /** GraphQL mutation */
public static final String MUTATION = "mutation";
- /** GraphQL subscription. */
+ /** GraphQL subscription */
public static final String SUBSCRIPTION = "subscription";
private GraphqlOperationTypeValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HerokuIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HerokuIncubatingAttributes.java
index a18d3f8..1aca39a 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HerokuIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HerokuIncubatingAttributes.java
@@ -10,10 +10,9 @@
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class HerokuIncubatingAttributes {
-
/** Unique identifier for the application */
public static final AttributeKey HEROKU_APP_ID = stringKey("heroku.app.id");
@@ -25,5 +24,7 @@ public final class HerokuIncubatingAttributes {
public static final AttributeKey HEROKU_RELEASE_CREATION_TIMESTAMP =
stringKey("heroku.release.creation_timestamp");
+ // Enum definitions
+
private HerokuIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HostIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HostIncubatingAttributes.java
index 39296d9..1ff665b 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HostIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HostIncubatingAttributes.java
@@ -13,10 +13,9 @@
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class HostIncubatingAttributes {
-
/** The CPU architecture the host system is running on. */
public static final AttributeKey HOST_ARCH = stringKey("host.arch");
@@ -43,11 +42,9 @@ public final class HostIncubatingAttributes {
*
* Notes:
*
- *
- * - CPUID command returns the vendor ID string in
- * EBX, EDX and ECX registers. Writing these to memory in this order results in a
- * 12-character string.
- *
+ * CPUID command returns the vendor ID string in
+ * EBX, EDX and ECX registers. Writing these to memory in this order results in a 12-character
+ * string.
*/
public static final AttributeKey HOST_CPU_VENDOR_ID = stringKey("host.cpu.vendor.id");
@@ -75,11 +72,8 @@ public final class HostIncubatingAttributes {
*
* Notes:
*
- *
- * - IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be
- * specified in the RFC 5952
- * format.
- *
+ * IPv4 Addresses MUST be specified in dotted-quad notation. IPv6 addresses MUST be specified
+ * in the RFC 5952 format.
*/
public static final AttributeKey> HOST_IP = stringArrayKey("host.ip");
@@ -88,12 +82,10 @@ public final class HostIncubatingAttributes {
*
* Notes:
*
- *
- * - MAC Addresses MUST be represented in IEEE
- * RA hexadecimal form: as hyphen-separated octets in uppercase hexadecimal form from
- * most to least significant.
- *
+ * MAC Addresses MUST be represented in IEEE RA
+ * hexadecimal form: as hyphen-separated octets in uppercase hexadecimal form from most to
+ * least significant.
*/
public static final AttributeKey> HOST_MAC = stringArrayKey("host.mac");
@@ -109,28 +101,28 @@ public final class HostIncubatingAttributes {
// Enum definitions
/** Values for {@link #HOST_ARCH}. */
public static final class HostArchValues {
- /** AMD64. */
+ /** AMD64 */
public static final String AMD64 = "amd64";
- /** ARM32. */
+ /** ARM32 */
public static final String ARM32 = "arm32";
- /** ARM64. */
+ /** ARM64 */
public static final String ARM64 = "arm64";
- /** Itanium. */
+ /** Itanium */
public static final String IA64 = "ia64";
- /** 32-bit PowerPC. */
+ /** 32-bit PowerPC */
public static final String PPC32 = "ppc32";
- /** 64-bit PowerPC. */
+ /** 64-bit PowerPC */
public static final String PPC64 = "ppc64";
- /** IBM z/Architecture. */
+ /** IBM z/Architecture */
public static final String S390X = "s390x";
- /** 32-bit x86. */
+ /** 32-bit x86 */
public static final String X86 = "x86";
private HostArchValues() {}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingAttributes.java
index 29995e4..7a141e1 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingAttributes.java
@@ -14,14 +14,15 @@
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
-// buildscripts/templates/SemanticAttributes.java.j2
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class HttpIncubatingAttributes {
-
/**
* Deprecated, use {@code client.address} instead.
*
- * @deprecated Deprecated, use `client.address` instead.
+ *
+ *
+ * @deprecated Replaced by {@code client.address}.
*/
@Deprecated public static final AttributeKey HTTP_CLIENT_IP = stringKey("http.client_ip");
@@ -32,7 +33,9 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code network.protocol.name} instead.
*
- * @deprecated Deprecated, use `network.protocol.name` instead.
+ *
+ *
+ * @deprecated Replaced by {@code network.protocol.name}.
*/
@Deprecated public static final AttributeKey HTTP_FLAVOR = stringKey("http.flavor");
@@ -40,15 +43,19 @@ public final class HttpIncubatingAttributes {
* Deprecated, use one of {@code server.address}, {@code client.address} or {@code
* http.request.header.host} instead, depending on the usage.
*
- * @deprecated Deprecated, use one of `server.address`, `client.address` or
- * `http.request.header.host` instead, depending on the usage.
+ *
+ *
+ * @deprecated Replaced by one of {@code server.address}, {@code client.address} or {@code
+ * http.request.header.host}, depending on the usage.
*/
@Deprecated public static final AttributeKey HTTP_HOST = stringKey("http.host");
/**
* Deprecated, use {@code http.request.method} instead.
*
- * @deprecated Deprecated, use `http.request.method` instead.
+ *
+ *
+ * @deprecated Replaced by {@code http.request.method}.
*/
@Deprecated public static final AttributeKey HTTP_METHOD = stringKey("http.method");
@@ -66,16 +73,15 @@ public final class HttpIncubatingAttributes {
*
* Notes:
*
- *
- * - Instrumentations SHOULD require an explicit configuration of which headers are to be
- * captured. Including all request headers can be a security risk - explicit configuration
- * helps avoid leaking sensitive information. The {@code User-Agent} header is already
- * captured in the {@code user_agent.original} attribute. Users MAY explicitly configure
- * instrumentations to capture them even though it is not recommended. The attribute value
- * MUST consist of either multiple header values as an array of strings or a single-item
- * array containing a possibly comma-concatenated string, depending on the way the HTTP
- * library provides access to headers.
- *
+ * Instrumentations SHOULD require an explicit configuration of which headers are to be
+ * captured. Including all request headers can be a security risk - explicit configuration helps
+ * avoid leaking sensitive information. The {@code User-Agent} header is already captured in the
+ * {@code user_agent.original} attribute. Users MAY explicitly configure instrumentations to
+ * capture them even though it is not recommended. The attribute value MUST consist of either
+ * multiple header values as an array of strings or a single-item array containing a possibly
+ * comma-concatenated string, depending on the way the HTTP library provides access to headers.
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_REQUEST_HEADER} attribute.
@@ -89,25 +95,28 @@ public final class HttpIncubatingAttributes {
*
*
Notes:
*
- *
- * - HTTP request method value SHOULD be "known" to the instrumentation. By default,
- * this convention defines "known" methods as the ones listed in RFC9110 and the PATCH
- * method defined in RFC5789.
- *
- If the HTTP request method is not known to instrumentation, it MUST set the {@code
- * http.request.method} attribute to {@code _OTHER}.
- *
- If the HTTP instrumentation could end up converting valid HTTP request methods to {@code
- * _OTHER}, then it MUST provide a way to override the list of known HTTP methods. If this
- * override is done via environment variable, then the environment variable MUST be named
- * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of
- * case-sensitive known HTTP methods (this list MUST be a full override of the default known
- * method, it is not a list of known methods in addition to the defaults).
- *
- HTTP method names are case-sensitive and {@code http.request.method} attribute value MUST
- * match a known HTTP method name exactly. Instrumentations for specific web frameworks that
- * consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent.
- * Tracing instrumentations that do so, MUST also set {@code http.request.method_original}
- * to the original value.
- *
+ * HTTP request method value SHOULD be "known" to the instrumentation. By default, this
+ * convention defines "known" methods as the ones listed in RFC9110 and the PATCH
+ * method defined in RFC5789.
+ *
+ *
If the HTTP request method is not known to instrumentation, it MUST set the {@code
+ * http.request.method} attribute to {@code _OTHER}.
+ *
+ *
If the HTTP instrumentation could end up converting valid HTTP request methods to {@code
+ * _OTHER}, then it MUST provide a way to override the list of known HTTP methods. If this
+ * override is done via environment variable, then the environment variable MUST be named
+ * OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS and support a comma-separated list of case-sensitive
+ * known HTTP methods (this list MUST be a full override of the default known method, it is not a
+ * list of known methods in addition to the defaults).
+ *
+ *
HTTP method names are case-sensitive and {@code http.request.method} attribute value MUST
+ * match a known HTTP method name exactly. Instrumentations for specific web frameworks that
+ * consider HTTP methods to be case insensitive, SHOULD populate a canonical equivalent. Tracing
+ * instrumentations that do so, MUST also set {@code http.request.method_original} to the original
+ * value.
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_REQUEST_METHOD} attribute.
@@ -118,6 +127,8 @@ public final class HttpIncubatingAttributes {
/**
* Original HTTP method sent by the client in the request line.
*
+ *
+ *
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_REQUEST_METHOD_ORIGINAL} attribute.
*/
@@ -130,11 +141,11 @@ public final class HttpIncubatingAttributes {
*
*
Notes:
*
- *
- * - The resend count SHOULD be updated each time an HTTP request gets resent by the client,
- * regardless of what was the cause of the resending (e.g. redirection, authorization
- * failure, 503 Server Unavailable, network issues, or any other).
- *
+ * The resend count SHOULD be updated each time an HTTP request gets resent by the client,
+ * regardless of what was the cause of the resending (e.g. redirection, authorization failure, 503
+ * Server Unavailable, network issues, or any other).
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_REQUEST_RESEND_COUNT} attribute.
@@ -153,7 +164,9 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code http.request.header.content-length} instead.
*
- * @deprecated Deprecated, use `http.request.header.content-length` instead.
+ *
+ *
+ * @deprecated Replaced by {@code http.request.header.content-length}.
*/
@Deprecated
public static final AttributeKey HTTP_REQUEST_CONTENT_LENGTH =
@@ -162,7 +175,9 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code http.request.body.size} instead.
*
- * @deprecated Deprecated, use `http.request.body.size` instead.
+ *
+ *
+ * @deprecated Replaced by {@code http.request.body.size}.
*/
@Deprecated
public static final AttributeKey HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED =
@@ -183,15 +198,14 @@ public final class HttpIncubatingAttributes {
*
* Notes:
*
- *
- * - Instrumentations SHOULD require an explicit configuration of which headers are to be
- * captured. Including all response headers can be a security risk - explicit configuration
- * helps avoid leaking sensitive information. Users MAY explicitly configure
- * instrumentations to capture them even though it is not recommended. The attribute value
- * MUST consist of either multiple header values as an array of strings or a single-item
- * array containing a possibly comma-concatenated string, depending on the way the HTTP
- * library provides access to headers.
- *
+ * Instrumentations SHOULD require an explicit configuration of which headers are to be
+ * captured. Including all response headers can be a security risk - explicit configuration helps
+ * avoid leaking sensitive information. Users MAY explicitly configure instrumentations to capture
+ * them even though it is not recommended. The attribute value MUST consist of either multiple
+ * header values as an array of strings or a single-item array containing a possibly
+ * comma-concatenated string, depending on the way the HTTP library provides access to headers.
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_RESPONSE_HEADER} attribute.
@@ -210,6 +224,8 @@ public final class HttpIncubatingAttributes {
/**
* HTTP response status code.
*
+ *
+ *
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_RESPONSE_STATUS_CODE} attribute.
*/
@@ -220,7 +236,9 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code http.response.header.content-length} instead.
*
- * @deprecated Deprecated, use `http.response.header.content-length` instead.
+ *
+ *
+ * @deprecated Replaced by {@code http.response.header.content-length}.
*/
@Deprecated
public static final AttributeKey HTTP_RESPONSE_CONTENT_LENGTH =
@@ -229,7 +247,9 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code http.response.body.size} instead.
*
- * @deprecated Deprecated, use `http.response.body.size` instead.
+ *
+ *
+ * @deprecated Replace by {@code http.response.body.size}.
*/
@Deprecated
public static final AttributeKey HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED =
@@ -241,12 +261,12 @@ public final class HttpIncubatingAttributes {
*
* Notes:
*
- *
- * - MUST NOT be populated when this is not supported by the HTTP server framework as the
- * route attribute should have low-cardinality and the URI path can NOT substitute it.
- * SHOULD include the application
- * root if there is one.
- *
+ * MUST NOT be populated when this is not supported by the HTTP server framework as the route
+ * attribute should have low-cardinality and the URI path can NOT substitute it. SHOULD include
+ * the application root if there is
+ * one.
+ *
+ *
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.HttpAttributes#HTTP_ROUTE} attribute.
@@ -256,14 +276,18 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code url.scheme} instead.
*
- * @deprecated Deprecated, use `url.scheme` instead.
+ *
+ *
+ * @deprecated Replaced by {@code url.scheme} instead.
*/
@Deprecated public static final AttributeKey HTTP_SCHEME = stringKey("http.scheme");
/**
* Deprecated, use {@code server.address} instead.
*
- * @deprecated Deprecated, use `server.address` instead.
+ *
+ *
+ * @deprecated Replaced by {@code server.address}.
*/
@Deprecated
public static final AttributeKey HTTP_SERVER_NAME = stringKey("http.server_name");
@@ -271,28 +295,36 @@ public final class HttpIncubatingAttributes {
/**
* Deprecated, use {@code http.response.status_code} instead.
*
- * @deprecated Deprecated, use `http.response.status_code` instead.
+ *
+ *
+ * @deprecated Replaced by {@code http.response.status_code}.
*/
@Deprecated public static final AttributeKey HTTP_STATUS_CODE = longKey("http.status_code");
/**
* Deprecated, use {@code url.path} and {@code url.query} instead.
*
- * @deprecated Deprecated, use `url.path` and `url.query` instead.
+ *
+ *
+ * @deprecated Split to {@code url.path} and `url.query.
*/
@Deprecated public static final AttributeKey HTTP_TARGET = stringKey("http.target");
/**
* Deprecated, use {@code url.full} instead.
*
- * @deprecated Deprecated, use `url.full` instead.
+ *
+ *
+ * @deprecated Replaced by {@code url.full}.
*/
@Deprecated public static final AttributeKey