From dd1d40c6be372bc73e203307d4a02c24c5ce89f2 Mon Sep 17 00:00:00 2001 From: jack-berg <34418638+jack-berg@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:14:51 -0500 Subject: [PATCH] Include Incubating prefix on enum inner class names (#83) * Include Incubating prefix on enum inner class names * Restore behavior using weaver --- .../IncubatingSemanticAttributes.java.j2 | 6 +-- .../AndroidIncubatingAttributes.java | 4 +- .../incubating/AwsIncubatingAttributes.java | 4 +- .../incubating/CicdIncubatingAttributes.java | 4 +- .../incubating/CloudIncubatingAttributes.java | 8 ++-- .../ContainerIncubatingAttributes.java | 4 +- .../incubating/CpuIncubatingAttributes.java | 4 +- .../incubating/DbIncubatingAttributes.java | 24 +++++------ .../DeploymentIncubatingAttributes.java | 4 +- .../incubating/DiskIncubatingAttributes.java | 4 +- .../incubating/ErrorIncubatingAttributes.java | 4 +- .../incubating/FaasIncubatingAttributes.java | 12 +++--- .../incubating/GenAiIncubatingAttributes.java | 12 +++--- .../incubating/GoIncubatingAttributes.java | 4 +- .../GraphqlIncubatingAttributes.java | 4 +- .../incubating/HostIncubatingAttributes.java | 4 +- .../incubating/HttpIncubatingAttributes.java | 12 +++--- .../incubating/JvmIncubatingAttributes.java | 8 ++-- .../incubating/LinuxIncubatingAttributes.java | 4 +- .../incubating/LogIncubatingAttributes.java | 4 +- .../MessageIncubatingAttributes.java | 4 +- .../MessagingIncubatingAttributes.java | 20 +++++----- .../incubating/NetIncubatingAttributes.java | 8 ++-- .../NetworkIncubatingAttributes.java | 20 +++++----- .../OpentracingIncubatingAttributes.java | 4 +- .../incubating/OsIncubatingAttributes.java | 4 +- .../incubating/OtelIncubatingAttributes.java | 4 +- .../incubating/OtherIncubatingAttributes.java | 4 +- .../ProcessIncubatingAttributes.java | 12 +++--- .../incubating/RpcIncubatingAttributes.java | 16 ++++---- .../SystemIncubatingAttributes.java | 40 +++++++++---------- .../TelemetryIncubatingAttributes.java | 4 +- .../incubating/TestIncubatingAttributes.java | 8 ++-- .../incubating/TlsIncubatingAttributes.java | 4 +- .../incubating/V8jsIncubatingAttributes.java | 8 ++-- .../incubating/VcsIncubatingAttributes.java | 4 +- 36 files changed, 149 insertions(+), 149 deletions(-) diff --git a/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 b/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 index 3199389..ce0bef4 100644 --- a/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 +++ b/buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2 @@ -63,14 +63,14 @@ public final class {{ my_class_name }} { /** Values for {@link #{{ attribute.name | screaming_snake_case }}}. */ {%- endif -%} {% if attribute is stable or attribute is deprecated %}@Deprecated{% endif %} - public static final class {{ attribute.name | pascal_case }}Values { + public static final class {{ attribute.name | pascal_case }}IncubatingValues { {%- for member in attribute.type.members %} {{ [member.brief or (member.id ~ '.')] | comment(indent=4) }} public static final {{ attribute.type | instantiated_type | map_text("java_enum_type") }} {{ member.id | screaming_snake_case }} = {{ member.value | print_member_value }}; {%- endfor %} - private {{ attribute.name | pascal_case }}Values() {} + private {{ attribute.name | pascal_case }}IncubatingValues() {} } {% endfor %} private {{ my_class_name }}() {} -} \ No newline at end of file +} 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 4ef5a11..c7a2371 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 @@ -34,7 +34,7 @@ public final class AndroidIncubatingAttributes { // Enum definitions /** Values for {@link #ANDROID_STATE}. */ - public static final class AndroidStateValues { + public static final class AndroidStateIncubatingValues { /** * Any time before Activity.onResume() or, if the app has no Activity, Context.startService() * has been called in the app for the first time. @@ -53,7 +53,7 @@ public static final class AndroidStateValues { */ public static final String FOREGROUND = "foreground"; - private AndroidStateValues() {} + private AndroidStateIncubatingValues() {} } private AndroidIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AwsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AwsIncubatingAttributes.java index aecf5af..a2431f3 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AwsIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AwsIncubatingAttributes.java @@ -345,14 +345,14 @@ public final class AwsIncubatingAttributes { // Enum definitions /** Values for {@link #AWS_ECS_LAUNCHTYPE}. */ - public static final class AwsEcsLaunchtypeValues { + public static final class AwsEcsLaunchtypeIncubatingValues { /** ec2. */ public static final String EC2 = "ec2"; /** fargate. */ public static final String FARGATE = "fargate"; - private AwsEcsLaunchtypeValues() {} + private AwsEcsLaunchtypeIncubatingValues() {} } private AwsIncubatingAttributes() {} 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 7be0976..d008457 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 @@ -44,7 +44,7 @@ public final class CicdIncubatingAttributes { // Enum definitions /** Values for {@link #CICD_PIPELINE_TASK_TYPE}. */ - public static final class CicdPipelineTaskTypeValues { + public static final class CicdPipelineTaskTypeIncubatingValues { /** build */ public static final String BUILD = "build"; @@ -54,7 +54,7 @@ public static final class CicdPipelineTaskTypeValues { /** deploy */ public static final String DEPLOY = "deploy"; - private CicdPipelineTaskTypeValues() {} + private CicdPipelineTaskTypeIncubatingValues() {} } private CicdIncubatingAttributes() {} 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 bbdc7dc..b48e34a 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 @@ -93,7 +93,7 @@ public final class CloudIncubatingAttributes { // Enum definitions /** Values for {@link #CLOUD_PLATFORM}. */ - public static final class CloudPlatformValues { + public static final class CloudPlatformIncubatingValues { /** Alibaba Cloud Elastic Compute Service */ public static final String ALIBABA_CLOUD_ECS = "alibaba_cloud_ecs"; @@ -178,11 +178,11 @@ public static final class CloudPlatformValues { /** Tencent Cloud Serverless Cloud Function (SCF) */ public static final String TENCENT_CLOUD_SCF = "tencent_cloud_scf"; - private CloudPlatformValues() {} + private CloudPlatformIncubatingValues() {} } /** Values for {@link #CLOUD_PROVIDER}. */ - public static final class CloudProviderValues { + public static final class CloudProviderIncubatingValues { /** Alibaba Cloud */ public static final String ALIBABA_CLOUD = "alibaba_cloud"; @@ -204,7 +204,7 @@ public static final class CloudProviderValues { /** Tencent Cloud */ public static final String TENCENT_CLOUD = "tencent_cloud"; - private CloudProviderValues() {} + private CloudProviderIncubatingValues() {} } private CloudIncubatingAttributes() {} 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 b622743..0402e01 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 @@ -125,7 +125,7 @@ public final class ContainerIncubatingAttributes { * @deprecated Replaced by {@code cpu.mode} */ @Deprecated - public static final class ContainerCpuStateValues { + public static final class ContainerCpuStateIncubatingValues { /** * When tasks of the cgroup are in user mode (Linux). When all container processes are in user * mode (Windows). @@ -141,7 +141,7 @@ public static final class ContainerCpuStateValues { */ public static final String KERNEL = "kernel"; - private ContainerCpuStateValues() {} + private ContainerCpuStateIncubatingValues() {} } private ContainerIncubatingAttributes() {} 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 d667dbe..88a7c56 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 @@ -18,7 +18,7 @@ public final class CpuIncubatingAttributes { // Enum definitions /** Values for {@link #CPU_MODE}. */ - public static final class CpuModeValues { + public static final class CpuModeIncubatingValues { /** user. */ public static final String USER = "user"; @@ -43,7 +43,7 @@ public static final class CpuModeValues { /** kernel. */ public static final String KERNEL = "kernel"; - private CpuModeValues() {} + private CpuModeIncubatingValues() {} } private CpuIncubatingAttributes() {} 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 62ecc74..c0cff40 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 @@ -372,7 +372,7 @@ public final class DbIncubatingAttributes { // Enum definitions /** Values for {@link #DB_CASSANDRA_CONSISTENCY_LEVEL}. */ - public static final class DbCassandraConsistencyLevelValues { + public static final class DbCassandraConsistencyLevelIncubatingValues { /** all. */ public static final String ALL = "all"; @@ -406,18 +406,18 @@ public static final class DbCassandraConsistencyLevelValues { /** local_serial. */ public static final String LOCAL_SERIAL = "local_serial"; - private DbCassandraConsistencyLevelValues() {} + private DbCassandraConsistencyLevelIncubatingValues() {} } /** Values for {@link #DB_CLIENT_CONNECTION_STATE}. */ - public static final class DbClientConnectionStateValues { + public static final class DbClientConnectionStateIncubatingValues { /** idle. */ public static final String IDLE = "idle"; /** used. */ public static final String USED = "used"; - private DbClientConnectionStateValues() {} + private DbClientConnectionStateIncubatingValues() {} } /** @@ -426,29 +426,29 @@ private DbClientConnectionStateValues() {} * @deprecated Replaced by {@code db.client.connection.state}. */ @Deprecated - public static final class DbClientConnectionsStateValues { + public static final class DbClientConnectionsStateIncubatingValues { /** idle. */ public static final String IDLE = "idle"; /** used. */ public static final String USED = "used"; - private DbClientConnectionsStateValues() {} + private DbClientConnectionsStateIncubatingValues() {} } /** Values for {@link #DB_COSMOSDB_CONNECTION_MODE}. */ - public static final class DbCosmosdbConnectionModeValues { + public static final class DbCosmosdbConnectionModeIncubatingValues { /** Gateway (HTTP) connections mode */ public static final String GATEWAY = "gateway"; /** Direct connection. */ public static final String DIRECT = "direct"; - private DbCosmosdbConnectionModeValues() {} + private DbCosmosdbConnectionModeIncubatingValues() {} } /** Values for {@link #DB_COSMOSDB_OPERATION_TYPE}. */ - public static final class DbCosmosdbOperationTypeValues { + public static final class DbCosmosdbOperationTypeIncubatingValues { /** invalid. */ public static final String INVALID = "Invalid"; @@ -494,11 +494,11 @@ public static final class DbCosmosdbOperationTypeValues { /** execute_javascript. */ public static final String EXECUTE_JAVASCRIPT = "ExecuteJavaScript"; - private DbCosmosdbOperationTypeValues() {} + private DbCosmosdbOperationTypeIncubatingValues() {} } /** Values for {@link #DB_SYSTEM}. */ - public static final class DbSystemValues { + public static final class DbSystemIncubatingValues { /** Some other SQL database. Fallback only. See notes. */ public static final String OTHER_SQL = "other_sql"; @@ -661,7 +661,7 @@ public static final class DbSystemValues { /** Vertica */ public static final String VERTICA = "vertica"; - private DbSystemValues() {} + private DbSystemIncubatingValues() {} } private DbIncubatingAttributes() {} 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 bec65df..c26d19c 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 @@ -56,14 +56,14 @@ public final class DeploymentIncubatingAttributes { // Enum definitions /** Values for {@link #DEPLOYMENT_STATUS}. */ - public static final class DeploymentStatusValues { + public static final class DeploymentStatusIncubatingValues { /** failed */ public static final String FAILED = "failed"; /** succeeded */ public static final String SUCCEEDED = "succeeded"; - private DeploymentStatusValues() {} + private DeploymentStatusIncubatingValues() {} } private DeploymentIncubatingAttributes() {} 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 eb9e3f0..c95cbd8 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 @@ -18,14 +18,14 @@ public final class DiskIncubatingAttributes { // Enum definitions /** Values for {@link #DISK_IO_DIRECTION}. */ - public static final class DiskIoDirectionValues { + public static final class DiskIoDirectionIncubatingValues { /** read. */ public static final String READ = "read"; /** write. */ public static final String WRITE = "write"; - private DiskIoDirectionValues() {} + private DiskIoDirectionIncubatingValues() {} } private DiskIncubatingAttributes() {} 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 5400bc2..035efec 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 @@ -57,11 +57,11 @@ public final class ErrorIncubatingAttributes { * io.opentelemetry.semconv.ErrorAttributes.ErrorTypeValues}. */ @Deprecated - public static final class ErrorTypeValues { + public static final class ErrorTypeIncubatingValues { /** A fallback error value to be used when the instrumentation doesn't define a custom value. */ public static final String OTHER = "_OTHER"; - private ErrorTypeValues() {} + private ErrorTypeIncubatingValues() {} } private ErrorIncubatingAttributes() {} 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 5ea5f93..2c6978b 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 @@ -171,7 +171,7 @@ public final class FaasIncubatingAttributes { // Enum definitions /** Values for {@link #FAAS_DOCUMENT_OPERATION}. */ - public static final class FaasDocumentOperationValues { + public static final class FaasDocumentOperationIncubatingValues { /** When a new object is created. */ public static final String INSERT = "insert"; @@ -181,11 +181,11 @@ public static final class FaasDocumentOperationValues { /** When an object is deleted. */ public static final String DELETE = "delete"; - private FaasDocumentOperationValues() {} + private FaasDocumentOperationIncubatingValues() {} } /** Values for {@link #FAAS_INVOKED_PROVIDER}. */ - public static final class FaasInvokedProviderValues { + public static final class FaasInvokedProviderIncubatingValues { /** Alibaba Cloud */ public static final String ALIBABA_CLOUD = "alibaba_cloud"; @@ -201,11 +201,11 @@ public static final class FaasInvokedProviderValues { /** Tencent Cloud */ public static final String TENCENT_CLOUD = "tencent_cloud"; - private FaasInvokedProviderValues() {} + private FaasInvokedProviderIncubatingValues() {} } /** Values for {@link #FAAS_TRIGGER}. */ - public static final class FaasTriggerValues { + public static final class FaasTriggerIncubatingValues { /** A response to some data source operation such as a database or filesystem read/write */ public static final String DATASOURCE = "datasource"; @@ -221,7 +221,7 @@ public static final class FaasTriggerValues { /** If none of the others apply */ public static final String OTHER = "other"; - private FaasTriggerValues() {} + private FaasTriggerIncubatingValues() {} } private FaasIncubatingAttributes() {} 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 e52a1e4..32dead7 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 @@ -145,7 +145,7 @@ public final class GenAiIncubatingAttributes { // Enum definitions /** Values for {@link #GEN_AI_OPERATION_NAME}. */ - public static final class GenAiOperationNameValues { + public static final class GenAiOperationNameIncubatingValues { /** * Chat completion operation such as OpenAI Chat API @@ -159,11 +159,11 @@ public static final class GenAiOperationNameValues { */ public static final String TEXT_COMPLETION = "text_completion"; - private GenAiOperationNameValues() {} + private GenAiOperationNameIncubatingValues() {} } /** Values for {@link #GEN_AI_SYSTEM}. */ - public static final class GenAiSystemValues { + public static final class GenAiSystemIncubatingValues { /** OpenAI */ public static final String OPENAI = "openai"; @@ -176,18 +176,18 @@ public static final class GenAiSystemValues { /** Cohere */ public static final String COHERE = "cohere"; - private GenAiSystemValues() {} + private GenAiSystemIncubatingValues() {} } /** Values for {@link #GEN_AI_TOKEN_TYPE}. */ - public static final class GenAiTokenTypeValues { + public static final class GenAiTokenTypeIncubatingValues { /** Input tokens (prompt, input, etc.) */ public static final String INPUT = "input"; /** Output tokens (completion, response, etc.) */ public static final String COMPLETION = "output"; - private GenAiTokenTypeValues() {} + private GenAiTokenTypeIncubatingValues() {} } private GenAiIncubatingAttributes() {} 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 b38e12f..0fd7938 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 @@ -18,7 +18,7 @@ public final class GoIncubatingAttributes { // Enum definitions /** Values for {@link #GO_MEMORY_TYPE}. */ - public static final class GoMemoryTypeValues { + public static final class GoMemoryTypeIncubatingValues { /** * Memory allocated from the heap that is reserved for stack space, whether or not it is * currently in-use. @@ -31,7 +31,7 @@ public static final class GoMemoryTypeValues { */ public static final String OTHER = "other"; - private GoMemoryTypeValues() {} + private GoMemoryTypeIncubatingValues() {} } private GoIncubatingAttributes() {} 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 8e075ce..42df322 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 @@ -32,7 +32,7 @@ public final class GraphqlIncubatingAttributes { // Enum definitions /** Values for {@link #GRAPHQL_OPERATION_TYPE}. */ - public static final class GraphqlOperationTypeValues { + public static final class GraphqlOperationTypeIncubatingValues { /** GraphQL query */ public static final String QUERY = "query"; @@ -42,7 +42,7 @@ public static final class GraphqlOperationTypeValues { /** GraphQL subscription */ public static final String SUBSCRIPTION = "subscription"; - private GraphqlOperationTypeValues() {} + private GraphqlOperationTypeIncubatingValues() {} } private GraphqlIncubatingAttributes() {} 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 1ff665b..41cb606 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 @@ -100,7 +100,7 @@ public final class HostIncubatingAttributes { // Enum definitions /** Values for {@link #HOST_ARCH}. */ - public static final class HostArchValues { + public static final class HostArchIncubatingValues { /** AMD64 */ public static final String AMD64 = "amd64"; @@ -125,7 +125,7 @@ public static final class HostArchValues { /** 32-bit x86 */ public static final String X86 = "x86"; - private HostArchValues() {} + private HostArchIncubatingValues() {} } private HostIncubatingAttributes() {} 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 7a141e1..e6e2d06 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 @@ -331,14 +331,14 @@ public final class HttpIncubatingAttributes { // Enum definitions /** Values for {@link #HTTP_CONNECTION_STATE}. */ - public static final class HttpConnectionStateValues { + public static final class HttpConnectionStateIncubatingValues { /** active state. */ public static final String ACTIVE = "active"; /** idle state. */ public static final String IDLE = "idle"; - private HttpConnectionStateValues() {} + private HttpConnectionStateIncubatingValues() {} } /** @@ -347,7 +347,7 @@ private HttpConnectionStateValues() {} * @deprecated Replaced by {@code network.protocol.name}. */ @Deprecated - public static final class HttpFlavorValues { + public static final class HttpFlavorIncubatingValues { /** HTTP/1.0 */ public static final String HTTP_1_0 = "1.0"; @@ -366,7 +366,7 @@ public static final class HttpFlavorValues { /** QUIC protocol. */ public static final String QUIC = "QUIC"; - private HttpFlavorValues() {} + private HttpFlavorIncubatingValues() {} } /** @@ -376,7 +376,7 @@ private HttpFlavorValues() {} * io.opentelemetry.semconv.HttpAttributes.HttpRequestMethodValues}. */ @Deprecated - public static final class HttpRequestMethodValues { + public static final class HttpRequestMethodIncubatingValues { /** CONNECT method. */ public static final String CONNECT = "CONNECT"; @@ -407,7 +407,7 @@ public static final class HttpRequestMethodValues { /** Any HTTP method that the instrumentation has no prior knowledge of. */ public static final String OTHER = "_OTHER"; - private HttpRequestMethodValues() {} + private HttpRequestMethodIncubatingValues() {} } private HttpIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingAttributes.java index 365fc94..06ff6e4 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingAttributes.java @@ -111,14 +111,14 @@ public final class JvmIncubatingAttributes { * io.opentelemetry.semconv.JvmAttributes.JvmMemoryTypeValues}. */ @Deprecated - public static final class JvmMemoryTypeValues { + public static final class JvmMemoryTypeIncubatingValues { /** Heap memory. */ public static final String HEAP = "heap"; /** Non-heap memory */ public static final String NON_HEAP = "non_heap"; - private JvmMemoryTypeValues() {} + private JvmMemoryTypeIncubatingValues() {} } /** @@ -128,7 +128,7 @@ private JvmMemoryTypeValues() {} * io.opentelemetry.semconv.JvmAttributes.JvmThreadStateValues}. */ @Deprecated - public static final class JvmThreadStateValues { + public static final class JvmThreadStateIncubatingValues { /** A thread that has not yet started is in this state. */ public static final String NEW = "new"; @@ -153,7 +153,7 @@ public static final class JvmThreadStateValues { /** A thread that has exited is in this state. */ public static final String TERMINATED = "terminated"; - private JvmThreadStateValues() {} + private JvmThreadStateIncubatingValues() {} } private JvmIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LinuxIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LinuxIncubatingAttributes.java index 0ba4e05..8cbd88d 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LinuxIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/LinuxIncubatingAttributes.java @@ -19,14 +19,14 @@ public final class LinuxIncubatingAttributes { // Enum definitions /** Values for {@link #LINUX_MEMORY_SLAB_STATE}. */ - public static final class LinuxMemorySlabStateValues { + public static final class LinuxMemorySlabStateIncubatingValues { /** reclaimable. */ public static final String RECLAIMABLE = "reclaimable"; /** unreclaimable. */ public static final String UNRECLAIMABLE = "unreclaimable"; - private LinuxMemorySlabStateValues() {} + private LinuxMemorySlabStateIncubatingValues() {} } private LinuxIncubatingAttributes() {} 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 6a75ecf..e2ec125 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 @@ -56,14 +56,14 @@ public final class LogIncubatingAttributes { // Enum definitions /** Values for {@link #LOG_IOSTREAM}. */ - public static final class LogIostreamValues { + public static final class LogIostreamIncubatingValues { /** Logs from stdout stream */ public static final String STDOUT = "stdout"; /** Events from stderr stream */ public static final String STDERR = "stderr"; - private LogIostreamValues() {} + private LogIostreamIncubatingValues() {} } private LogIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessageIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessageIncubatingAttributes.java index 06d8e75..9e341cd 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessageIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessageIncubatingAttributes.java @@ -61,14 +61,14 @@ public final class MessageIncubatingAttributes { * @deprecated Replaced by {@code rpc.message.type}. */ @Deprecated - public static final class MessageTypeValues { + public static final class MessageTypeIncubatingValues { /** sent. */ public static final String SENT = "SENT"; /** received. */ public static final String RECEIVED = "RECEIVED"; - private MessageTypeValues() {} + private MessageTypeIncubatingValues() {} } private MessageIncubatingAttributes() {} 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 15a78f2..40b9af4 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 @@ -366,7 +366,7 @@ public final class MessagingIncubatingAttributes { // Enum definitions /** Values for {@link #MESSAGING_OPERATION_TYPE}. */ - public static final class MessagingOperationTypeValues { + 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 @@ -395,22 +395,22 @@ public static final class MessagingOperationTypeValues { /** Deprecated. Use {@code process} instead. */ public static final String DELIVER = "deliver"; - private MessagingOperationTypeValues() {} + private MessagingOperationTypeIncubatingValues() {} } /** Values for {@link #MESSAGING_ROCKETMQ_CONSUMPTION_MODEL}. */ - public static final class MessagingRocketmqConsumptionModelValues { + public static final class MessagingRocketmqConsumptionModelIncubatingValues { /** Clustering consumption model */ public static final String CLUSTERING = "clustering"; /** Broadcasting consumption model */ public static final String BROADCASTING = "broadcasting"; - private MessagingRocketmqConsumptionModelValues() {} + private MessagingRocketmqConsumptionModelIncubatingValues() {} } /** Values for {@link #MESSAGING_ROCKETMQ_MESSAGE_TYPE}. */ - public static final class MessagingRocketmqMessageTypeValues { + public static final class MessagingRocketmqMessageTypeIncubatingValues { /** Normal message */ public static final String NORMAL = "normal"; @@ -423,11 +423,11 @@ public static final class MessagingRocketmqMessageTypeValues { /** Transaction message */ public static final String TRANSACTION = "transaction"; - private MessagingRocketmqMessageTypeValues() {} + private MessagingRocketmqMessageTypeIncubatingValues() {} } /** Values for {@link #MESSAGING_SERVICEBUS_DISPOSITION_STATUS}. */ - public static final class MessagingServicebusDispositionStatusValues { + public static final class MessagingServicebusDispositionStatusIncubatingValues { /** Message is completed */ public static final String COMPLETE = "complete"; @@ -440,11 +440,11 @@ public static final class MessagingServicebusDispositionStatusValues { /** Message is deferred */ public static final String DEFER = "defer"; - private MessagingServicebusDispositionStatusValues() {} + private MessagingServicebusDispositionStatusIncubatingValues() {} } /** Values for {@link #MESSAGING_SYSTEM}. */ - public static final class MessagingSystemValues { + public static final class MessagingSystemIncubatingValues { /** Apache ActiveMQ */ public static final String ACTIVEMQ = "activemq"; @@ -478,7 +478,7 @@ public static final class MessagingSystemValues { /** Apache Pulsar */ public static final String PULSAR = "pulsar"; - private MessagingSystemValues() {} + private MessagingSystemIncubatingValues() {} } private MessagingIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetIncubatingAttributes.java index bb587e7..6aa7e2e 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetIncubatingAttributes.java @@ -167,7 +167,7 @@ public final class NetIncubatingAttributes { * @deprecated Split to {@code network.transport} and {@code network.type}. */ @Deprecated - public static final class NetSockFamilyValues { + public static final class NetSockFamilyIncubatingValues { /** IPv4 address */ public static final String INET = "inet"; @@ -177,7 +177,7 @@ public static final class NetSockFamilyValues { /** Unix domain socket path */ public static final String UNIX = "unix"; - private NetSockFamilyValues() {} + private NetSockFamilyIncubatingValues() {} } /** @@ -186,7 +186,7 @@ private NetSockFamilyValues() {} * @deprecated Replaced by {@code network.transport}. */ @Deprecated - public static final class NetTransportValues { + public static final class NetTransportIncubatingValues { /** ip_tcp. */ public static final String IP_TCP = "ip_tcp"; @@ -202,7 +202,7 @@ public static final class NetTransportValues { /** Something else (non IP-based). */ public static final String OTHER = "other"; - private NetTransportValues() {} + private NetTransportIncubatingValues() {} } private NetIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetworkIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetworkIncubatingAttributes.java index b0781d1..f2e4ee5 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetworkIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NetworkIncubatingAttributes.java @@ -154,7 +154,7 @@ public final class NetworkIncubatingAttributes { // Enum definitions /** Values for {@link #NETWORK_CONNECTION_SUBTYPE}. */ - public static final class NetworkConnectionSubtypeValues { + public static final class NetworkConnectionSubtypeIncubatingValues { /** GPRS */ public static final String GPRS = "gprs"; @@ -218,11 +218,11 @@ public static final class NetworkConnectionSubtypeValues { /** LTE CA */ public static final String LTE_CA = "lte_ca"; - private NetworkConnectionSubtypeValues() {} + private NetworkConnectionSubtypeIncubatingValues() {} } /** Values for {@link #NETWORK_CONNECTION_TYPE}. */ - public static final class NetworkConnectionTypeValues { + public static final class NetworkConnectionTypeIncubatingValues { /** wifi. */ public static final String WIFI = "wifi"; @@ -238,18 +238,18 @@ public static final class NetworkConnectionTypeValues { /** unknown. */ public static final String UNKNOWN = "unknown"; - private NetworkConnectionTypeValues() {} + private NetworkConnectionTypeIncubatingValues() {} } /** Values for {@link #NETWORK_IO_DIRECTION}. */ - public static final class NetworkIoDirectionValues { + public static final class NetworkIoDirectionIncubatingValues { /** transmit. */ public static final String TRANSMIT = "transmit"; /** receive. */ public static final String RECEIVE = "receive"; - private NetworkIoDirectionValues() {} + private NetworkIoDirectionIncubatingValues() {} } /** @@ -259,7 +259,7 @@ private NetworkIoDirectionValues() {} * io.opentelemetry.semconv.NetworkAttributes.NetworkTransportValues}. */ @Deprecated - public static final class NetworkTransportValues { + public static final class NetworkTransportIncubatingValues { /** TCP */ public static final String TCP = "tcp"; @@ -275,7 +275,7 @@ public static final class NetworkTransportValues { /** QUIC */ public static final String QUIC = "quic"; - private NetworkTransportValues() {} + private NetworkTransportIncubatingValues() {} } /** @@ -285,14 +285,14 @@ private NetworkTransportValues() {} * io.opentelemetry.semconv.NetworkAttributes.NetworkTypeValues}. */ @Deprecated - public static final class NetworkTypeValues { + public static final class NetworkTypeIncubatingValues { /** IPv4 */ public static final String IPV4 = "ipv4"; /** IPv6 */ public static final String IPV6 = "ipv6"; - private NetworkTypeValues() {} + private NetworkTypeIncubatingValues() {} } private NetworkIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpentracingIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpentracingIncubatingAttributes.java index d44ed1a..f80542e 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpentracingIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpentracingIncubatingAttributes.java @@ -24,14 +24,14 @@ public final class OpentracingIncubatingAttributes { // Enum definitions /** Values for {@link #OPENTRACING_REF_TYPE}. */ - public static final class OpentracingRefTypeValues { + public static final class OpentracingRefTypeIncubatingValues { /** The parent Span depends on the child Span in some capacity */ public static final String CHILD_OF = "child_of"; /** The parent Span doesn't depend in any way on the result of the child Span */ public static final String FOLLOWS_FROM = "follows_from"; - private OpentracingRefTypeValues() {} + private OpentracingRefTypeIncubatingValues() {} } private OpentracingIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OsIncubatingAttributes.java index 498904f..0c887e9 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OsIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OsIncubatingAttributes.java @@ -36,7 +36,7 @@ public final class OsIncubatingAttributes { // Enum definitions /** Values for {@link #OS_TYPE}. */ - public static final class OsTypeValues { + public static final class OsTypeIncubatingValues { /** Microsoft Windows */ public static final String WINDOWS = "windows"; @@ -70,7 +70,7 @@ public static final class OsTypeValues { /** IBM z/OS */ public static final String Z_OS = "z_os"; - private OsTypeValues() {} + private OsTypeIncubatingValues() {} } private OsIncubatingAttributes() {} 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 89e422f..071b0d8 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 @@ -78,7 +78,7 @@ public final class OtelIncubatingAttributes { * io.opentelemetry.semconv.OtelAttributes.OtelStatusCodeValues}. */ @Deprecated - public static final class OtelStatusCodeValues { + public static final class OtelStatusCodeIncubatingValues { /** * The operation has been validated by an Application developer or Operator to have completed * successfully. @@ -88,7 +88,7 @@ public static final class OtelStatusCodeValues { /** The operation contains an error. */ public static final String ERROR = "ERROR"; - private OtelStatusCodeValues() {} + private OtelStatusCodeIncubatingValues() {} } private OtelIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtherIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtherIncubatingAttributes.java index 2b93dc0..70081f7 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtherIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtherIncubatingAttributes.java @@ -29,14 +29,14 @@ public final class OtherIncubatingAttributes { * @deprecated Replaced by {@code db.client.connection.state}. */ @Deprecated - public static final class StateValues { + public static final class StateIncubatingValues { /** idle. */ public static final String IDLE = "idle"; /** used. */ public static final String USED = "used"; - private StateValues() {} + private StateIncubatingValues() {} } private OtherIncubatingAttributes() {} 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 fc8312a..240315f 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 @@ -157,14 +157,14 @@ public final class ProcessIncubatingAttributes { // Enum definitions /** Values for {@link #PROCESS_CONTEXT_SWITCH_TYPE}. */ - public static final class ProcessContextSwitchTypeValues { + public static final class ProcessContextSwitchTypeIncubatingValues { /** voluntary. */ public static final String VOLUNTARY = "voluntary"; /** involuntary. */ public static final String INVOLUNTARY = "involuntary"; - private ProcessContextSwitchTypeValues() {} + private ProcessContextSwitchTypeIncubatingValues() {} } /** @@ -173,7 +173,7 @@ private ProcessContextSwitchTypeValues() {} * @deprecated Replaced by {@code cpu.mode} */ @Deprecated - public static final class ProcessCpuStateValues { + public static final class ProcessCpuStateIncubatingValues { /** system. */ public static final String SYSTEM = "system"; @@ -183,18 +183,18 @@ public static final class ProcessCpuStateValues { /** wait. */ public static final String WAIT = "wait"; - private ProcessCpuStateValues() {} + private ProcessCpuStateIncubatingValues() {} } /** Values for {@link #PROCESS_PAGING_FAULT_TYPE}. */ - public static final class ProcessPagingFaultTypeValues { + public static final class ProcessPagingFaultTypeIncubatingValues { /** major. */ public static final String MAJOR = "major"; /** minor. */ public static final String MINOR = "minor"; - private ProcessPagingFaultTypeValues() {} + private ProcessPagingFaultTypeIncubatingValues() {} } private ProcessIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingAttributes.java index 5e6bc84..46eca4e 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingAttributes.java @@ -155,7 +155,7 @@ public final class RpcIncubatingAttributes { // Enum definitions /** Values for {@link #RPC_CONNECT_RPC_ERROR_CODE}. */ - public static final class RpcConnectRpcErrorCodeValues { + public static final class RpcConnectRpcErrorCodeIncubatingValues { /** cancelled. */ public static final String CANCELLED = "cancelled"; @@ -204,11 +204,11 @@ public static final class RpcConnectRpcErrorCodeValues { /** unauthenticated. */ public static final String UNAUTHENTICATED = "unauthenticated"; - private RpcConnectRpcErrorCodeValues() {} + private RpcConnectRpcErrorCodeIncubatingValues() {} } /** Values for {@link #RPC_GRPC_STATUS_CODE}. */ - public static final class RpcGrpcStatusCodeValues { + public static final class RpcGrpcStatusCodeIncubatingValues { /** OK */ public static final long OK = 0; @@ -260,22 +260,22 @@ public static final class RpcGrpcStatusCodeValues { /** UNAUTHENTICATED */ public static final long UNAUTHENTICATED = 16; - private RpcGrpcStatusCodeValues() {} + private RpcGrpcStatusCodeIncubatingValues() {} } /** Values for {@link #RPC_MESSAGE_TYPE}. */ - public static final class RpcMessageTypeValues { + public static final class RpcMessageTypeIncubatingValues { /** sent. */ public static final String SENT = "SENT"; /** received. */ public static final String RECEIVED = "RECEIVED"; - private RpcMessageTypeValues() {} + private RpcMessageTypeIncubatingValues() {} } /** Values for {@link #RPC_SYSTEM}. */ - public static final class RpcSystemValues { + public static final class RpcSystemIncubatingValues { /** gRPC */ public static final String GRPC = "grpc"; @@ -291,7 +291,7 @@ public static final class RpcSystemValues { /** Connect RPC */ public static final String CONNECT_RPC = "connect_rpc"; - private RpcSystemValues() {} + private RpcSystemIncubatingValues() {} } private RpcIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingAttributes.java index 2a56cb9..7a85bba 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingAttributes.java @@ -89,7 +89,7 @@ public final class SystemIncubatingAttributes { * @deprecated Replaced by {@code cpu.mode} */ @Deprecated - public static final class SystemCpuStateValues { + public static final class SystemCpuStateIncubatingValues { /** user. */ public static final String USER = "user"; @@ -111,11 +111,11 @@ public static final class SystemCpuStateValues { /** steal. */ public static final String STEAL = "steal"; - private SystemCpuStateValues() {} + private SystemCpuStateIncubatingValues() {} } /** Values for {@link #SYSTEM_FILESYSTEM_STATE}. */ - public static final class SystemFilesystemStateValues { + public static final class SystemFilesystemStateIncubatingValues { /** used. */ public static final String USED = "used"; @@ -125,11 +125,11 @@ public static final class SystemFilesystemStateValues { /** reserved. */ public static final String RESERVED = "reserved"; - private SystemFilesystemStateValues() {} + private SystemFilesystemStateIncubatingValues() {} } /** Values for {@link #SYSTEM_FILESYSTEM_TYPE}. */ - public static final class SystemFilesystemTypeValues { + public static final class SystemFilesystemTypeIncubatingValues { /** fat32. */ public static final String FAT32 = "fat32"; @@ -148,11 +148,11 @@ public static final class SystemFilesystemTypeValues { /** ext4. */ public static final String EXT4 = "ext4"; - private SystemFilesystemTypeValues() {} + private SystemFilesystemTypeIncubatingValues() {} } /** Values for {@link #SYSTEM_MEMORY_STATE}. */ - public static final class SystemMemoryStateValues { + public static final class SystemMemoryStateIncubatingValues { /** used. */ public static final String USED = "used"; @@ -168,11 +168,11 @@ public static final class SystemMemoryStateValues { /** cached. */ public static final String CACHED = "cached"; - private SystemMemoryStateValues() {} + private SystemMemoryStateIncubatingValues() {} } /** Values for {@link #SYSTEM_NETWORK_STATE}. */ - public static final class SystemNetworkStateValues { + public static final class SystemNetworkStateIncubatingValues { /** close. */ public static final String CLOSE = "close"; @@ -209,44 +209,44 @@ public static final class SystemNetworkStateValues { /** time_wait. */ public static final String TIME_WAIT = "time_wait"; - private SystemNetworkStateValues() {} + private SystemNetworkStateIncubatingValues() {} } /** Values for {@link #SYSTEM_PAGING_DIRECTION}. */ - public static final class SystemPagingDirectionValues { + public static final class SystemPagingDirectionIncubatingValues { /** in. */ public static final String IN = "in"; /** out. */ public static final String OUT = "out"; - private SystemPagingDirectionValues() {} + private SystemPagingDirectionIncubatingValues() {} } /** Values for {@link #SYSTEM_PAGING_STATE}. */ - public static final class SystemPagingStateValues { + public static final class SystemPagingStateIncubatingValues { /** used. */ public static final String USED = "used"; /** free. */ public static final String FREE = "free"; - private SystemPagingStateValues() {} + private SystemPagingStateIncubatingValues() {} } /** Values for {@link #SYSTEM_PAGING_TYPE}. */ - public static final class SystemPagingTypeValues { + public static final class SystemPagingTypeIncubatingValues { /** major. */ public static final String MAJOR = "major"; /** minor. */ public static final String MINOR = "minor"; - private SystemPagingTypeValues() {} + private SystemPagingTypeIncubatingValues() {} } /** Values for {@link #SYSTEM_PROCESS_STATUS}. */ - public static final class SystemProcessStatusValues { + public static final class SystemProcessStatusIncubatingValues { /** running. */ public static final String RUNNING = "running"; @@ -259,7 +259,7 @@ public static final class SystemProcessStatusValues { /** defunct. */ public static final String DEFUNCT = "defunct"; - private SystemProcessStatusValues() {} + private SystemProcessStatusIncubatingValues() {} } /** @@ -268,7 +268,7 @@ private SystemProcessStatusValues() {} * @deprecated Replaced by {@code system.process.status}. */ @Deprecated - public static final class SystemProcessesStatusValues { + public static final class SystemProcessesStatusIncubatingValues { /** running. */ public static final String RUNNING = "running"; @@ -281,7 +281,7 @@ public static final class SystemProcessesStatusValues { /** defunct. */ public static final String DEFUNCT = "defunct"; - private SystemProcessesStatusValues() {} + private SystemProcessesStatusIncubatingValues() {} } private SystemIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TelemetryIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TelemetryIncubatingAttributes.java index 74be9d6..5037a6e 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TelemetryIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TelemetryIncubatingAttributes.java @@ -81,7 +81,7 @@ public final class TelemetryIncubatingAttributes { * io.opentelemetry.semconv.TelemetryAttributes.TelemetrySdkLanguageValues}. */ @Deprecated - public static final class TelemetrySdkLanguageValues { + public static final class TelemetrySdkLanguageIncubatingValues { /** cpp. */ public static final String CPP = "cpp"; @@ -118,7 +118,7 @@ public static final class TelemetrySdkLanguageValues { /** webjs. */ public static final String WEBJS = "webjs"; - private TelemetrySdkLanguageValues() {} + private TelemetrySdkLanguageIncubatingValues() {} } private TelemetryIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TestIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TestIncubatingAttributes.java index faf2f57..55af7c7 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TestIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/TestIncubatingAttributes.java @@ -34,18 +34,18 @@ public final class TestIncubatingAttributes { // Enum definitions /** Values for {@link #TEST_CASE_RESULT_STATUS}. */ - public static final class TestCaseResultStatusValues { + public static final class TestCaseResultStatusIncubatingValues { /** pass */ public static final String PASS = "pass"; /** fail */ public static final String FAIL = "fail"; - private TestCaseResultStatusValues() {} + private TestCaseResultStatusIncubatingValues() {} } /** Values for {@link #TEST_SUITE_RUN_STATUS}. */ - public static final class TestSuiteRunStatusValues { + public static final class TestSuiteRunStatusIncubatingValues { /** success */ public static final String SUCCESS = "success"; @@ -64,7 +64,7 @@ public static final class TestSuiteRunStatusValues { /** in_progress */ public static final String IN_PROGRESS = "in_progress"; - private TestSuiteRunStatusValues() {} + private TestSuiteRunStatusIncubatingValues() {} } private TestIncubatingAttributes() {} 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 487efbf..7a3f255 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 @@ -195,14 +195,14 @@ public final class TlsIncubatingAttributes { // Enum definitions /** Values for {@link #TLS_PROTOCOL_NAME}. */ - public static final class TlsProtocolNameValues { + public static final class TlsProtocolNameIncubatingValues { /** ssl. */ public static final String SSL = "ssl"; /** tls. */ public static final String TLS = "tls"; - private TlsProtocolNameValues() {} + private TlsProtocolNameIncubatingValues() {} } private TlsIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingAttributes.java index 6494c63..d94f410 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingAttributes.java @@ -29,7 +29,7 @@ public final class V8jsIncubatingAttributes { // Enum definitions /** Values for {@link #V8JS_GC_TYPE}. */ - public static final class V8jsGcTypeValues { + public static final class V8jsGcTypeIncubatingValues { /** Major (Mark Sweep Compact). */ public static final String MAJOR = "major"; @@ -42,11 +42,11 @@ public static final class V8jsGcTypeValues { /** Weak Callbacks (Process Weak Callbacks). */ public static final String WEAKCB = "weakcb"; - private V8jsGcTypeValues() {} + private V8jsGcTypeIncubatingValues() {} } /** Values for {@link #V8JS_HEAP_SPACE_NAME}. */ - public static final class V8jsHeapSpaceNameValues { + public static final class V8jsHeapSpaceNameIncubatingValues { /** New memory space. */ public static final String NEW_SPACE = "new_space"; @@ -62,7 +62,7 @@ public static final class V8jsHeapSpaceNameValues { /** Large object memory space. */ public static final String LARGE_OBJECT_SPACE = "large_object_space"; - private V8jsHeapSpaceNameValues() {} + private V8jsHeapSpaceNameIncubatingValues() {} } private V8jsIncubatingAttributes() {} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingAttributes.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingAttributes.java index 8ccfa64..dcf6ec9 100644 --- a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingAttributes.java +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingAttributes.java @@ -70,7 +70,7 @@ public final class VcsIncubatingAttributes { // Enum definitions /** Values for {@link #VCS_REPOSITORY_REF_TYPE}. */ - public static final class VcsRepositoryRefTypeValues { + public static final class VcsRepositoryRefTypeIncubatingValues { /** * branch @@ -83,7 +83,7 @@ public static final class VcsRepositoryRefTypeValues { */ public static final String TAG = "tag"; - private VcsRepositoryRefTypeValues() {} + private VcsRepositoryRefTypeIncubatingValues() {} } private VcsIncubatingAttributes() {}