diff --git a/build.gradle.kts b/build.gradle.kts
index 8bd82c4..e7cdc45 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -11,9 +11,10 @@ val snapshot = true
// end
// The release version of https://github.com/open-telemetry/semantic-conventions used to generate classes
-var semanticConventionsVersion = "1.27.0"
+var semanticConventionsVersion = "1.28.0"
val schemaUrlVersions = listOf(
semanticConventionsVersion,
+ "1.27.0",
"1.26.0",
"1.25.0",
"1.24.0",
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AndroidIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AndroidIncubatingAttributes.java
index c7a2371..82fc36a 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AndroidIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AndroidIncubatingAttributes.java
@@ -29,11 +29,20 @@ public final class AndroidIncubatingAttributes {
*
The Android lifecycle states are defined in Activity
* lifecycle callbacks, and from which the {@code OS identifiers} are derived.
+ *
+ *
+ *
+ * @deprecated Replaced by {@code device.app.lifecycle}.
*/
- public static final AttributeKey ANDROID_STATE = stringKey("android.state");
+ @Deprecated public static final AttributeKey ANDROID_STATE = stringKey("android.state");
// Enum definitions
- /** Values for {@link #ANDROID_STATE}. */
+ /**
+ * Values for {@link #ANDROID_STATE}
+ *
+ * @deprecated Replaced by {@code device.app.lifecycle}.
+ */
+ @Deprecated
public static final class AndroidStateIncubatingValues {
/**
* Any time before Activity.onResume() or, if the app has no Activity, Context.startService()
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzIncubatingAttributes.java
index 99625cc..1b6ca8e 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzIncubatingAttributes.java
@@ -13,6 +13,13 @@
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class AzIncubatingAttributes {
+ /**
+ * Azure
+ * Resource Provider Namespace as recognized by the client.
+ */
+ public static final AttributeKey AZ_NAMESPACE = stringKey("az.namespace");
+
/**
* The unique identifier of the service request. It's generated by the Azure service and returned
* with the response.
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 b48e34a..493d117 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
@@ -84,7 +84,7 @@ public final class CloudIncubatingAttributes {
* href="https://docs.microsoft.com/rest/api/resources/resources/get-by-id">Fully Qualified
* Resource ID of the invoked function, not the function app, having the form
* {@code
- * /subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/}.
+ * /subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/}.
* This means that a span attribute MUST be used, as an Azure function app can host multiple
* functions that would usually share a TracerProvider.
*
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudfoundryIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudfoundryIncubatingAttributes.java
new file mode 100644
index 0000000..4e048a2
--- /dev/null
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CloudfoundryIncubatingAttributes.java
@@ -0,0 +1,160 @@
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package io.opentelemetry.semconv.incubating;
+
+import static io.opentelemetry.api.common.AttributeKey.stringKey;
+
+import io.opentelemetry.api.common.AttributeKey;
+
+// DO NOT EDIT, this is an Auto-generated file from
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
+@SuppressWarnings("unused")
+public final class CloudfoundryIncubatingAttributes {
+ /**
+ * The guid of the application.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.application_id}. This is the same value as reported by {@code cf app
+ * --guid}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_APP_ID = stringKey("cloudfoundry.app.id");
+
+ /**
+ * The index of the application instance. 0 when just one instance is active.
+ *
+ * Notes:
+ *
+ *
CloudFoundry defines the {@code instance_id} in the Loggegator v2 envelope.
+ * It is used for logs and metrics emitted by CloudFoundry. It is supposed to contain the
+ * application instance index for applications deployed on the runtime.
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * CF_INSTANCE_INDEX}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_APP_INSTANCE_ID =
+ stringKey("cloudfoundry.app.instance.id");
+
+ /**
+ * The name of the application.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.application_name}. This is the same value as reported by {@code cf apps}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_APP_NAME =
+ stringKey("cloudfoundry.app.name");
+
+ /**
+ * The guid of the CloudFoundry org the application is running in.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.org_id}. This is the same value as reported by {@code cf org
+ * --guid}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_ORG_ID = stringKey("cloudfoundry.org.id");
+
+ /**
+ * The name of the CloudFoundry organization the app is running in.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.org_name}. This is the same value as reported by {@code cf orgs}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_ORG_NAME =
+ stringKey("cloudfoundry.org.name");
+
+ /**
+ * The UID identifying the process.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.process_id}. It is supposed to be equal to {@code VCAP_APPLICATION.app_id} for
+ * applications deployed to the runtime. For system components, this could be the actual PID.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_PROCESS_ID =
+ stringKey("cloudfoundry.process.id");
+
+ /**
+ * The type of process.
+ *
+ * Notes:
+ *
+ *
CloudFoundry applications can consist of multiple jobs. Usually the main process will be of
+ * type {@code web}. There can be additional background tasks or side-cars with different process
+ * types.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_PROCESS_TYPE =
+ stringKey("cloudfoundry.process.type");
+
+ /**
+ * The guid of the CloudFoundry space the application is running in.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.space_id}. This is the same value as reported by {@code cf space
+ * --guid}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_SPACE_ID =
+ stringKey("cloudfoundry.space.id");
+
+ /**
+ * The name of the CloudFoundry space the application is running in.
+ *
+ * Notes:
+ *
+ *
Application instrumentation should use the value from environment variable {@code
+ * VCAP_APPLICATION.space_name}. This is the same value as reported by {@code cf spaces}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_SPACE_NAME =
+ stringKey("cloudfoundry.space.name");
+
+ /**
+ * A guid or another name describing the event source.
+ *
+ * Notes:
+ *
+ *
CloudFoundry defines the {@code source_id} in the Loggregator v2 envelope.
+ * It is used for logs and metrics emitted by CloudFoundry. It is supposed to contain the
+ * component name, e.g. "gorouter", for CloudFoundry components.
+ *
+ *
When system components are instrumented, values from the Bosh spec should be used. The {@code
+ * system.id} should be set to {@code spec.deployment/spec.name}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_SYSTEM_ID =
+ stringKey("cloudfoundry.system.id");
+
+ /**
+ * A guid describing the concrete instance of the event source.
+ *
+ * Notes:
+ *
+ *
CloudFoundry defines the {@code instance_id} in the Loggregator v2 envelope.
+ * It is used for logs and metrics emitted by CloudFoundry. It is supposed to contain the vm id
+ * for CloudFoundry components.
+ *
+ *
When system components are instrumented, values from the Bosh spec should be used. The {@code
+ * system.instance.id} should be set to {@code spec.id}.
+ */
+ public static final AttributeKey CLOUDFOUNDRY_SYSTEM_INSTANCE_ID =
+ stringKey("cloudfoundry.system.instance.id");
+
+ // Enum definitions
+
+ private CloudfoundryIncubatingAttributes() {}
+}
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 0402e01..69ba802 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
@@ -27,13 +27,11 @@ public final class ContainerIncubatingAttributes {
*/
public static final AttributeKey CONTAINER_COMMAND = stringKey("container.command");
- /**
- * All the command arguments (including the command/executable itself) run by the container. [2]
- */
+ /** All the command arguments (including the command/executable itself) run by the container. */
public static final AttributeKey> CONTAINER_COMMAND_ARGS =
stringArrayKey("container.command_args");
- /** The full command run by the container as a single string representing the full command. [2] */
+ /** The full command run by the container as a single string representing the full command. */
public static final AttributeKey CONTAINER_COMMAND_LINE =
stringKey("container.command_line");
@@ -47,9 +45,34 @@ public final class ContainerIncubatingAttributes {
@Deprecated
public static final AttributeKey CONTAINER_CPU_STATE = stringKey("container.cpu.state");
+ /**
+ * The name of the CSI (Container
+ * Storage Interface) plugin used by the volume.
+ *
+ * Notes:
+ *
+ *
This can sometimes be referred to as a "driver" in CSI implementations. This should
+ * represent the {@code name} field of the GetPluginInfo RPC.
+ */
+ public static final AttributeKey CONTAINER_CSI_PLUGIN_NAME =
+ stringKey("container.csi.plugin.name");
+
+ /**
+ * The unique volume ID returned by the CSI (Container Storage Interface)
+ * plugin.
+ *
+ * Notes:
+ *
+ *
This can sometimes be referred to as a "volume handle" in CSI implementations. This should
+ * represent the {@code Volume.volume_id} field in CSI spec.
+ */
+ public static final AttributeKey CONTAINER_CSI_VOLUME_ID =
+ stringKey("container.csi.volume.id");
+
/**
* Container ID. Usually a UUID, as for example used to identify Docker
+ * href="https://docs.docker.com/engine/containers/run/#container-identification">identify Docker
* containers. The UUID might be abbreviated.
*/
public static final AttributeKey CONTAINER_ID = stringKey("container.id");
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 c0cff40..a64370e 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
@@ -104,7 +104,8 @@ public final class DbIncubatingAttributes {
* 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.
+ * SHOULD be used, otherwise {@code db.collection.name} SHOULD NOT be captured. This attribute has
+ * stability level RELEASE CANDIDATE.
*/
public static final AttributeKey DB_COLLECTION_NAME = stringKey("db.collection.name");
@@ -113,7 +114,7 @@ public final class DbIncubatingAttributes {
*
*
*
- * @deprecated "Replaced by {@code server.address} and {@code server.port}."
+ * @deprecated Replaced by {@code server.address} and {@code server.port}.
*/
@Deprecated
public static final AttributeKey DB_CONNECTION_STRING = stringKey("db.connection_string");
@@ -137,7 +138,7 @@ public final class DbIncubatingAttributes {
public static final AttributeKey DB_COSMOSDB_CONTAINER =
stringKey("db.cosmosdb.container");
- /** CosmosDB Operation Type. */
+ /** Cosmos DB Operation Type. */
public static final AttributeKey DB_COSMOSDB_OPERATION_TYPE =
stringKey("db.cosmosdb.operation_type");
@@ -149,7 +150,14 @@ public final class DbIncubatingAttributes {
public static final AttributeKey DB_COSMOSDB_REQUEST_CONTENT_LENGTH =
longKey("db.cosmosdb.request_content_length");
- /** Cosmos DB status code. */
+ /**
+ * Deprecated, use {@code db.response.status_code} instead.
+ *
+ *
+ *
+ * @deprecated Replaced by {@code db.response.status_code}.
+ */
+ @Deprecated
public static final AttributeKey DB_COSMOSDB_STATUS_CODE =
longKey("db.cosmosdb.status_code");
@@ -252,7 +260,8 @@ public final class DbIncubatingAttributes {
* 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.
+ * provided by the application without attempting to do any case normalization. This attribute has
+ * stability level RELEASE CANDIDATE.
*/
public static final AttributeKey DB_NAMESPACE = stringKey("db.namespace");
@@ -266,13 +275,13 @@ public final class DbIncubatingAttributes {
@Deprecated public static final AttributeKey DB_OPERATION = stringKey("db.operation");
/**
- * The number of queries included in a batch operation.
+ * The number of queries included in a batch operation.
*
* 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}.
+ * {@code db.operation.batch.size} SHOULD never be {@code 1}. This attribute has stability level
+ * RELEASE CANDIDATE.
*/
public static final AttributeKey DB_OPERATION_BATCH_SIZE =
longKey("db.operation.batch.size");
@@ -287,7 +296,8 @@ public final class DbIncubatingAttributes {
* 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.
+ * database system specific term if more applicable. This attribute has stability level RELEASE
+ * CANDIDATE.
*/
public static final AttributeKey DB_OPERATION_NAME = stringKey("db.operation.name");
@@ -299,7 +309,7 @@ public final class DbIncubatingAttributes {
*
* 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.
+ * } SHOULD be the 0-based index. This attribute has stability level RELEASE CANDIDATE.
*/
public static final AttributeKeyTemplate DB_QUERY_PARAMETER =
stringKeyTemplate("db.query.parameter");
@@ -317,7 +327,8 @@ public final class DbIncubatingAttributes {
* 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.
+ * capturing the static part of the query text by default outweighs the risk. This attribute has
+ * stability level RELEASE CANDIDATE.
*/
public static final AttributeKey DB_QUERY_TEXT = stringKey("db.query.text");
@@ -332,6 +343,20 @@ public final class DbIncubatingAttributes {
public static final AttributeKey DB_REDIS_DATABASE_INDEX =
longKey("db.redis.database_index");
+ /**
+ * Database response status code.
+ *
+ * Notes:
+ *
+ *
The status code returned by the database. Usually it represents an error code, but may also
+ * represent partial success, warning, or differentiate between various types of successful
+ * outcomes. Semantic conventions for individual database systems SHOULD document what {@code
+ * db.response.status_code} means in the context of that system. This attribute has stability
+ * level RELEASE CANDIDATE.
+ */
+ public static final AttributeKey DB_RESPONSE_STATUS_CODE =
+ stringKey("db.response.status_code");
+
/**
* Deprecated, use {@code db.collection.name} instead.
*
@@ -357,7 +382,8 @@ public final class DbIncubatingAttributes {
*
* 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.
+ * postgresql} based on the instrumentation's best knowledge. This attribute has stability level
+ * RELEASE CANDIDATE.
*/
public static final AttributeKey DB_SYSTEM = stringKey("db.system");
@@ -449,50 +475,50 @@ private DbCosmosdbConnectionModeIncubatingValues() {}
/** Values for {@link #DB_COSMOSDB_OPERATION_TYPE}. */
public static final class DbCosmosdbOperationTypeIncubatingValues {
- /** invalid. */
- public static final String INVALID = "Invalid";
+ /** batch. */
+ public static final String BATCH = "batch";
/** create. */
- public static final String CREATE = "Create";
-
- /** patch. */
- public static final String PATCH = "Patch";
-
- /** read. */
- public static final String READ = "Read";
-
- /** read_feed. */
- public static final String READ_FEED = "ReadFeed";
+ public static final String CREATE = "create";
/** delete. */
- public static final String DELETE = "Delete";
-
- /** replace. */
- public static final String REPLACE = "Replace";
+ public static final String DELETE = "delete";
/** execute. */
- public static final String EXECUTE = "Execute";
+ public static final String EXECUTE = "execute";
- /** query. */
- public static final String QUERY = "Query";
+ /** execute_javascript. */
+ public static final String EXECUTE_JAVASCRIPT = "execute_javascript";
+
+ /** invalid. */
+ public static final String INVALID = "invalid";
/** head. */
- public static final String HEAD = "Head";
+ public static final String HEAD = "head";
/** head_feed. */
- public static final String HEAD_FEED = "HeadFeed";
+ public static final String HEAD_FEED = "head_feed";
- /** upsert. */
- public static final String UPSERT = "Upsert";
+ /** patch. */
+ public static final String PATCH = "patch";
- /** batch. */
- public static final String BATCH = "Batch";
+ /** query. */
+ public static final String QUERY = "query";
/** query_plan. */
- public static final String QUERY_PLAN = "QueryPlan";
+ public static final String QUERY_PLAN = "query_plan";
- /** execute_javascript. */
- public static final String EXECUTE_JAVASCRIPT = "ExecuteJavaScript";
+ /** read. */
+ public static final String READ = "read";
+
+ /** read_feed. */
+ public static final String READ_FEED = "read_feed";
+
+ /** replace. */
+ public static final String REPLACE = "replace";
+
+ /** upsert. */
+ public static final String UPSERT = "upsert";
private DbCosmosdbOperationTypeIncubatingValues() {}
}
@@ -592,7 +618,7 @@ public static final class DbSystemIncubatingValues {
/** InterBase */
public static final String INTERBASE = "interbase";
- /** MariaDB */
+ /** MariaDB (This value has stability level RELEASE CANDIDATE) */
public static final String MARIADB = "mariadb";
/** SAP MaxDB */
@@ -604,13 +630,13 @@ public static final class DbSystemIncubatingValues {
/** MongoDB */
public static final String MONGODB = "mongodb";
- /** Microsoft SQL Server */
+ /** Microsoft SQL Server (This value has stability level RELEASE CANDIDATE) */
public static final String MSSQL = "mssql";
/** Deprecated, Microsoft SQL Server Compact is discontinued. */
public static final String MSSQLCOMPACT = "mssqlcompact";
- /** MySQL */
+ /** MySQL (This value has stability level RELEASE CANDIDATE) */
public static final String MYSQL = "mysql";
/** Neo4j */
@@ -631,7 +657,7 @@ public static final class DbSystemIncubatingValues {
/** PointBase */
public static final String POINTBASE = "pointbase";
- /** PostgreSQL */
+ /** PostgreSQL (This value has stability level RELEASE CANDIDATE) */
public static final String POSTGRESQL = "postgresql";
/** Progress Database */
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DotnetIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DotnetIncubatingAttributes.java
new file mode 100644
index 0000000..c9655da
--- /dev/null
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DotnetIncubatingAttributes.java
@@ -0,0 +1,42 @@
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package io.opentelemetry.semconv.incubating;
+
+import static io.opentelemetry.api.common.AttributeKey.stringKey;
+
+import io.opentelemetry.api.common.AttributeKey;
+
+// DO NOT EDIT, this is an Auto-generated file from
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
+@SuppressWarnings("unused")
+public final class DotnetIncubatingAttributes {
+ /** Name of the garbage collector managed heap generation. */
+ public static final AttributeKey DOTNET_GC_HEAP_GENERATION =
+ stringKey("dotnet.gc.heap.generation");
+
+ // Enum definitions
+ /** Values for {@link #DOTNET_GC_HEAP_GENERATION}. */
+ public static final class DotnetGcHeapGenerationIncubatingValues {
+ /** Generation 0 */
+ public static final String GEN0 = "gen0";
+
+ /** Generation 1 */
+ public static final String GEN1 = "gen1";
+
+ /** Generation 2 */
+ public static final String GEN2 = "gen2";
+
+ /** Large Object Heap */
+ public static final String LOH = "loh";
+
+ /** Pinned Object Heap */
+ public static final String POH = "poh";
+
+ private DotnetGcHeapGenerationIncubatingValues() {}
+ }
+
+ private DotnetIncubatingAttributes() {}
+}
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 85f5d10..a4d9e71 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
@@ -6,14 +6,61 @@
package io.opentelemetry.semconv.incubating;
import static io.opentelemetry.api.common.AttributeKey.longKey;
+import static io.opentelemetry.api.common.AttributeKey.stringArrayKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import io.opentelemetry.api.common.AttributeKey;
+import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class FileIncubatingAttributes {
+ /**
+ * Time when the file was last accessed, in ISO 8601 format.
+ *
+ * Notes:
+ *
+ *
This attribute might not be supported by some file systems — NFS, FAT32, in embedded OS,
+ * etc.
+ */
+ public static final AttributeKey FILE_ACCESSED = stringKey("file.accessed");
+
+ /**
+ * Array of file attributes.
+ *
+ * Notes:
+ *
+ *
Attributes names depend on the OS or file system. Here’s a non-exhaustive list of values
+ * expected for this attribute: {@code archive}, {@code compressed}, {@code directory}, {@code
+ * encrypted}, {@code execute}, {@code hidden}, {@code immutable}, {@code journaled}, {@code
+ * read}, {@code readonly}, {@code symbolic link}, {@code system}, {@code temporary}, {@code
+ * write}.
+ */
+ public static final AttributeKey> FILE_ATTRIBUTES =
+ stringArrayKey("file.attributes");
+
+ /**
+ * Time when the file attributes or metadata was last changed, in ISO 8601 format.
+ *
+ * Notes:
+ *
+ *
{@code file.changed} captures the time when any of the file's properties or attributes
+ * (including the content) are changed, while {@code file.modified} captures the timestamp when
+ * the file content is modified.
+ */
+ public static final AttributeKey FILE_CHANGED = stringKey("file.changed");
+
+ /**
+ * Time when the file was created, in ISO 8601 format.
+ *
+ * Notes:
+ *
+ *
This attribute might not be supported by some file systems — NFS, FAT32, in embedded OS,
+ * etc.
+ */
+ public static final AttributeKey FILE_CREATED = stringKey("file.created");
+
/** Directory where the file is located. It should include the drive letter, when appropriate. */
public static final AttributeKey FILE_DIRECTORY = stringKey("file.directory");
@@ -27,9 +74,47 @@ public final class FileIncubatingAttributes {
*/
public static final AttributeKey FILE_EXTENSION = stringKey("file.extension");
+ /**
+ * Name of the fork. A fork is additional data associated with a filesystem object.
+ *
+ * Notes:
+ *
+ *
On Linux, a resource fork is used to store additional data with a filesystem object. A file
+ * always has at least one fork for the data portion, and additional forks may exist. On NTFS,
+ * this is analogous to an Alternate Data Stream (ADS), and the default data stream for a file is
+ * just called $DATA. Zone.Identifier is commonly used by Windows to track contents downloaded
+ * from the Internet. An ADS is typically of the form:
+ * C:\path\to\filename.extension:some_fork_name, and some_fork_name is the value that should
+ * populate {@code fork_name}. {@code filename.extension} should populate {@code file.name}, and
+ * {@code extension} should populate {@code file.extension}. The full path, {@code file.path},
+ * will include the fork name.
+ */
+ public static final AttributeKey FILE_FORK_NAME = stringKey("file.fork_name");
+
+ /** Primary Group ID (GID) of the file. */
+ public static final AttributeKey FILE_GROUP_ID = stringKey("file.group.id");
+
+ /** Primary group name of the file. */
+ public static final AttributeKey FILE_GROUP_NAME = stringKey("file.group.name");
+
+ /** Inode representing the file in the filesystem. */
+ public static final AttributeKey FILE_INODE = stringKey("file.inode");
+
+ /** Mode of the file in octal representation. */
+ public static final AttributeKey FILE_MODE = stringKey("file.mode");
+
+ /** Time when the file content was last modified, in ISO 8601 format. */
+ public static final AttributeKey FILE_MODIFIED = stringKey("file.modified");
+
/** Name of the file including the extension, without the directory. */
public static final AttributeKey FILE_NAME = stringKey("file.name");
+ /** The user ID (UID) or security identifier (SID) of the file owner. */
+ public static final AttributeKey FILE_OWNER_ID = stringKey("file.owner.id");
+
+ /** Username of the file owner. */
+ public static final AttributeKey FILE_OWNER_NAME = stringKey("file.owner.name");
+
/**
* Full path to the file, including the file name. It should include the drive letter, when
* appropriate.
@@ -39,6 +124,16 @@ public final class FileIncubatingAttributes {
/** File size in bytes. */
public static final AttributeKey FILE_SIZE = longKey("file.size");
+ /**
+ * Path to the target of a symbolic link.
+ *
+ * Notes:
+ *
+ *
This attribute is only applicable to symbolic links.
+ */
+ public static final AttributeKey FILE_SYMBOLIC_LINK_TARGET_PATH =
+ stringKey("file.symbolic_link.target_path");
+
// Enum definitions
private FileIncubatingAttributes() {}
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 32dead7..b08953d 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
@@ -18,15 +18,31 @@
@SuppressWarnings("unused")
public final class GenAiIncubatingAttributes {
/**
- * The full response received from the GenAI model.
+ * Deprecated, use Event API to report completions contents.
*
- * Notes:
+ *
*
- *
It's RECOMMENDED to format completions as JSON string matching OpenAI messages format
+ * @deprecated Removed, no replacement at this time.
*/
+ @Deprecated
public static final AttributeKey GEN_AI_COMPLETION = stringKey("gen_ai.completion");
+ /** The response format that is requested. */
+ public static final AttributeKey GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT =
+ stringKey("gen_ai.openai.request.response_format");
+
+ /** Requests with same seed value more likely to return same result. */
+ public static final AttributeKey GEN_AI_OPENAI_REQUEST_SEED =
+ longKey("gen_ai.openai.request.seed");
+
+ /** The service tier requested. May be a specific tier, detault, or auto. */
+ public static final AttributeKey GEN_AI_OPENAI_REQUEST_SERVICE_TIER =
+ stringKey("gen_ai.openai.request.service_tier");
+
+ /** The service tier used for the response. */
+ public static final AttributeKey GEN_AI_OPENAI_RESPONSE_SERVICE_TIER =
+ stringKey("gen_ai.openai.response.service_tier");
+
/**
* The name of the operation being performed.
*
@@ -41,14 +57,13 @@ public final class GenAiIncubatingAttributes {
stringKey("gen_ai.operation.name");
/**
- * The full prompt sent to the GenAI model.
+ * Deprecated, use Event API to report prompt contents.
*
- * Notes:
+ *
*
- *
It's RECOMMENDED to format prompts as JSON string matching OpenAI messages format
+ * @deprecated Removed, no replacement at this time.
*/
- public static final AttributeKey GEN_AI_PROMPT = stringKey("gen_ai.prompt");
+ @Deprecated public static final AttributeKey GEN_AI_PROMPT = stringKey("gen_ai.prompt");
/** The frequency penalty setting for the GenAI request. */
public static final AttributeKey GEN_AI_REQUEST_FREQUENCY_PENALTY =
@@ -144,6 +159,31 @@ public final class GenAiIncubatingAttributes {
longKey("gen_ai.usage.prompt_tokens");
// Enum definitions
+ /** Values for {@link #GEN_AI_OPENAI_REQUEST_RESPONSE_FORMAT}. */
+ public static final class GenAiOpenaiRequestResponseFormatIncubatingValues {
+ /** Text response format */
+ public static final String TEXT = "text";
+
+ /** JSON object response format */
+ public static final String JSON_OBJECT = "json_object";
+
+ /** JSON schema response format */
+ public static final String JSON_SCHEMA = "json_schema";
+
+ private GenAiOpenaiRequestResponseFormatIncubatingValues() {}
+ }
+
+ /** Values for {@link #GEN_AI_OPENAI_REQUEST_SERVICE_TIER}. */
+ public static final class GenAiOpenaiRequestServiceTierIncubatingValues {
+ /** The system will utilize scale tier credits until they are exhausted. */
+ public static final String AUTO = "auto";
+
+ /** The system will utilize the default scale tier. */
+ public static final String DEFAULT = "default";
+
+ private GenAiOpenaiRequestServiceTierIncubatingValues() {}
+ }
+
/** Values for {@link #GEN_AI_OPERATION_NAME}. */
public static final class GenAiOperationNameIncubatingValues {
/**
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 e6e2d06..a4f9e49 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
@@ -162,11 +162,11 @@ public final class HttpIncubatingAttributes {
public static final AttributeKey HTTP_REQUEST_SIZE = longKey("http.request.size");
/**
- * Deprecated, use {@code http.request.header.content-length} instead.
+ * Deprecated, use {@code http.request.header.} instead.
*
*
*
- * @deprecated Replaced by {@code http.request.header.content-length}.
+ * @deprecated Replaced by {@code http.request.header.}.
*/
@Deprecated
public static final AttributeKey HTTP_REQUEST_CONTENT_LENGTH =
@@ -234,11 +234,11 @@ public final class HttpIncubatingAttributes {
longKey("http.response.status_code");
/**
- * Deprecated, use {@code http.response.header.content-length} instead.
+ * Deprecated, use {@code http.response.header.} instead.
*
*
*
- * @deprecated Replaced by {@code http.response.header.content-length}.
+ * @deprecated Replaced by {@code http.response.header.}.
*/
@Deprecated
public static final AttributeKey HTTP_RESPONSE_CONTENT_LENGTH =
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HwIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HwIncubatingAttributes.java
new file mode 100644
index 0000000..7ee33ad
--- /dev/null
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HwIncubatingAttributes.java
@@ -0,0 +1,105 @@
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package io.opentelemetry.semconv.incubating;
+
+import static io.opentelemetry.api.common.AttributeKey.stringKey;
+
+import io.opentelemetry.api.common.AttributeKey;
+
+// DO NOT EDIT, this is an Auto-generated file from
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
+@SuppressWarnings("unused")
+public final class HwIncubatingAttributes {
+ /** An identifier for the hardware component, unique within the monitored host */
+ public static final AttributeKey HW_ID = stringKey("hw.id");
+
+ /** An easily-recognizable name for the hardware component */
+ public static final AttributeKey HW_NAME = stringKey("hw.name");
+
+ /**
+ * Unique identifier of the parent component (typically the {@code hw.id} attribute of the
+ * enclosure, or disk controller)
+ */
+ public static final AttributeKey HW_PARENT = stringKey("hw.parent");
+
+ /** The current state of the component */
+ public static final AttributeKey HW_STATE = stringKey("hw.state");
+
+ /**
+ * Type of the component
+ *
+ * Notes:
+ *
+ *
Describes the category of the hardware component for which {@code hw.state} is being
+ * reported. For example, {@code hw.type=temperature} along with {@code hw.state=degraded} would
+ * indicate that the temperature of the hardware component has been reported as {@code degraded}.
+ */
+ public static final AttributeKey HW_TYPE = stringKey("hw.type");
+
+ // Enum definitions
+ /** Values for {@link #HW_STATE}. */
+ public static final class HwStateIncubatingValues {
+ /** Ok */
+ public static final String OK = "ok";
+
+ /** Degraded */
+ public static final String DEGRADED = "degraded";
+
+ /** Failed */
+ public static final String FAILED = "failed";
+
+ private HwStateIncubatingValues() {}
+ }
+
+ /** Values for {@link #HW_TYPE}. */
+ public static final class HwTypeIncubatingValues {
+ /** Battery */
+ public static final String BATTERY = "battery";
+
+ /** CPU */
+ public static final String CPU = "cpu";
+
+ /** Disk controller */
+ public static final String DISK_CONTROLLER = "disk_controller";
+
+ /** Enclosure */
+ public static final String ENCLOSURE = "enclosure";
+
+ /** Fan */
+ public static final String FAN = "fan";
+
+ /** GPU */
+ public static final String GPU = "gpu";
+
+ /** Logical disk */
+ public static final String LOGICAL_DISK = "logical_disk";
+
+ /** Memory */
+ public static final String MEMORY = "memory";
+
+ /** Network */
+ public static final String NETWORK = "network";
+
+ /** Physical disk */
+ public static final String PHYSICAL_DISK = "physical_disk";
+
+ /** Power supply */
+ public static final String POWER_SUPPLY = "power_supply";
+
+ /** Tape drive */
+ public static final String TAPE_DRIVE = "tape_drive";
+
+ /** Temperature */
+ public static final String TEMPERATURE = "temperature";
+
+ /** Voltage */
+ public static final String VOLTAGE = "voltage";
+
+ private HwTypeIncubatingValues() {}
+ }
+
+ private HwIncubatingAttributes() {}
+}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingAttributes.java
index 87898cc..4c79aad 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingAttributes.java
@@ -143,7 +143,57 @@ public final class K8sIncubatingAttributes {
/** The UID of the StatefulSet. */
public static final AttributeKey K8S_STATEFULSET_UID = stringKey("k8s.statefulset.uid");
+ /** The name of the K8s volume. */
+ public static final AttributeKey K8S_VOLUME_NAME = stringKey("k8s.volume.name");
+
+ /** The type of the K8s volume. */
+ public static final AttributeKey K8S_VOLUME_TYPE = stringKey("k8s.volume.type");
+
// Enum definitions
+ /** Values for {@link #K8S_VOLUME_TYPE}. */
+ public static final class K8sVolumeTypeIncubatingValues {
+ /**
+ * A persistentVolumeClaim
+ * volume
+ */
+ public static final String PERSISTENT_VOLUME_CLAIM = "persistentVolumeClaim";
+
+ /**
+ * A configMap
+ * volume
+ */
+ public static final String CONFIG_MAP = "configMap";
+
+ /**
+ * A downwardAPI
+ * volume
+ */
+ public static final String DOWNWARD_API = "downwardAPI";
+
+ /**
+ * An emptyDir
+ * volume
+ */
+ public static final String EMPTY_DIR = "emptyDir";
+
+ /**
+ * A secret
+ * volume
+ */
+ public static final String SECRET = "secret";
+
+ /**
+ * A local
+ * volume
+ */
+ public static final String LOCAL = "local";
+
+ private K8sVolumeTypeIncubatingValues() {}
+ }
private K8sIncubatingAttributes() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LogIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LogIncubatingAttributes.java
index e2ec125..bd79984 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LogIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LogIncubatingAttributes.java
@@ -31,7 +31,7 @@ public final class LogIncubatingAttributes {
public static final AttributeKey LOG_IOSTREAM = stringKey("log.iostream");
/**
- * The complete orignal Log Record.
+ * The complete original Log Record.
*
* Notes:
*
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingAttributes.java
index 40b9af4..ad9db4a 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingAttributes.java
@@ -327,11 +327,11 @@ public final class MessagingIncubatingAttributes {
stringKey("messaging.rocketmq.namespace");
/**
- * Deprecated, use {@code messaging.servicebus.destination.subscription_name} instead.
+ * Deprecated, use {@code messaging.destination.subscription.name} instead.
*
*
*
- * @deprecated Replaced by {@code messaging.servicebus.destination.subscription_name}.
+ * @deprecated Replaced by {@code messaging.destination.subscription.name}.
*/
@Deprecated
public static final AttributeKey MESSAGING_SERVICEBUS_DESTINATION_SUBSCRIPTION_NAME =
@@ -368,17 +368,17 @@ public final class MessagingIncubatingAttributes {
/** Values for {@link #MESSAGING_OPERATION_TYPE}. */
public static final class MessagingOperationTypeIncubatingValues {
/**
- * One or more messages are provided for publishing to an intermediary. If a single message is
- * published, the context of the "Publish" span can be used as the creation context and no
- * "Create" span needs to be created.
+ * A message is created. "Create" spans always refer to a single message and are used to provide
+ * a unique creation context for messages in batch sending scenarios.
*/
- public static final String PUBLISH = "publish";
+ public static final String CREATE = "create";
/**
- * A message is created. "Create" spans always refer to a single message and are used to provide
- * a unique creation context for messages in batch publishing scenarios.
+ * One or more messages are provided for sending to an intermediary. If a single message is
+ * sent, the context of the "Send" span can be used as the creation context and no "Create" span
+ * needs to be created.
*/
- public static final String CREATE = "create";
+ public static final String SEND = "send";
/**
* One or more messages are requested by a consumer. This operation refers to pull-based
@@ -395,6 +395,9 @@ public static final class MessagingOperationTypeIncubatingValues {
/** Deprecated. Use {@code process} instead. */
public static final String DELIVER = "deliver";
+ /** Deprecated. Use {@code send} instead. */
+ public static final String PUBLISH = "publish";
+
private MessagingOperationTypeIncubatingValues() {}
}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NodejsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NodejsIncubatingAttributes.java
new file mode 100644
index 0000000..026c746
--- /dev/null
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NodejsIncubatingAttributes.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package io.opentelemetry.semconv.incubating;
+
+import static io.opentelemetry.api.common.AttributeKey.stringKey;
+
+import io.opentelemetry.api.common.AttributeKey;
+
+// DO NOT EDIT, this is an Auto-generated file from
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
+@SuppressWarnings("unused")
+public final class NodejsIncubatingAttributes {
+ /** The state of event loop time. */
+ public static final AttributeKey NODEJS_EVENTLOOP_STATE =
+ stringKey("nodejs.eventloop.state");
+
+ // Enum definitions
+ /** Values for {@link #NODEJS_EVENTLOOP_STATE}. */
+ public static final class NodejsEventloopStateIncubatingValues {
+ /** Active time. */
+ public static final String ACTIVE = "active";
+
+ /** Idle time. */
+ public static final String IDLE = "idle";
+
+ private NodejsEventloopStateIncubatingValues() {}
+ }
+
+ private NodejsIncubatingAttributes() {}
+}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingAttributes.java
index 071b0d8..7b34764 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingAttributes.java
@@ -14,13 +14,21 @@
@SuppressWarnings("unused")
public final class OtelIncubatingAttributes {
/**
- * @deprecated use the {@code otel.scope.name} attribute.
+ * Deprecated. Use the {@code otel.scope.name} attribute
+ *
+ *
+ *
+ * @deprecated Use the {@code otel.scope.name} attribute.
*/
@Deprecated
public static final AttributeKey OTEL_LIBRARY_NAME = stringKey("otel.library.name");
/**
- * @deprecated use the {@code otel.scope.version} attribute.
+ * Deprecated. Use the {@code otel.scope.version} attribute.
+ *
+ *
+ *
+ * @deprecated Use the {@code otel.scope.version} attribute.
*/
@Deprecated
public static final AttributeKey OTEL_LIBRARY_VERSION = stringKey("otel.library.version");
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingAttributes.java
index 240315f..63c9588 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingAttributes.java
@@ -17,6 +17,16 @@
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class ProcessIncubatingAttributes {
+ /**
+ * Length of the process.command_args array
+ *
+ * Notes:
+ *
+ *
This field can be useful for querying or performing bucket analysis on how many arguments
+ * were provided to start a process. More arguments may be an indication of suspicious activity.
+ */
+ public static final AttributeKey PROCESS_ARGS_COUNT = longKey("process.args_count");
+
/**
* The command used to launch the process (i.e. the command name). On Linux based systems, can be
* set to the zeroth string in {@code proc/[pid]/cmdline}. On Windows, can be set to the first
@@ -58,6 +68,21 @@ public final class ProcessIncubatingAttributes {
public static final AttributeKey PROCESS_CREATION_TIME =
stringKey("process.creation.time");
+ /** The GNU build ID as found in the {@code .note.gnu.build-id} ELF section (hex string). */
+ public static final AttributeKey PROCESS_EXECUTABLE_BUILD_ID_GNU =
+ stringKey("process.executable.build_id.gnu");
+
+ /** The Go build ID as retrieved by {@code go tool buildid }. */
+ public static final AttributeKey PROCESS_EXECUTABLE_BUILD_ID_GO =
+ stringKey("process.executable.build_id.go");
+
+ /**
+ * Profiling specific build ID for executables. See the OTel specification for Profiles for more
+ * information.
+ */
+ public static final AttributeKey PROCESS_EXECUTABLE_BUILD_ID_PROFILING =
+ stringKey("process.executable.build_id.profiling");
+
/**
* The name of the process executable. On Linux based systems, can be set to the {@code Name} in
* {@code proc/[pid]/status}. On Windows, can be set to the base name of {@code
@@ -139,6 +164,17 @@ public final class ProcessIncubatingAttributes {
public static final AttributeKey PROCESS_SESSION_LEADER_PID =
longKey("process.session_leader.pid");
+ /**
+ * Process title (proctitle)
+ *
+ * Notes:
+ *
+ *
In many Unix-like systems, process title (proctitle), is the string that represents the name
+ * or command line of a running process, displayed by system monitoring tools like ps, top, and
+ * htop.
+ */
+ public static final AttributeKey PROCESS_TITLE = stringKey("process.title");
+
/** The effective user ID (EUID) of the process. */
public static final AttributeKey PROCESS_USER_ID = longKey("process.user.id");
@@ -155,6 +191,10 @@ public final class ProcessIncubatingAttributes {
*/
public static final AttributeKey PROCESS_VPID = longKey("process.vpid");
+ /** The working directory of the process. */
+ public static final AttributeKey PROCESS_WORKING_DIRECTORY =
+ stringKey("process.working_directory");
+
// Enum definitions
/** Values for {@link #PROCESS_CONTEXT_SWITCH_TYPE}. */
public static final class ProcessContextSwitchTypeIncubatingValues {
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProfileIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProfileIncubatingAttributes.java
new file mode 100644
index 0000000..320ad14
--- /dev/null
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProfileIncubatingAttributes.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package io.opentelemetry.semconv.incubating;
+
+import static io.opentelemetry.api.common.AttributeKey.stringKey;
+
+import io.opentelemetry.api.common.AttributeKey;
+
+// DO NOT EDIT, this is an Auto-generated file from
+// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
+@SuppressWarnings("unused")
+public final class ProfileIncubatingAttributes {
+ /** Describes the interpreter or compiler of a single frame. */
+ public static final AttributeKey PROFILE_FRAME_TYPE = stringKey("profile.frame.type");
+
+ // Enum definitions
+ /** Values for {@link #PROFILE_FRAME_TYPE}. */
+ public static final class ProfileFrameTypeIncubatingValues {
+ /** .NET */
+ public static final String DOTNET = "dotnet";
+
+ /** JVM */
+ public static final String JVM = "jvm";
+
+ /** Kernel */
+ public static final String KERNEL = "kernel";
+
+ /**
+ * C, C++, Go, Rust
+ */
+ public static final String NATIVE = "native";
+
+ /** Perl */
+ public static final String PERL = "perl";
+
+ /** PHP */
+ public static final String PHP = "php";
+
+ /** Python */
+ public static final String CPYTHON = "cpython";
+
+ /** Ruby */
+ public static final String RUBY = "ruby";
+
+ /** V8JS */
+ public static final String V8JS = "v8js";
+
+ private ProfileFrameTypeIncubatingValues() {}
+ }
+
+ private ProfileIncubatingAttributes() {}
+}
diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TlsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TlsIncubatingAttributes.java
index 7a3f255..25611ee 100644
--- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TlsIncubatingAttributes.java
+++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TlsIncubatingAttributes.java
@@ -88,7 +88,7 @@ public final class TlsIncubatingAttributes {
*
*
*
- * @deprecated Replaced by `server.address.
+ * @deprecated Replaced by {@code server.address}.
*/
@Deprecated
public static final AttributeKey TLS_CLIENT_SERVER_NAME =
diff --git a/semconv/src/main/java/io/opentelemetry/semconv/SchemaUrls.java b/semconv/src/main/java/io/opentelemetry/semconv/SchemaUrls.java
index a3c9a4c..70d5358 100644
--- a/semconv/src/main/java/io/opentelemetry/semconv/SchemaUrls.java
+++ b/semconv/src/main/java/io/opentelemetry/semconv/SchemaUrls.java
@@ -7,6 +7,7 @@
public final class SchemaUrls {
+ public static final String V1_28_0 = "https://opentelemetry.io/schemas/1.28.0";
public static final String V1_27_0 = "https://opentelemetry.io/schemas/1.27.0";
public static final String V1_26_0 = "https://opentelemetry.io/schemas/1.26.0";
public static final String V1_25_0 = "https://opentelemetry.io/schemas/1.25.0";