diff --git a/buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 b/buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 new file mode 100644 index 0000000..f56ceb1 --- /dev/null +++ b/buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 @@ -0,0 +1,34 @@ +{%- set my_class_name = ctx.root_namespace | pascal_case ~ "IncubatingMetrics" -%} + +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class {{ my_class_name }} { + +{% for metric in ctx.metrics %} + /** Name of the {@code {{ metric.metric_name }}} metric. */ +{%- if metric is deprecated %} + @Deprecated +{%- endif %} + public static final String {{ metric.metric_name | replace(".", "_") | screaming_snake_case }}_NAME = "{{ metric.metric_name }}"; + + /** Unit of the {@code {{ metric.metric_name }}} metric. */ +{%- if metric is deprecated %} + @Deprecated +{%- endif %} + public static final String {{ metric.metric_name | replace(".", "_") | screaming_snake_case }}_UNIT = "{{ metric.unit }}"; + + /** Description of the {@code {{ metric.metric_name }}} metric. */ +{%- if metric is deprecated %} + @Deprecated +{%- endif %} + public static final String {{ metric.metric_name | replace(".", "_") | screaming_snake_case }}_DESCRIPTION = "{{ metric.brief | replace('\n', ' ') | replace('"', '\\"') }}"; + +{% endfor %} + private {{ my_class_name }}() {} +} diff --git a/buildscripts/templates/registry/incubating_java/weaver.yaml b/buildscripts/templates/registry/incubating_java/weaver.yaml index 725356c..0931503 100644 --- a/buildscripts/templates/registry/incubating_java/weaver.yaml +++ b/buildscripts/templates/registry/incubating_java/weaver.yaml @@ -27,6 +27,17 @@ templates: }) application_mode: each file_name: "{{ctx.root_namespace | pascal_case}}IncubatingAttributes.java" + - pattern: IncubatingSemanticMetrics.java.j2 + filter: > + semconv_grouped_metrics({ + "exclude_root_namespace": $excluded_namespaces, + "exclude_stability": [] + }) | map({ + root_namespace: .root_namespace, + metrics: .metrics + }) + application_mode: each + file_name: "{{ctx.root_namespace | pascal_case}}IncubatingMetrics.java" text_maps: java_enum_type: int: long @@ -73,4 +84,3 @@ text_maps: int[]: longArrayKeyTemplate double[]: doubleArrayKeyTemplate boolean[]: booleanArrayKeyTemplate - diff --git a/buildscripts/templates/registry/java/SemanticMetrics.java.j2 b/buildscripts/templates/registry/java/SemanticMetrics.java.j2 new file mode 100644 index 0000000..85c6ab6 --- /dev/null +++ b/buildscripts/templates/registry/java/SemanticMetrics.java.j2 @@ -0,0 +1,36 @@ +{%- set my_class_name = ctx.root_namespace | pascal_case ~ "Metrics" -%} + +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ +package io.opentelemetry.semconv; + +// DO NOT EDIT, this is an Auto-generated file from buildscripts/templates/registry/java/SemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class {{ my_class_name }} { + +{% for metric in ctx.metrics %} +{% if metric is stable %} + /** Name of the {@code {{ metric.metric_name }}} metric. */ +{%- if metric is deprecated %} + @Deprecated +{%- endif %} + public static final String {{ metric.metric_name | replace(".", "_") | screaming_snake_case }}_NAME = "{{ metric.metric_name }}"; + + /** Unit of the {@code {{ metric.metric_name }}} metric. */ +{%- if metric is deprecated %} + @Deprecated +{%- endif %} + public static final String {{ metric.metric_name | replace(".", "_") | screaming_snake_case }}_UNIT = "{{ metric.unit }}"; + + /** Description of the {@code {{ metric.metric_name }}} metric. */ +{%- if metric is deprecated %} + @Deprecated +{%- endif %} + public static final String {{ metric.metric_name | replace(".", "_") | screaming_snake_case }}_DESCRIPTION = "{{ metric.brief | replace('\n', ' ') | replace('"', '\\"') }}"; + +{% endif %} +{% endfor %} + private {{ my_class_name }}() {} +} diff --git a/buildscripts/templates/registry/java/weaver.yaml b/buildscripts/templates/registry/java/weaver.yaml index a4d6138..7605bed 100644 --- a/buildscripts/templates/registry/java/weaver.yaml +++ b/buildscripts/templates/registry/java/weaver.yaml @@ -29,6 +29,17 @@ templates: }) application_mode: each file_name: "{{ctx.root_namespace | pascal_case}}Attributes.java" + # - pattern: SemanticMetrics.java.j2 + # filter: > + # semconv_grouped_metrics({ + # "exclude_root_namespace": $excluded_namespaces, + # "exclude_stability": ["experimental", "deprecated"] + # }) | map({ + # root_namespace: .root_namespace, + # metrics: .metrics + # }) + # application_mode: each + # file_name: "{{ctx.root_namespace | pascal_case}}Metrics.java" text_maps: java_enum_type: int: long diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzureIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzureIncubatingMetrics.java new file mode 100644 index 0000000..6ed1c8a --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/AzureIncubatingMetrics.java @@ -0,0 +1,36 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class AzureIncubatingMetrics { + + /** Name of the {@code azure.cosmosdb.client.active_instance.count} metric. */ + public static final String AZURE_COSMOSDB_CLIENT_ACTIVE_INSTANCE_COUNT_NAME = + "azure.cosmosdb.client.active_instance.count"; + + /** Unit of the {@code azure.cosmosdb.client.active_instance.count} metric. */ + public static final String AZURE_COSMOSDB_CLIENT_ACTIVE_INSTANCE_COUNT_UNIT = "{instance}"; + + /** Description of the {@code azure.cosmosdb.client.active_instance.count} metric. */ + public static final String AZURE_COSMOSDB_CLIENT_ACTIVE_INSTANCE_COUNT_DESCRIPTION = + "Number of active client instances."; + + /** Name of the {@code azure.cosmosdb.client.operation.request_charge} metric. */ + public static final String AZURE_COSMOSDB_CLIENT_OPERATION_REQUEST_CHARGE_NAME = + "azure.cosmosdb.client.operation.request_charge"; + + /** Unit of the {@code azure.cosmosdb.client.operation.request_charge} metric. */ + public static final String AZURE_COSMOSDB_CLIENT_OPERATION_REQUEST_CHARGE_UNIT = "{request_unit}"; + + /** Description of the {@code azure.cosmosdb.client.operation.request_charge} metric. */ + public static final String AZURE_COSMOSDB_CLIENT_OPERATION_REQUEST_CHARGE_DESCRIPTION = + "[Request units](https://learn.microsoft.com/azure/cosmos-db/request-units) consumed by the operation."; + + private AzureIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingMetrics.java new file mode 100644 index 0000000..f28a86f --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CicdIncubatingMetrics.java @@ -0,0 +1,64 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class CicdIncubatingMetrics { + + /** Name of the {@code cicd.pipeline.run.active} metric. */ + public static final String CICD_PIPELINE_RUN_ACTIVE_NAME = "cicd.pipeline.run.active"; + + /** Unit of the {@code cicd.pipeline.run.active} metric. */ + public static final String CICD_PIPELINE_RUN_ACTIVE_UNIT = "{run}"; + + /** Description of the {@code cicd.pipeline.run.active} metric. */ + public static final String CICD_PIPELINE_RUN_ACTIVE_DESCRIPTION = + "The number of pipeline runs currently active in the system by state."; + + /** Name of the {@code cicd.pipeline.run.duration} metric. */ + public static final String CICD_PIPELINE_RUN_DURATION_NAME = "cicd.pipeline.run.duration"; + + /** Unit of the {@code cicd.pipeline.run.duration} metric. */ + public static final String CICD_PIPELINE_RUN_DURATION_UNIT = "s"; + + /** Description of the {@code cicd.pipeline.run.duration} metric. */ + public static final String CICD_PIPELINE_RUN_DURATION_DESCRIPTION = + "Duration of a pipeline run grouped by pipeline, state and result."; + + /** Name of the {@code cicd.pipeline.run.errors} metric. */ + public static final String CICD_PIPELINE_RUN_ERRORS_NAME = "cicd.pipeline.run.errors"; + + /** Unit of the {@code cicd.pipeline.run.errors} metric. */ + public static final String CICD_PIPELINE_RUN_ERRORS_UNIT = "{error}"; + + /** Description of the {@code cicd.pipeline.run.errors} metric. */ + public static final String CICD_PIPELINE_RUN_ERRORS_DESCRIPTION = + "The number of errors encountered in pipeline runs (eg. compile, test failures)."; + + /** Name of the {@code cicd.system.errors} metric. */ + public static final String CICD_SYSTEM_ERRORS_NAME = "cicd.system.errors"; + + /** Unit of the {@code cicd.system.errors} metric. */ + public static final String CICD_SYSTEM_ERRORS_UNIT = "{error}"; + + /** Description of the {@code cicd.system.errors} metric. */ + public static final String CICD_SYSTEM_ERRORS_DESCRIPTION = + "The number of errors in a component of the CICD system (eg. controller, scheduler, agent)."; + + /** Name of the {@code cicd.worker.count} metric. */ + public static final String CICD_WORKER_COUNT_NAME = "cicd.worker.count"; + + /** Unit of the {@code cicd.worker.count} metric. */ + public static final String CICD_WORKER_COUNT_UNIT = "{count}"; + + /** Description of the {@code cicd.worker.count} metric. */ + public static final String CICD_WORKER_COUNT_DESCRIPTION = + "The number of workers on the CICD system by state."; + + private CicdIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingMetrics.java new file mode 100644 index 0000000..522d9a7 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ContainerIncubatingMetrics.java @@ -0,0 +1,137 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class ContainerIncubatingMetrics { + + /** Name of the {@code container.cpu.time} metric. */ + public static final String CONTAINER_CPU_TIME_NAME = "container.cpu.time"; + + /** Unit of the {@code container.cpu.time} metric. */ + public static final String CONTAINER_CPU_TIME_UNIT = "s"; + + /** Description of the {@code container.cpu.time} metric. */ + public static final String CONTAINER_CPU_TIME_DESCRIPTION = "Total CPU time consumed."; + + /** Name of the {@code container.cpu.usage} metric. */ + public static final String CONTAINER_CPU_USAGE_NAME = "container.cpu.usage"; + + /** Unit of the {@code container.cpu.usage} metric. */ + public static final String CONTAINER_CPU_USAGE_UNIT = "{cpu}"; + + /** Description of the {@code container.cpu.usage} metric. */ + public static final String CONTAINER_CPU_USAGE_DESCRIPTION = + "Container's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs."; + + /** Name of the {@code container.disk.io} metric. */ + public static final String CONTAINER_DISK_IO_NAME = "container.disk.io"; + + /** Unit of the {@code container.disk.io} metric. */ + public static final String CONTAINER_DISK_IO_UNIT = "By"; + + /** Description of the {@code container.disk.io} metric. */ + public static final String CONTAINER_DISK_IO_DESCRIPTION = "Disk bytes for the container."; + + /** Name of the {@code container.filesystem.available} metric. */ + public static final String CONTAINER_FILESYSTEM_AVAILABLE_NAME = "container.filesystem.available"; + + /** Unit of the {@code container.filesystem.available} metric. */ + public static final String CONTAINER_FILESYSTEM_AVAILABLE_UNIT = "By"; + + /** Description of the {@code container.filesystem.available} metric. */ + public static final String CONTAINER_FILESYSTEM_AVAILABLE_DESCRIPTION = + "Container filesystem available bytes."; + + /** Name of the {@code container.filesystem.capacity} metric. */ + public static final String CONTAINER_FILESYSTEM_CAPACITY_NAME = "container.filesystem.capacity"; + + /** Unit of the {@code container.filesystem.capacity} metric. */ + public static final String CONTAINER_FILESYSTEM_CAPACITY_UNIT = "By"; + + /** Description of the {@code container.filesystem.capacity} metric. */ + public static final String CONTAINER_FILESYSTEM_CAPACITY_DESCRIPTION = + "Container filesystem capacity."; + + /** Name of the {@code container.filesystem.usage} metric. */ + public static final String CONTAINER_FILESYSTEM_USAGE_NAME = "container.filesystem.usage"; + + /** Unit of the {@code container.filesystem.usage} metric. */ + public static final String CONTAINER_FILESYSTEM_USAGE_UNIT = "By"; + + /** Description of the {@code container.filesystem.usage} metric. */ + public static final String CONTAINER_FILESYSTEM_USAGE_DESCRIPTION = "Container filesystem usage."; + + /** Name of the {@code container.memory.available} metric. */ + public static final String CONTAINER_MEMORY_AVAILABLE_NAME = "container.memory.available"; + + /** Unit of the {@code container.memory.available} metric. */ + public static final String CONTAINER_MEMORY_AVAILABLE_UNIT = "By"; + + /** Description of the {@code container.memory.available} metric. */ + public static final String CONTAINER_MEMORY_AVAILABLE_DESCRIPTION = "Container memory available."; + + /** Name of the {@code container.memory.paging.faults} metric. */ + public static final String CONTAINER_MEMORY_PAGING_FAULTS_NAME = "container.memory.paging.faults"; + + /** Unit of the {@code container.memory.paging.faults} metric. */ + public static final String CONTAINER_MEMORY_PAGING_FAULTS_UNIT = "{fault}"; + + /** Description of the {@code container.memory.paging.faults} metric. */ + public static final String CONTAINER_MEMORY_PAGING_FAULTS_DESCRIPTION = + "Container memory paging faults."; + + /** Name of the {@code container.memory.rss} metric. */ + public static final String CONTAINER_MEMORY_RSS_NAME = "container.memory.rss"; + + /** Unit of the {@code container.memory.rss} metric. */ + public static final String CONTAINER_MEMORY_RSS_UNIT = "By"; + + /** Description of the {@code container.memory.rss} metric. */ + public static final String CONTAINER_MEMORY_RSS_DESCRIPTION = "Container memory RSS."; + + /** Name of the {@code container.memory.usage} metric. */ + public static final String CONTAINER_MEMORY_USAGE_NAME = "container.memory.usage"; + + /** Unit of the {@code container.memory.usage} metric. */ + public static final String CONTAINER_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code container.memory.usage} metric. */ + public static final String CONTAINER_MEMORY_USAGE_DESCRIPTION = "Memory usage of the container."; + + /** Name of the {@code container.memory.working_set} metric. */ + public static final String CONTAINER_MEMORY_WORKING_SET_NAME = "container.memory.working_set"; + + /** Unit of the {@code container.memory.working_set} metric. */ + public static final String CONTAINER_MEMORY_WORKING_SET_UNIT = "By"; + + /** Description of the {@code container.memory.working_set} metric. */ + public static final String CONTAINER_MEMORY_WORKING_SET_DESCRIPTION = + "Container memory working set."; + + /** Name of the {@code container.network.io} metric. */ + public static final String CONTAINER_NETWORK_IO_NAME = "container.network.io"; + + /** Unit of the {@code container.network.io} metric. */ + public static final String CONTAINER_NETWORK_IO_UNIT = "By"; + + /** Description of the {@code container.network.io} metric. */ + public static final String CONTAINER_NETWORK_IO_DESCRIPTION = "Network bytes for the container."; + + /** Name of the {@code container.uptime} metric. */ + public static final String CONTAINER_UPTIME_NAME = "container.uptime"; + + /** Unit of the {@code container.uptime} metric. */ + public static final String CONTAINER_UPTIME_UNIT = "s"; + + /** Description of the {@code container.uptime} metric. */ + public static final String CONTAINER_UPTIME_DESCRIPTION = + "The time the container has been running."; + + private ContainerIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingMetrics.java new file mode 100644 index 0000000..5383e64 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpuIncubatingMetrics.java @@ -0,0 +1,46 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class CpuIncubatingMetrics { + + /** Name of the {@code cpu.frequency} metric. */ + @Deprecated public static final String CPU_FREQUENCY_NAME = "cpu.frequency"; + + /** Unit of the {@code cpu.frequency} metric. */ + @Deprecated public static final String CPU_FREQUENCY_UNIT = "{Hz}"; + + /** Description of the {@code cpu.frequency} metric. */ + @Deprecated + public static final String CPU_FREQUENCY_DESCRIPTION = + "Deprecated. Use `system.cpu.frequency` instead."; + + /** Name of the {@code cpu.time} metric. */ + @Deprecated public static final String CPU_TIME_NAME = "cpu.time"; + + /** Unit of the {@code cpu.time} metric. */ + @Deprecated public static final String CPU_TIME_UNIT = "s"; + + /** Description of the {@code cpu.time} metric. */ + @Deprecated + public static final String CPU_TIME_DESCRIPTION = "Deprecated. Use `system.cpu.time` instead."; + + /** Name of the {@code cpu.utilization} metric. */ + @Deprecated public static final String CPU_UTILIZATION_NAME = "cpu.utilization"; + + /** Unit of the {@code cpu.utilization} metric. */ + @Deprecated public static final String CPU_UTILIZATION_UNIT = "1"; + + /** Description of the {@code cpu.utilization} metric. */ + @Deprecated + public static final String CPU_UTILIZATION_DESCRIPTION = + "Deprecated. Use `system.cpu.utilization` instead."; + + private CpuIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpythonIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpythonIncubatingMetrics.java new file mode 100644 index 0000000..5316e78 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/CpythonIncubatingMetrics.java @@ -0,0 +1,45 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class CpythonIncubatingMetrics { + + /** Name of the {@code cpython.gc.collected_objects} metric. */ + public static final String CPYTHON_GC_COLLECTED_OBJECTS_NAME = "cpython.gc.collected_objects"; + + /** Unit of the {@code cpython.gc.collected_objects} metric. */ + public static final String CPYTHON_GC_COLLECTED_OBJECTS_UNIT = "{object}"; + + /** Description of the {@code cpython.gc.collected_objects} metric. */ + public static final String CPYTHON_GC_COLLECTED_OBJECTS_DESCRIPTION = + "The total number of objects collected inside a generation since interpreter start."; + + /** Name of the {@code cpython.gc.collections} metric. */ + public static final String CPYTHON_GC_COLLECTIONS_NAME = "cpython.gc.collections"; + + /** Unit of the {@code cpython.gc.collections} metric. */ + public static final String CPYTHON_GC_COLLECTIONS_UNIT = "{collection}"; + + /** Description of the {@code cpython.gc.collections} metric. */ + public static final String CPYTHON_GC_COLLECTIONS_DESCRIPTION = + "The number of times a generation was collected since interpreter start."; + + /** Name of the {@code cpython.gc.uncollectable_objects} metric. */ + public static final String CPYTHON_GC_UNCOLLECTABLE_OBJECTS_NAME = + "cpython.gc.uncollectable_objects"; + + /** Unit of the {@code cpython.gc.uncollectable_objects} metric. */ + public static final String CPYTHON_GC_UNCOLLECTABLE_OBJECTS_UNIT = "{object}"; + + /** Description of the {@code cpython.gc.uncollectable_objects} metric. */ + public static final String CPYTHON_GC_UNCOLLECTABLE_OBJECTS_DESCRIPTION = + "The total number of objects which were found to be uncollectable inside a generation since interpreter start."; + + private CpythonIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingMetrics.java new file mode 100644 index 0000000..deb8884 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DbIncubatingMetrics.java @@ -0,0 +1,266 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class DbIncubatingMetrics { + + /** Name of the {@code db.client.connection.count} metric. */ + public static final String DB_CLIENT_CONNECTION_COUNT_NAME = "db.client.connection.count"; + + /** Unit of the {@code db.client.connection.count} metric. */ + public static final String DB_CLIENT_CONNECTION_COUNT_UNIT = "{connection}"; + + /** Description of the {@code db.client.connection.count} metric. */ + public static final String DB_CLIENT_CONNECTION_COUNT_DESCRIPTION = + "The number of connections that are currently in state described by the `state` attribute."; + + /** Name of the {@code db.client.connection.create_time} metric. */ + public static final String DB_CLIENT_CONNECTION_CREATE_TIME_NAME = + "db.client.connection.create_time"; + + /** Unit of the {@code db.client.connection.create_time} metric. */ + public static final String DB_CLIENT_CONNECTION_CREATE_TIME_UNIT = "s"; + + /** Description of the {@code db.client.connection.create_time} metric. */ + public static final String DB_CLIENT_CONNECTION_CREATE_TIME_DESCRIPTION = + "The time it took to create a new connection."; + + /** Name of the {@code db.client.connection.idle.max} metric. */ + public static final String DB_CLIENT_CONNECTION_IDLE_MAX_NAME = "db.client.connection.idle.max"; + + /** Unit of the {@code db.client.connection.idle.max} metric. */ + public static final String DB_CLIENT_CONNECTION_IDLE_MAX_UNIT = "{connection}"; + + /** Description of the {@code db.client.connection.idle.max} metric. */ + public static final String DB_CLIENT_CONNECTION_IDLE_MAX_DESCRIPTION = + "The maximum number of idle open connections allowed."; + + /** Name of the {@code db.client.connection.idle.min} metric. */ + public static final String DB_CLIENT_CONNECTION_IDLE_MIN_NAME = "db.client.connection.idle.min"; + + /** Unit of the {@code db.client.connection.idle.min} metric. */ + public static final String DB_CLIENT_CONNECTION_IDLE_MIN_UNIT = "{connection}"; + + /** Description of the {@code db.client.connection.idle.min} metric. */ + public static final String DB_CLIENT_CONNECTION_IDLE_MIN_DESCRIPTION = + "The minimum number of idle open connections allowed."; + + /** Name of the {@code db.client.connection.max} metric. */ + public static final String DB_CLIENT_CONNECTION_MAX_NAME = "db.client.connection.max"; + + /** Unit of the {@code db.client.connection.max} metric. */ + public static final String DB_CLIENT_CONNECTION_MAX_UNIT = "{connection}"; + + /** Description of the {@code db.client.connection.max} metric. */ + public static final String DB_CLIENT_CONNECTION_MAX_DESCRIPTION = + "The maximum number of open connections allowed."; + + /** Name of the {@code db.client.connection.pending_requests} metric. */ + public static final String DB_CLIENT_CONNECTION_PENDING_REQUESTS_NAME = + "db.client.connection.pending_requests"; + + /** Unit of the {@code db.client.connection.pending_requests} metric. */ + public static final String DB_CLIENT_CONNECTION_PENDING_REQUESTS_UNIT = "{request}"; + + /** Description of the {@code db.client.connection.pending_requests} metric. */ + public static final String DB_CLIENT_CONNECTION_PENDING_REQUESTS_DESCRIPTION = + "The number of current pending requests for an open connection."; + + /** Name of the {@code db.client.connection.timeouts} metric. */ + public static final String DB_CLIENT_CONNECTION_TIMEOUTS_NAME = "db.client.connection.timeouts"; + + /** Unit of the {@code db.client.connection.timeouts} metric. */ + public static final String DB_CLIENT_CONNECTION_TIMEOUTS_UNIT = "{timeout}"; + + /** Description of the {@code db.client.connection.timeouts} metric. */ + public static final String DB_CLIENT_CONNECTION_TIMEOUTS_DESCRIPTION = + "The number of connection timeouts that have occurred trying to obtain a connection from the pool."; + + /** Name of the {@code db.client.connection.use_time} metric. */ + public static final String DB_CLIENT_CONNECTION_USE_TIME_NAME = "db.client.connection.use_time"; + + /** Unit of the {@code db.client.connection.use_time} metric. */ + public static final String DB_CLIENT_CONNECTION_USE_TIME_UNIT = "s"; + + /** Description of the {@code db.client.connection.use_time} metric. */ + public static final String DB_CLIENT_CONNECTION_USE_TIME_DESCRIPTION = + "The time between borrowing a connection and returning it to the pool."; + + /** Name of the {@code db.client.connection.wait_time} metric. */ + public static final String DB_CLIENT_CONNECTION_WAIT_TIME_NAME = "db.client.connection.wait_time"; + + /** Unit of the {@code db.client.connection.wait_time} metric. */ + public static final String DB_CLIENT_CONNECTION_WAIT_TIME_UNIT = "s"; + + /** Description of the {@code db.client.connection.wait_time} metric. */ + public static final String DB_CLIENT_CONNECTION_WAIT_TIME_DESCRIPTION = + "The time it took to obtain an open connection from the pool."; + + /** Name of the {@code db.client.connections.create_time} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_CREATE_TIME_NAME = + "db.client.connections.create_time"; + + /** Unit of the {@code db.client.connections.create_time} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_CREATE_TIME_UNIT = "ms"; + + /** Description of the {@code db.client.connections.create_time} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_CREATE_TIME_DESCRIPTION = + "Deprecated, use `db.client.connection.create_time` instead. Note: the unit also changed from `ms` to `s`."; + + /** Name of the {@code db.client.connections.idle.max} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_IDLE_MAX_NAME = "db.client.connections.idle.max"; + + /** Unit of the {@code db.client.connections.idle.max} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_IDLE_MAX_UNIT = "{connection}"; + + /** Description of the {@code db.client.connections.idle.max} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_IDLE_MAX_DESCRIPTION = + "Deprecated, use `db.client.connection.idle.max` instead."; + + /** Name of the {@code db.client.connections.idle.min} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_IDLE_MIN_NAME = "db.client.connections.idle.min"; + + /** Unit of the {@code db.client.connections.idle.min} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_IDLE_MIN_UNIT = "{connection}"; + + /** Description of the {@code db.client.connections.idle.min} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_IDLE_MIN_DESCRIPTION = + "Deprecated, use `db.client.connection.idle.min` instead."; + + /** Name of the {@code db.client.connections.max} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_MAX_NAME = "db.client.connections.max"; + + /** Unit of the {@code db.client.connections.max} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_MAX_UNIT = "{connection}"; + + /** Description of the {@code db.client.connections.max} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_MAX_DESCRIPTION = + "Deprecated, use `db.client.connection.max` instead."; + + /** Name of the {@code db.client.connections.pending_requests} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_PENDING_REQUESTS_NAME = + "db.client.connections.pending_requests"; + + /** Unit of the {@code db.client.connections.pending_requests} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_PENDING_REQUESTS_UNIT = "{request}"; + + /** Description of the {@code db.client.connections.pending_requests} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_PENDING_REQUESTS_DESCRIPTION = + "Deprecated, use `db.client.connection.pending_requests` instead."; + + /** Name of the {@code db.client.connections.timeouts} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_TIMEOUTS_NAME = "db.client.connections.timeouts"; + + /** Unit of the {@code db.client.connections.timeouts} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_TIMEOUTS_UNIT = "{timeout}"; + + /** Description of the {@code db.client.connections.timeouts} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_TIMEOUTS_DESCRIPTION = + "Deprecated, use `db.client.connection.timeouts` instead."; + + /** Name of the {@code db.client.connections.usage} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_USAGE_NAME = "db.client.connections.usage"; + + /** Unit of the {@code db.client.connections.usage} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_USAGE_UNIT = "{connection}"; + + /** Description of the {@code db.client.connections.usage} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_USAGE_DESCRIPTION = + "Deprecated, use `db.client.connection.count` instead."; + + /** Name of the {@code db.client.connections.use_time} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_USE_TIME_NAME = "db.client.connections.use_time"; + + /** Unit of the {@code db.client.connections.use_time} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_USE_TIME_UNIT = "ms"; + + /** Description of the {@code db.client.connections.use_time} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_USE_TIME_DESCRIPTION = + "Deprecated, use `db.client.connection.use_time` instead. Note: the unit also changed from `ms` to `s`."; + + /** Name of the {@code db.client.connections.wait_time} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_WAIT_TIME_NAME = + "db.client.connections.wait_time"; + + /** Unit of the {@code db.client.connections.wait_time} metric. */ + @Deprecated public static final String DB_CLIENT_CONNECTIONS_WAIT_TIME_UNIT = "ms"; + + /** Description of the {@code db.client.connections.wait_time} metric. */ + @Deprecated + public static final String DB_CLIENT_CONNECTIONS_WAIT_TIME_DESCRIPTION = + "Deprecated, use `db.client.connection.wait_time` instead. Note: the unit also changed from `ms` to `s`."; + + /** Name of the {@code db.client.cosmosdb.active_instance.count} metric. */ + @Deprecated + public static final String DB_CLIENT_COSMOSDB_ACTIVE_INSTANCE_COUNT_NAME = + "db.client.cosmosdb.active_instance.count"; + + /** Unit of the {@code db.client.cosmosdb.active_instance.count} metric. */ + @Deprecated + public static final String DB_CLIENT_COSMOSDB_ACTIVE_INSTANCE_COUNT_UNIT = "{instance}"; + + /** Description of the {@code db.client.cosmosdb.active_instance.count} metric. */ + @Deprecated + public static final String DB_CLIENT_COSMOSDB_ACTIVE_INSTANCE_COUNT_DESCRIPTION = + "Deprecated, use `azure.cosmosdb.client.active_instance.count` instead."; + + /** Name of the {@code db.client.cosmosdb.operation.request_charge} metric. */ + @Deprecated + public static final String DB_CLIENT_COSMOSDB_OPERATION_REQUEST_CHARGE_NAME = + "db.client.cosmosdb.operation.request_charge"; + + /** Unit of the {@code db.client.cosmosdb.operation.request_charge} metric. */ + @Deprecated + public static final String DB_CLIENT_COSMOSDB_OPERATION_REQUEST_CHARGE_UNIT = "{request_unit}"; + + /** Description of the {@code db.client.cosmosdb.operation.request_charge} metric. */ + @Deprecated + public static final String DB_CLIENT_COSMOSDB_OPERATION_REQUEST_CHARGE_DESCRIPTION = + "Deprecated, use `azure.cosmosdb.client.operation.request_charge` instead."; + + /** Name of the {@code db.client.operation.duration} metric. */ + public static final String DB_CLIENT_OPERATION_DURATION_NAME = "db.client.operation.duration"; + + /** Unit of the {@code db.client.operation.duration} metric. */ + public static final String DB_CLIENT_OPERATION_DURATION_UNIT = "s"; + + /** Description of the {@code db.client.operation.duration} metric. */ + public static final String DB_CLIENT_OPERATION_DURATION_DESCRIPTION = + "Duration of database client operations."; + + /** Name of the {@code db.client.response.returned_rows} metric. */ + public static final String DB_CLIENT_RESPONSE_RETURNED_ROWS_NAME = + "db.client.response.returned_rows"; + + /** Unit of the {@code db.client.response.returned_rows} metric. */ + public static final String DB_CLIENT_RESPONSE_RETURNED_ROWS_UNIT = "{row}"; + + /** Description of the {@code db.client.response.returned_rows} metric. */ + public static final String DB_CLIENT_RESPONSE_RETURNED_ROWS_DESCRIPTION = + "The actual number of records returned by the database operation."; + + private DbIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingMetrics.java new file mode 100644 index 0000000..18e03d9 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/DnsIncubatingMetrics.java @@ -0,0 +1,24 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class DnsIncubatingMetrics { + + /** Name of the {@code dns.lookup.duration} metric. */ + public static final String DNS_LOOKUP_DURATION_NAME = "dns.lookup.duration"; + + /** Unit of the {@code dns.lookup.duration} metric. */ + public static final String DNS_LOOKUP_DURATION_UNIT = "s"; + + /** Description of the {@code dns.lookup.duration} metric. */ + public static final String DNS_LOOKUP_DURATION_DESCRIPTION = + "Measures the time taken to perform a DNS lookup."; + + private DnsIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingMetrics.java new file mode 100644 index 0000000..51db7ce --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/FaasIncubatingMetrics.java @@ -0,0 +1,100 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class FaasIncubatingMetrics { + + /** Name of the {@code faas.coldstarts} metric. */ + public static final String FAAS_COLDSTARTS_NAME = "faas.coldstarts"; + + /** Unit of the {@code faas.coldstarts} metric. */ + public static final String FAAS_COLDSTARTS_UNIT = "{coldstart}"; + + /** Description of the {@code faas.coldstarts} metric. */ + public static final String FAAS_COLDSTARTS_DESCRIPTION = "Number of invocation cold starts."; + + /** Name of the {@code faas.cpu_usage} metric. */ + public static final String FAAS_CPU_USAGE_NAME = "faas.cpu_usage"; + + /** Unit of the {@code faas.cpu_usage} metric. */ + public static final String FAAS_CPU_USAGE_UNIT = "s"; + + /** Description of the {@code faas.cpu_usage} metric. */ + public static final String FAAS_CPU_USAGE_DESCRIPTION = + "Distribution of CPU usage per invocation."; + + /** Name of the {@code faas.errors} metric. */ + public static final String FAAS_ERRORS_NAME = "faas.errors"; + + /** Unit of the {@code faas.errors} metric. */ + public static final String FAAS_ERRORS_UNIT = "{error}"; + + /** Description of the {@code faas.errors} metric. */ + public static final String FAAS_ERRORS_DESCRIPTION = "Number of invocation errors."; + + /** Name of the {@code faas.init_duration} metric. */ + public static final String FAAS_INIT_DURATION_NAME = "faas.init_duration"; + + /** Unit of the {@code faas.init_duration} metric. */ + public static final String FAAS_INIT_DURATION_UNIT = "s"; + + /** Description of the {@code faas.init_duration} metric. */ + public static final String FAAS_INIT_DURATION_DESCRIPTION = + "Measures the duration of the function's initialization, such as a cold start."; + + /** Name of the {@code faas.invocations} metric. */ + public static final String FAAS_INVOCATIONS_NAME = "faas.invocations"; + + /** Unit of the {@code faas.invocations} metric. */ + public static final String FAAS_INVOCATIONS_UNIT = "{invocation}"; + + /** Description of the {@code faas.invocations} metric. */ + public static final String FAAS_INVOCATIONS_DESCRIPTION = "Number of successful invocations."; + + /** Name of the {@code faas.invoke_duration} metric. */ + public static final String FAAS_INVOKE_DURATION_NAME = "faas.invoke_duration"; + + /** Unit of the {@code faas.invoke_duration} metric. */ + public static final String FAAS_INVOKE_DURATION_UNIT = "s"; + + /** Description of the {@code faas.invoke_duration} metric. */ + public static final String FAAS_INVOKE_DURATION_DESCRIPTION = + "Measures the duration of the function's logic execution."; + + /** Name of the {@code faas.mem_usage} metric. */ + public static final String FAAS_MEM_USAGE_NAME = "faas.mem_usage"; + + /** Unit of the {@code faas.mem_usage} metric. */ + public static final String FAAS_MEM_USAGE_UNIT = "By"; + + /** Description of the {@code faas.mem_usage} metric. */ + public static final String FAAS_MEM_USAGE_DESCRIPTION = + "Distribution of max memory usage per invocation."; + + /** Name of the {@code faas.net_io} metric. */ + public static final String FAAS_NET_IO_NAME = "faas.net_io"; + + /** Unit of the {@code faas.net_io} metric. */ + public static final String FAAS_NET_IO_UNIT = "By"; + + /** Description of the {@code faas.net_io} metric. */ + public static final String FAAS_NET_IO_DESCRIPTION = + "Distribution of net I/O usage per invocation."; + + /** Name of the {@code faas.timeouts} metric. */ + public static final String FAAS_TIMEOUTS_NAME = "faas.timeouts"; + + /** Unit of the {@code faas.timeouts} metric. */ + public static final String FAAS_TIMEOUTS_UNIT = "{timeout}"; + + /** Description of the {@code faas.timeouts} metric. */ + public static final String FAAS_TIMEOUTS_DESCRIPTION = "Number of invocation timeouts."; + + private FaasIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingMetrics.java new file mode 100644 index 0000000..96b1e0b --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GenAiIncubatingMetrics.java @@ -0,0 +1,89 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class GenAiIncubatingMetrics { + + /** Name of the {@code gen_ai.client.operation.duration} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_DURATION_NAME = + "gen_ai.client.operation.duration"; + + /** Unit of the {@code gen_ai.client.operation.duration} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_DURATION_UNIT = "s"; + + /** Description of the {@code gen_ai.client.operation.duration} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_DURATION_DESCRIPTION = + "GenAI operation duration."; + + /** Name of the {@code gen_ai.client.operation.time_per_output_chunk} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_TIME_PER_OUTPUT_CHUNK_NAME = + "gen_ai.client.operation.time_per_output_chunk"; + + /** Unit of the {@code gen_ai.client.operation.time_per_output_chunk} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_TIME_PER_OUTPUT_CHUNK_UNIT = "s"; + + /** Description of the {@code gen_ai.client.operation.time_per_output_chunk} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_TIME_PER_OUTPUT_CHUNK_DESCRIPTION = + "Time per output chunk, recorded for each chunk received after the first one, measured as the time elapsed from the end of the previous chunk to the end of the current chunk. "; + + /** Name of the {@code gen_ai.client.operation.time_to_first_chunk} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_TIME_TO_FIRST_CHUNK_NAME = + "gen_ai.client.operation.time_to_first_chunk"; + + /** Unit of the {@code gen_ai.client.operation.time_to_first_chunk} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_TIME_TO_FIRST_CHUNK_UNIT = "s"; + + /** Description of the {@code gen_ai.client.operation.time_to_first_chunk} metric. */ + public static final String GEN_AI_CLIENT_OPERATION_TIME_TO_FIRST_CHUNK_DESCRIPTION = + "Time to receive the first chunk, measured from when the client issues the generation request to when the first chunk is received in the response stream."; + + /** Name of the {@code gen_ai.client.token.usage} metric. */ + public static final String GEN_AI_CLIENT_TOKEN_USAGE_NAME = "gen_ai.client.token.usage"; + + /** Unit of the {@code gen_ai.client.token.usage} metric. */ + public static final String GEN_AI_CLIENT_TOKEN_USAGE_UNIT = "{token}"; + + /** Description of the {@code gen_ai.client.token.usage} metric. */ + public static final String GEN_AI_CLIENT_TOKEN_USAGE_DESCRIPTION = + "Number of input and output tokens used."; + + /** Name of the {@code gen_ai.server.request.duration} metric. */ + public static final String GEN_AI_SERVER_REQUEST_DURATION_NAME = "gen_ai.server.request.duration"; + + /** Unit of the {@code gen_ai.server.request.duration} metric. */ + public static final String GEN_AI_SERVER_REQUEST_DURATION_UNIT = "s"; + + /** Description of the {@code gen_ai.server.request.duration} metric. */ + public static final String GEN_AI_SERVER_REQUEST_DURATION_DESCRIPTION = + "Generative AI server request duration such as time-to-last byte or last output token."; + + /** Name of the {@code gen_ai.server.time_per_output_token} metric. */ + public static final String GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN_NAME = + "gen_ai.server.time_per_output_token"; + + /** Unit of the {@code gen_ai.server.time_per_output_token} metric. */ + public static final String GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN_UNIT = "s"; + + /** Description of the {@code gen_ai.server.time_per_output_token} metric. */ + public static final String GEN_AI_SERVER_TIME_PER_OUTPUT_TOKEN_DESCRIPTION = + "Time per output token generated after the first token for successful responses."; + + /** Name of the {@code gen_ai.server.time_to_first_token} metric. */ + public static final String GEN_AI_SERVER_TIME_TO_FIRST_TOKEN_NAME = + "gen_ai.server.time_to_first_token"; + + /** Unit of the {@code gen_ai.server.time_to_first_token} metric. */ + public static final String GEN_AI_SERVER_TIME_TO_FIRST_TOKEN_UNIT = "s"; + + /** Description of the {@code gen_ai.server.time_to_first_token} metric. */ + public static final String GEN_AI_SERVER_TIME_TO_FIRST_TOKEN_DESCRIPTION = + "Time to generate first token for successful responses."; + + private GenAiIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingMetrics.java new file mode 100644 index 0000000..802af51 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/GoIncubatingMetrics.java @@ -0,0 +1,131 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class GoIncubatingMetrics { + + /** Name of the {@code go.config.gogc} metric. */ + public static final String GO_CONFIG_GOGC_NAME = "go.config.gogc"; + + /** Unit of the {@code go.config.gogc} metric. */ + public static final String GO_CONFIG_GOGC_UNIT = "%"; + + /** Description of the {@code go.config.gogc} metric. */ + public static final String GO_CONFIG_GOGC_DESCRIPTION = + "Heap size target percentage configured by the user, otherwise 100."; + + /** Name of the {@code go.cpu.time} metric. */ + public static final String GO_CPU_TIME_NAME = "go.cpu.time"; + + /** Unit of the {@code go.cpu.time} metric. */ + public static final String GO_CPU_TIME_UNIT = "s"; + + /** Description of the {@code go.cpu.time} metric. */ + public static final String GO_CPU_TIME_DESCRIPTION = + "Estimated CPU time spent by the Go runtime."; + + /** Name of the {@code go.goroutine.count} metric. */ + public static final String GO_GOROUTINE_COUNT_NAME = "go.goroutine.count"; + + /** Unit of the {@code go.goroutine.count} metric. */ + public static final String GO_GOROUTINE_COUNT_UNIT = "{goroutine}"; + + /** Description of the {@code go.goroutine.count} metric. */ + public static final String GO_GOROUTINE_COUNT_DESCRIPTION = "Count of live goroutines."; + + /** Name of the {@code go.memory.allocated} metric. */ + public static final String GO_MEMORY_ALLOCATED_NAME = "go.memory.allocated"; + + /** Unit of the {@code go.memory.allocated} metric. */ + public static final String GO_MEMORY_ALLOCATED_UNIT = "By"; + + /** Description of the {@code go.memory.allocated} metric. */ + public static final String GO_MEMORY_ALLOCATED_DESCRIPTION = + "Memory allocated to the heap by the application."; + + /** Name of the {@code go.memory.allocations} metric. */ + public static final String GO_MEMORY_ALLOCATIONS_NAME = "go.memory.allocations"; + + /** Unit of the {@code go.memory.allocations} metric. */ + public static final String GO_MEMORY_ALLOCATIONS_UNIT = "{allocation}"; + + /** Description of the {@code go.memory.allocations} metric. */ + public static final String GO_MEMORY_ALLOCATIONS_DESCRIPTION = + "Count of allocations to the heap by the application."; + + /** Name of the {@code go.memory.gc.cycles} metric. */ + public static final String GO_MEMORY_GC_CYCLES_NAME = "go.memory.gc.cycles"; + + /** Unit of the {@code go.memory.gc.cycles} metric. */ + public static final String GO_MEMORY_GC_CYCLES_UNIT = "{gc_cycle}"; + + /** Description of the {@code go.memory.gc.cycles} metric. */ + public static final String GO_MEMORY_GC_CYCLES_DESCRIPTION = "Number of completed GC cycles."; + + /** Name of the {@code go.memory.gc.goal} metric. */ + public static final String GO_MEMORY_GC_GOAL_NAME = "go.memory.gc.goal"; + + /** Unit of the {@code go.memory.gc.goal} metric. */ + public static final String GO_MEMORY_GC_GOAL_UNIT = "By"; + + /** Description of the {@code go.memory.gc.goal} metric. */ + public static final String GO_MEMORY_GC_GOAL_DESCRIPTION = + "Heap size target for the end of the GC cycle."; + + /** Name of the {@code go.memory.gc.pause.duration} metric. */ + public static final String GO_MEMORY_GC_PAUSE_DURATION_NAME = "go.memory.gc.pause.duration"; + + /** Unit of the {@code go.memory.gc.pause.duration} metric. */ + public static final String GO_MEMORY_GC_PAUSE_DURATION_UNIT = "s"; + + /** Description of the {@code go.memory.gc.pause.duration} metric. */ + public static final String GO_MEMORY_GC_PAUSE_DURATION_DESCRIPTION = + "Distribution of individual GC-related stop-the-world pause latencies. This is the time from deciding to stop the world until the world is started again."; + + /** Name of the {@code go.memory.limit} metric. */ + public static final String GO_MEMORY_LIMIT_NAME = "go.memory.limit"; + + /** Unit of the {@code go.memory.limit} metric. */ + public static final String GO_MEMORY_LIMIT_UNIT = "By"; + + /** Description of the {@code go.memory.limit} metric. */ + public static final String GO_MEMORY_LIMIT_DESCRIPTION = + "Go runtime memory limit configured by the user, if a limit exists."; + + /** Name of the {@code go.memory.used} metric. */ + public static final String GO_MEMORY_USED_NAME = "go.memory.used"; + + /** Unit of the {@code go.memory.used} metric. */ + public static final String GO_MEMORY_USED_UNIT = "By"; + + /** Description of the {@code go.memory.used} metric. */ + public static final String GO_MEMORY_USED_DESCRIPTION = "Memory used by the Go runtime."; + + /** Name of the {@code go.processor.limit} metric. */ + public static final String GO_PROCESSOR_LIMIT_NAME = "go.processor.limit"; + + /** Unit of the {@code go.processor.limit} metric. */ + public static final String GO_PROCESSOR_LIMIT_UNIT = "{thread}"; + + /** Description of the {@code go.processor.limit} metric. */ + public static final String GO_PROCESSOR_LIMIT_DESCRIPTION = + "The number of OS threads that can execute user-level Go code simultaneously."; + + /** Name of the {@code go.schedule.duration} metric. */ + public static final String GO_SCHEDULE_DURATION_NAME = "go.schedule.duration"; + + /** Unit of the {@code go.schedule.duration} metric. */ + public static final String GO_SCHEDULE_DURATION_UNIT = "s"; + + /** Description of the {@code go.schedule.duration} metric. */ + public static final String GO_SCHEDULE_DURATION_DESCRIPTION = + "The time goroutines have spent in the scheduler in a runnable state before actually running."; + + private GoIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingMetrics.java new file mode 100644 index 0000000..bb31ec1 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HttpIncubatingMetrics.java @@ -0,0 +1,115 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class HttpIncubatingMetrics { + + /** Name of the {@code http.client.active_requests} metric. */ + public static final String HTTP_CLIENT_ACTIVE_REQUESTS_NAME = "http.client.active_requests"; + + /** Unit of the {@code http.client.active_requests} metric. */ + public static final String HTTP_CLIENT_ACTIVE_REQUESTS_UNIT = "{request}"; + + /** Description of the {@code http.client.active_requests} metric. */ + public static final String HTTP_CLIENT_ACTIVE_REQUESTS_DESCRIPTION = + "Number of active HTTP requests."; + + /** Name of the {@code http.client.connection.duration} metric. */ + public static final String HTTP_CLIENT_CONNECTION_DURATION_NAME = + "http.client.connection.duration"; + + /** Unit of the {@code http.client.connection.duration} metric. */ + public static final String HTTP_CLIENT_CONNECTION_DURATION_UNIT = "s"; + + /** Description of the {@code http.client.connection.duration} metric. */ + public static final String HTTP_CLIENT_CONNECTION_DURATION_DESCRIPTION = + "The duration of the successfully established outbound HTTP connections."; + + /** Name of the {@code http.client.open_connections} metric. */ + public static final String HTTP_CLIENT_OPEN_CONNECTIONS_NAME = "http.client.open_connections"; + + /** Unit of the {@code http.client.open_connections} metric. */ + public static final String HTTP_CLIENT_OPEN_CONNECTIONS_UNIT = "{connection}"; + + /** Description of the {@code http.client.open_connections} metric. */ + public static final String HTTP_CLIENT_OPEN_CONNECTIONS_DESCRIPTION = + "Number of outbound HTTP connections that are currently active or idle on the client."; + + /** Name of the {@code http.client.request.body.size} metric. */ + public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_NAME = "http.client.request.body.size"; + + /** Unit of the {@code http.client.request.body.size} metric. */ + public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_UNIT = "By"; + + /** Description of the {@code http.client.request.body.size} metric. */ + public static final String HTTP_CLIENT_REQUEST_BODY_SIZE_DESCRIPTION = + "Size of HTTP client request bodies."; + + /** Name of the {@code http.client.request.duration} metric. */ + public static final String HTTP_CLIENT_REQUEST_DURATION_NAME = "http.client.request.duration"; + + /** Unit of the {@code http.client.request.duration} metric. */ + public static final String HTTP_CLIENT_REQUEST_DURATION_UNIT = "s"; + + /** Description of the {@code http.client.request.duration} metric. */ + public static final String HTTP_CLIENT_REQUEST_DURATION_DESCRIPTION = + "Duration of HTTP client requests."; + + /** Name of the {@code http.client.response.body.size} metric. */ + public static final String HTTP_CLIENT_RESPONSE_BODY_SIZE_NAME = "http.client.response.body.size"; + + /** Unit of the {@code http.client.response.body.size} metric. */ + public static final String HTTP_CLIENT_RESPONSE_BODY_SIZE_UNIT = "By"; + + /** Description of the {@code http.client.response.body.size} metric. */ + public static final String HTTP_CLIENT_RESPONSE_BODY_SIZE_DESCRIPTION = + "Size of HTTP client response bodies."; + + /** Name of the {@code http.server.active_requests} metric. */ + public static final String HTTP_SERVER_ACTIVE_REQUESTS_NAME = "http.server.active_requests"; + + /** Unit of the {@code http.server.active_requests} metric. */ + public static final String HTTP_SERVER_ACTIVE_REQUESTS_UNIT = "{request}"; + + /** Description of the {@code http.server.active_requests} metric. */ + public static final String HTTP_SERVER_ACTIVE_REQUESTS_DESCRIPTION = + "Number of active HTTP server requests."; + + /** Name of the {@code http.server.request.body.size} metric. */ + public static final String HTTP_SERVER_REQUEST_BODY_SIZE_NAME = "http.server.request.body.size"; + + /** Unit of the {@code http.server.request.body.size} metric. */ + public static final String HTTP_SERVER_REQUEST_BODY_SIZE_UNIT = "By"; + + /** Description of the {@code http.server.request.body.size} metric. */ + public static final String HTTP_SERVER_REQUEST_BODY_SIZE_DESCRIPTION = + "Size of HTTP server request bodies."; + + /** Name of the {@code http.server.request.duration} metric. */ + public static final String HTTP_SERVER_REQUEST_DURATION_NAME = "http.server.request.duration"; + + /** Unit of the {@code http.server.request.duration} metric. */ + public static final String HTTP_SERVER_REQUEST_DURATION_UNIT = "s"; + + /** Description of the {@code http.server.request.duration} metric. */ + public static final String HTTP_SERVER_REQUEST_DURATION_DESCRIPTION = + "Duration of HTTP server requests."; + + /** Name of the {@code http.server.response.body.size} metric. */ + public static final String HTTP_SERVER_RESPONSE_BODY_SIZE_NAME = "http.server.response.body.size"; + + /** Unit of the {@code http.server.response.body.size} metric. */ + public static final String HTTP_SERVER_RESPONSE_BODY_SIZE_UNIT = "By"; + + /** Description of the {@code http.server.response.body.size} metric. */ + public static final String HTTP_SERVER_RESPONSE_BODY_SIZE_DESCRIPTION = + "Size of HTTP server response bodies."; + + private HttpIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HwIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HwIncubatingMetrics.java new file mode 100644 index 0000000..4e98655 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/HwIncubatingMetrics.java @@ -0,0 +1,417 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class HwIncubatingMetrics { + + /** Name of the {@code hw.battery.charge} metric. */ + public static final String HW_BATTERY_CHARGE_NAME = "hw.battery.charge"; + + /** Unit of the {@code hw.battery.charge} metric. */ + public static final String HW_BATTERY_CHARGE_UNIT = "1"; + + /** Description of the {@code hw.battery.charge} metric. */ + public static final String HW_BATTERY_CHARGE_DESCRIPTION = + "Remaining fraction of battery charge."; + + /** Name of the {@code hw.battery.charge.limit} metric. */ + public static final String HW_BATTERY_CHARGE_LIMIT_NAME = "hw.battery.charge.limit"; + + /** Unit of the {@code hw.battery.charge.limit} metric. */ + public static final String HW_BATTERY_CHARGE_LIMIT_UNIT = "1"; + + /** Description of the {@code hw.battery.charge.limit} metric. */ + public static final String HW_BATTERY_CHARGE_LIMIT_DESCRIPTION = + "Lower limit of battery charge fraction to ensure proper operation."; + + /** Name of the {@code hw.battery.time_left} metric. */ + public static final String HW_BATTERY_TIME_LEFT_NAME = "hw.battery.time_left"; + + /** Unit of the {@code hw.battery.time_left} metric. */ + public static final String HW_BATTERY_TIME_LEFT_UNIT = "s"; + + /** Description of the {@code hw.battery.time_left} metric. */ + public static final String HW_BATTERY_TIME_LEFT_DESCRIPTION = + "Time left before battery is completely charged or discharged."; + + /** Name of the {@code hw.cpu.speed} metric. */ + public static final String HW_CPU_SPEED_NAME = "hw.cpu.speed"; + + /** Unit of the {@code hw.cpu.speed} metric. */ + public static final String HW_CPU_SPEED_UNIT = "Hz"; + + /** Description of the {@code hw.cpu.speed} metric. */ + public static final String HW_CPU_SPEED_DESCRIPTION = "CPU current frequency."; + + /** Name of the {@code hw.cpu.speed.limit} metric. */ + public static final String HW_CPU_SPEED_LIMIT_NAME = "hw.cpu.speed.limit"; + + /** Unit of the {@code hw.cpu.speed.limit} metric. */ + public static final String HW_CPU_SPEED_LIMIT_UNIT = "Hz"; + + /** Description of the {@code hw.cpu.speed.limit} metric. */ + public static final String HW_CPU_SPEED_LIMIT_DESCRIPTION = "CPU maximum frequency."; + + /** Name of the {@code hw.energy} metric. */ + public static final String HW_ENERGY_NAME = "hw.energy"; + + /** Unit of the {@code hw.energy} metric. */ + public static final String HW_ENERGY_UNIT = "J"; + + /** Description of the {@code hw.energy} metric. */ + public static final String HW_ENERGY_DESCRIPTION = "Energy consumed by the component."; + + /** Name of the {@code hw.errors} metric. */ + public static final String HW_ERRORS_NAME = "hw.errors"; + + /** Unit of the {@code hw.errors} metric. */ + public static final String HW_ERRORS_UNIT = "{error}"; + + /** Description of the {@code hw.errors} metric. */ + public static final String HW_ERRORS_DESCRIPTION = + "Number of errors encountered by the component."; + + /** Name of the {@code hw.fan.speed} metric. */ + public static final String HW_FAN_SPEED_NAME = "hw.fan.speed"; + + /** Unit of the {@code hw.fan.speed} metric. */ + public static final String HW_FAN_SPEED_UNIT = "rpm"; + + /** Description of the {@code hw.fan.speed} metric. */ + public static final String HW_FAN_SPEED_DESCRIPTION = "Fan speed in revolutions per minute."; + + /** Name of the {@code hw.fan.speed.limit} metric. */ + public static final String HW_FAN_SPEED_LIMIT_NAME = "hw.fan.speed.limit"; + + /** Unit of the {@code hw.fan.speed.limit} metric. */ + public static final String HW_FAN_SPEED_LIMIT_UNIT = "rpm"; + + /** Description of the {@code hw.fan.speed.limit} metric. */ + public static final String HW_FAN_SPEED_LIMIT_DESCRIPTION = "Speed limit in rpm."; + + /** Name of the {@code hw.fan.speed_ratio} metric. */ + public static final String HW_FAN_SPEED_RATIO_NAME = "hw.fan.speed_ratio"; + + /** Unit of the {@code hw.fan.speed_ratio} metric. */ + public static final String HW_FAN_SPEED_RATIO_UNIT = "1"; + + /** Description of the {@code hw.fan.speed_ratio} metric. */ + public static final String HW_FAN_SPEED_RATIO_DESCRIPTION = + "Fan speed expressed as a fraction of its maximum speed."; + + /** Name of the {@code hw.gpu.io} metric. */ + public static final String HW_GPU_IO_NAME = "hw.gpu.io"; + + /** Unit of the {@code hw.gpu.io} metric. */ + public static final String HW_GPU_IO_UNIT = "By"; + + /** Description of the {@code hw.gpu.io} metric. */ + public static final String HW_GPU_IO_DESCRIPTION = "Received and transmitted bytes by the GPU."; + + /** Name of the {@code hw.gpu.memory.limit} metric. */ + public static final String HW_GPU_MEMORY_LIMIT_NAME = "hw.gpu.memory.limit"; + + /** Unit of the {@code hw.gpu.memory.limit} metric. */ + public static final String HW_GPU_MEMORY_LIMIT_UNIT = "By"; + + /** Description of the {@code hw.gpu.memory.limit} metric. */ + public static final String HW_GPU_MEMORY_LIMIT_DESCRIPTION = "Size of the GPU memory."; + + /** Name of the {@code hw.gpu.memory.usage} metric. */ + public static final String HW_GPU_MEMORY_USAGE_NAME = "hw.gpu.memory.usage"; + + /** Unit of the {@code hw.gpu.memory.usage} metric. */ + public static final String HW_GPU_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code hw.gpu.memory.usage} metric. */ + public static final String HW_GPU_MEMORY_USAGE_DESCRIPTION = "GPU memory used."; + + /** Name of the {@code hw.gpu.memory.utilization} metric. */ + public static final String HW_GPU_MEMORY_UTILIZATION_NAME = "hw.gpu.memory.utilization"; + + /** Unit of the {@code hw.gpu.memory.utilization} metric. */ + public static final String HW_GPU_MEMORY_UTILIZATION_UNIT = "1"; + + /** Description of the {@code hw.gpu.memory.utilization} metric. */ + public static final String HW_GPU_MEMORY_UTILIZATION_DESCRIPTION = "Fraction of GPU memory used."; + + /** Name of the {@code hw.gpu.utilization} metric. */ + public static final String HW_GPU_UTILIZATION_NAME = "hw.gpu.utilization"; + + /** Unit of the {@code hw.gpu.utilization} metric. */ + public static final String HW_GPU_UTILIZATION_UNIT = "1"; + + /** Description of the {@code hw.gpu.utilization} metric. */ + public static final String HW_GPU_UTILIZATION_DESCRIPTION = + "Fraction of time spent in a specific task."; + + /** Name of the {@code hw.host.ambient_temperature} metric. */ + public static final String HW_HOST_AMBIENT_TEMPERATURE_NAME = "hw.host.ambient_temperature"; + + /** Unit of the {@code hw.host.ambient_temperature} metric. */ + public static final String HW_HOST_AMBIENT_TEMPERATURE_UNIT = "Cel"; + + /** Description of the {@code hw.host.ambient_temperature} metric. */ + public static final String HW_HOST_AMBIENT_TEMPERATURE_DESCRIPTION = + "Ambient (external) temperature of the physical host."; + + /** Name of the {@code hw.host.energy} metric. */ + public static final String HW_HOST_ENERGY_NAME = "hw.host.energy"; + + /** Unit of the {@code hw.host.energy} metric. */ + public static final String HW_HOST_ENERGY_UNIT = "J"; + + /** Description of the {@code hw.host.energy} metric. */ + public static final String HW_HOST_ENERGY_DESCRIPTION = + "Total energy consumed by the entire physical host, in joules."; + + /** Name of the {@code hw.host.heating_margin} metric. */ + public static final String HW_HOST_HEATING_MARGIN_NAME = "hw.host.heating_margin"; + + /** Unit of the {@code hw.host.heating_margin} metric. */ + public static final String HW_HOST_HEATING_MARGIN_UNIT = "Cel"; + + /** Description of the {@code hw.host.heating_margin} metric. */ + public static final String HW_HOST_HEATING_MARGIN_DESCRIPTION = + "By how many degrees Celsius the temperature of the physical host can be increased, before reaching a warning threshold on one of the internal sensors. "; + + /** Name of the {@code hw.host.power} metric. */ + public static final String HW_HOST_POWER_NAME = "hw.host.power"; + + /** Unit of the {@code hw.host.power} metric. */ + public static final String HW_HOST_POWER_UNIT = "W"; + + /** Description of the {@code hw.host.power} metric. */ + public static final String HW_HOST_POWER_DESCRIPTION = + "Instantaneous power consumed by the entire physical host in Watts (`hw.host.energy` is preferred). "; + + /** Name of the {@code hw.logical_disk.limit} metric. */ + public static final String HW_LOGICAL_DISK_LIMIT_NAME = "hw.logical_disk.limit"; + + /** Unit of the {@code hw.logical_disk.limit} metric. */ + public static final String HW_LOGICAL_DISK_LIMIT_UNIT = "By"; + + /** Description of the {@code hw.logical_disk.limit} metric. */ + public static final String HW_LOGICAL_DISK_LIMIT_DESCRIPTION = "Size of the logical disk."; + + /** Name of the {@code hw.logical_disk.usage} metric. */ + public static final String HW_LOGICAL_DISK_USAGE_NAME = "hw.logical_disk.usage"; + + /** Unit of the {@code hw.logical_disk.usage} metric. */ + public static final String HW_LOGICAL_DISK_USAGE_UNIT = "By"; + + /** Description of the {@code hw.logical_disk.usage} metric. */ + public static final String HW_LOGICAL_DISK_USAGE_DESCRIPTION = "Logical disk space usage."; + + /** Name of the {@code hw.logical_disk.utilization} metric. */ + public static final String HW_LOGICAL_DISK_UTILIZATION_NAME = "hw.logical_disk.utilization"; + + /** Unit of the {@code hw.logical_disk.utilization} metric. */ + public static final String HW_LOGICAL_DISK_UTILIZATION_UNIT = "1"; + + /** Description of the {@code hw.logical_disk.utilization} metric. */ + public static final String HW_LOGICAL_DISK_UTILIZATION_DESCRIPTION = + "Logical disk space utilization as a fraction."; + + /** Name of the {@code hw.memory.size} metric. */ + public static final String HW_MEMORY_SIZE_NAME = "hw.memory.size"; + + /** Unit of the {@code hw.memory.size} metric. */ + public static final String HW_MEMORY_SIZE_UNIT = "By"; + + /** Description of the {@code hw.memory.size} metric. */ + public static final String HW_MEMORY_SIZE_DESCRIPTION = "Size of the memory module."; + + /** Name of the {@code hw.network.bandwidth.limit} metric. */ + public static final String HW_NETWORK_BANDWIDTH_LIMIT_NAME = "hw.network.bandwidth.limit"; + + /** Unit of the {@code hw.network.bandwidth.limit} metric. */ + public static final String HW_NETWORK_BANDWIDTH_LIMIT_UNIT = "By/s"; + + /** Description of the {@code hw.network.bandwidth.limit} metric. */ + public static final String HW_NETWORK_BANDWIDTH_LIMIT_DESCRIPTION = "Link speed."; + + /** Name of the {@code hw.network.bandwidth.utilization} metric. */ + public static final String HW_NETWORK_BANDWIDTH_UTILIZATION_NAME = + "hw.network.bandwidth.utilization"; + + /** Unit of the {@code hw.network.bandwidth.utilization} metric. */ + public static final String HW_NETWORK_BANDWIDTH_UTILIZATION_UNIT = "1"; + + /** Description of the {@code hw.network.bandwidth.utilization} metric. */ + public static final String HW_NETWORK_BANDWIDTH_UTILIZATION_DESCRIPTION = + "Utilization of the network bandwidth as a fraction."; + + /** Name of the {@code hw.network.io} metric. */ + public static final String HW_NETWORK_IO_NAME = "hw.network.io"; + + /** Unit of the {@code hw.network.io} metric. */ + public static final String HW_NETWORK_IO_UNIT = "By"; + + /** Description of the {@code hw.network.io} metric. */ + public static final String HW_NETWORK_IO_DESCRIPTION = + "Received and transmitted network traffic in bytes."; + + /** Name of the {@code hw.network.packets} metric. */ + public static final String HW_NETWORK_PACKETS_NAME = "hw.network.packets"; + + /** Unit of the {@code hw.network.packets} metric. */ + public static final String HW_NETWORK_PACKETS_UNIT = "{packet}"; + + /** Description of the {@code hw.network.packets} metric. */ + public static final String HW_NETWORK_PACKETS_DESCRIPTION = + "Received and transmitted network traffic in packets (or frames)."; + + /** Name of the {@code hw.network.up} metric. */ + public static final String HW_NETWORK_UP_NAME = "hw.network.up"; + + /** Unit of the {@code hw.network.up} metric. */ + public static final String HW_NETWORK_UP_UNIT = "1"; + + /** Description of the {@code hw.network.up} metric. */ + public static final String HW_NETWORK_UP_DESCRIPTION = "Link status: `1` (up) or `0` (down)."; + + /** Name of the {@code hw.physical_disk.endurance_utilization} metric. */ + public static final String HW_PHYSICAL_DISK_ENDURANCE_UTILIZATION_NAME = + "hw.physical_disk.endurance_utilization"; + + /** Unit of the {@code hw.physical_disk.endurance_utilization} metric. */ + public static final String HW_PHYSICAL_DISK_ENDURANCE_UTILIZATION_UNIT = "1"; + + /** Description of the {@code hw.physical_disk.endurance_utilization} metric. */ + public static final String HW_PHYSICAL_DISK_ENDURANCE_UTILIZATION_DESCRIPTION = + "Endurance remaining for this SSD disk."; + + /** Name of the {@code hw.physical_disk.size} metric. */ + public static final String HW_PHYSICAL_DISK_SIZE_NAME = "hw.physical_disk.size"; + + /** Unit of the {@code hw.physical_disk.size} metric. */ + public static final String HW_PHYSICAL_DISK_SIZE_UNIT = "By"; + + /** Description of the {@code hw.physical_disk.size} metric. */ + public static final String HW_PHYSICAL_DISK_SIZE_DESCRIPTION = "Size of the disk."; + + /** Name of the {@code hw.physical_disk.smart} metric. */ + public static final String HW_PHYSICAL_DISK_SMART_NAME = "hw.physical_disk.smart"; + + /** Unit of the {@code hw.physical_disk.smart} metric. */ + public static final String HW_PHYSICAL_DISK_SMART_UNIT = "1"; + + /** Description of the {@code hw.physical_disk.smart} metric. */ + public static final String HW_PHYSICAL_DISK_SMART_DESCRIPTION = + "Value of the corresponding [S.M.A.R.T.](https://wikipedia.org/wiki/S.M.A.R.T.) (Self-Monitoring, Analysis, and Reporting Technology) attribute."; + + /** Name of the {@code hw.power} metric. */ + public static final String HW_POWER_NAME = "hw.power"; + + /** Unit of the {@code hw.power} metric. */ + public static final String HW_POWER_UNIT = "W"; + + /** Description of the {@code hw.power} metric. */ + public static final String HW_POWER_DESCRIPTION = + "Instantaneous power consumed by the component."; + + /** Name of the {@code hw.power_supply.limit} metric. */ + public static final String HW_POWER_SUPPLY_LIMIT_NAME = "hw.power_supply.limit"; + + /** Unit of the {@code hw.power_supply.limit} metric. */ + public static final String HW_POWER_SUPPLY_LIMIT_UNIT = "W"; + + /** Description of the {@code hw.power_supply.limit} metric. */ + public static final String HW_POWER_SUPPLY_LIMIT_DESCRIPTION = + "Maximum power output of the power supply."; + + /** Name of the {@code hw.power_supply.usage} metric. */ + public static final String HW_POWER_SUPPLY_USAGE_NAME = "hw.power_supply.usage"; + + /** Unit of the {@code hw.power_supply.usage} metric. */ + public static final String HW_POWER_SUPPLY_USAGE_UNIT = "W"; + + /** Description of the {@code hw.power_supply.usage} metric. */ + public static final String HW_POWER_SUPPLY_USAGE_DESCRIPTION = + "Current power output of the power supply."; + + /** Name of the {@code hw.power_supply.utilization} metric. */ + public static final String HW_POWER_SUPPLY_UTILIZATION_NAME = "hw.power_supply.utilization"; + + /** Unit of the {@code hw.power_supply.utilization} metric. */ + public static final String HW_POWER_SUPPLY_UTILIZATION_UNIT = "1"; + + /** Description of the {@code hw.power_supply.utilization} metric. */ + public static final String HW_POWER_SUPPLY_UTILIZATION_DESCRIPTION = + "Utilization of the power supply as a fraction of its maximum output."; + + /** Name of the {@code hw.status} metric. */ + public static final String HW_STATUS_NAME = "hw.status"; + + /** Unit of the {@code hw.status} metric. */ + public static final String HW_STATUS_UNIT = "1"; + + /** Description of the {@code hw.status} metric. */ + public static final String HW_STATUS_DESCRIPTION = + "Operational status: `1` (true) or `0` (false) for each of the possible states."; + + /** Name of the {@code hw.tape_drive.operations} metric. */ + public static final String HW_TAPE_DRIVE_OPERATIONS_NAME = "hw.tape_drive.operations"; + + /** Unit of the {@code hw.tape_drive.operations} metric. */ + public static final String HW_TAPE_DRIVE_OPERATIONS_UNIT = "{operation}"; + + /** Description of the {@code hw.tape_drive.operations} metric. */ + public static final String HW_TAPE_DRIVE_OPERATIONS_DESCRIPTION = + "Operations performed by the tape drive."; + + /** Name of the {@code hw.temperature} metric. */ + public static final String HW_TEMPERATURE_NAME = "hw.temperature"; + + /** Unit of the {@code hw.temperature} metric. */ + public static final String HW_TEMPERATURE_UNIT = "Cel"; + + /** Description of the {@code hw.temperature} metric. */ + public static final String HW_TEMPERATURE_DESCRIPTION = "Temperature in degrees Celsius."; + + /** Name of the {@code hw.temperature.limit} metric. */ + public static final String HW_TEMPERATURE_LIMIT_NAME = "hw.temperature.limit"; + + /** Unit of the {@code hw.temperature.limit} metric. */ + public static final String HW_TEMPERATURE_LIMIT_UNIT = "Cel"; + + /** Description of the {@code hw.temperature.limit} metric. */ + public static final String HW_TEMPERATURE_LIMIT_DESCRIPTION = + "Temperature limit in degrees Celsius."; + + /** Name of the {@code hw.voltage} metric. */ + public static final String HW_VOLTAGE_NAME = "hw.voltage"; + + /** Unit of the {@code hw.voltage} metric. */ + public static final String HW_VOLTAGE_UNIT = "V"; + + /** Description of the {@code hw.voltage} metric. */ + public static final String HW_VOLTAGE_DESCRIPTION = "Voltage measured by the sensor."; + + /** Name of the {@code hw.voltage.limit} metric. */ + public static final String HW_VOLTAGE_LIMIT_NAME = "hw.voltage.limit"; + + /** Unit of the {@code hw.voltage.limit} metric. */ + public static final String HW_VOLTAGE_LIMIT_UNIT = "V"; + + /** Description of the {@code hw.voltage.limit} metric. */ + public static final String HW_VOLTAGE_LIMIT_DESCRIPTION = "Voltage limit in Volts."; + + /** Name of the {@code hw.voltage.nominal} metric. */ + public static final String HW_VOLTAGE_NOMINAL_NAME = "hw.voltage.nominal"; + + /** Unit of the {@code hw.voltage.nominal} metric. */ + public static final String HW_VOLTAGE_NOMINAL_UNIT = "V"; + + /** Description of the {@code hw.voltage.nominal} metric. */ + public static final String HW_VOLTAGE_NOMINAL_DESCRIPTION = "Nominal (expected) voltage."; + + private HwIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingMetrics.java new file mode 100644 index 0000000..02be6d0 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/JvmIncubatingMetrics.java @@ -0,0 +1,218 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class JvmIncubatingMetrics { + + /** Name of the {@code jvm.buffer.count} metric. */ + public static final String JVM_BUFFER_COUNT_NAME = "jvm.buffer.count"; + + /** Unit of the {@code jvm.buffer.count} metric. */ + public static final String JVM_BUFFER_COUNT_UNIT = "{buffer}"; + + /** Description of the {@code jvm.buffer.count} metric. */ + public static final String JVM_BUFFER_COUNT_DESCRIPTION = "Number of buffers in the pool."; + + /** Name of the {@code jvm.buffer.memory.limit} metric. */ + public static final String JVM_BUFFER_MEMORY_LIMIT_NAME = "jvm.buffer.memory.limit"; + + /** Unit of the {@code jvm.buffer.memory.limit} metric. */ + public static final String JVM_BUFFER_MEMORY_LIMIT_UNIT = "By"; + + /** Description of the {@code jvm.buffer.memory.limit} metric. */ + public static final String JVM_BUFFER_MEMORY_LIMIT_DESCRIPTION = + "Measure of total memory capacity of buffers."; + + /** Name of the {@code jvm.buffer.memory.usage} metric. */ + @Deprecated public static final String JVM_BUFFER_MEMORY_USAGE_NAME = "jvm.buffer.memory.usage"; + + /** Unit of the {@code jvm.buffer.memory.usage} metric. */ + @Deprecated public static final String JVM_BUFFER_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code jvm.buffer.memory.usage} metric. */ + @Deprecated + public static final String JVM_BUFFER_MEMORY_USAGE_DESCRIPTION = + "Deprecated, use `jvm.buffer.memory.used` instead."; + + /** Name of the {@code jvm.buffer.memory.used} metric. */ + public static final String JVM_BUFFER_MEMORY_USED_NAME = "jvm.buffer.memory.used"; + + /** Unit of the {@code jvm.buffer.memory.used} metric. */ + public static final String JVM_BUFFER_MEMORY_USED_UNIT = "By"; + + /** Description of the {@code jvm.buffer.memory.used} metric. */ + public static final String JVM_BUFFER_MEMORY_USED_DESCRIPTION = + "Measure of memory used by buffers."; + + /** Name of the {@code jvm.class.count} metric. */ + public static final String JVM_CLASS_COUNT_NAME = "jvm.class.count"; + + /** Unit of the {@code jvm.class.count} metric. */ + public static final String JVM_CLASS_COUNT_UNIT = "{class}"; + + /** Description of the {@code jvm.class.count} metric. */ + public static final String JVM_CLASS_COUNT_DESCRIPTION = "Number of classes currently loaded."; + + /** Name of the {@code jvm.class.loaded} metric. */ + public static final String JVM_CLASS_LOADED_NAME = "jvm.class.loaded"; + + /** Unit of the {@code jvm.class.loaded} metric. */ + public static final String JVM_CLASS_LOADED_UNIT = "{class}"; + + /** Description of the {@code jvm.class.loaded} metric. */ + public static final String JVM_CLASS_LOADED_DESCRIPTION = + "Number of classes loaded since JVM start."; + + /** Name of the {@code jvm.class.unloaded} metric. */ + public static final String JVM_CLASS_UNLOADED_NAME = "jvm.class.unloaded"; + + /** Unit of the {@code jvm.class.unloaded} metric. */ + public static final String JVM_CLASS_UNLOADED_UNIT = "{class}"; + + /** Description of the {@code jvm.class.unloaded} metric. */ + public static final String JVM_CLASS_UNLOADED_DESCRIPTION = + "Number of classes unloaded since JVM start."; + + /** Name of the {@code jvm.cpu.count} metric. */ + public static final String JVM_CPU_COUNT_NAME = "jvm.cpu.count"; + + /** Unit of the {@code jvm.cpu.count} metric. */ + public static final String JVM_CPU_COUNT_UNIT = "{cpu}"; + + /** Description of the {@code jvm.cpu.count} metric. */ + public static final String JVM_CPU_COUNT_DESCRIPTION = + "Number of processors available to the Java virtual machine."; + + /** Name of the {@code jvm.cpu.recent_utilization} metric. */ + public static final String JVM_CPU_RECENT_UTILIZATION_NAME = "jvm.cpu.recent_utilization"; + + /** Unit of the {@code jvm.cpu.recent_utilization} metric. */ + public static final String JVM_CPU_RECENT_UTILIZATION_UNIT = "1"; + + /** Description of the {@code jvm.cpu.recent_utilization} metric. */ + public static final String JVM_CPU_RECENT_UTILIZATION_DESCRIPTION = + "Recent CPU utilization for the process as reported by the JVM."; + + /** Name of the {@code jvm.cpu.time} metric. */ + public static final String JVM_CPU_TIME_NAME = "jvm.cpu.time"; + + /** Unit of the {@code jvm.cpu.time} metric. */ + public static final String JVM_CPU_TIME_UNIT = "s"; + + /** Description of the {@code jvm.cpu.time} metric. */ + public static final String JVM_CPU_TIME_DESCRIPTION = + "CPU time used by the process as reported by the JVM."; + + /** Name of the {@code jvm.file_descriptor.count} metric. */ + public static final String JVM_FILE_DESCRIPTOR_COUNT_NAME = "jvm.file_descriptor.count"; + + /** Unit of the {@code jvm.file_descriptor.count} metric. */ + public static final String JVM_FILE_DESCRIPTOR_COUNT_UNIT = "{file_descriptor}"; + + /** Description of the {@code jvm.file_descriptor.count} metric. */ + public static final String JVM_FILE_DESCRIPTOR_COUNT_DESCRIPTION = + "Number of open file descriptors as reported by the JVM."; + + /** Name of the {@code jvm.file_descriptor.limit} metric. */ + public static final String JVM_FILE_DESCRIPTOR_LIMIT_NAME = "jvm.file_descriptor.limit"; + + /** Unit of the {@code jvm.file_descriptor.limit} metric. */ + public static final String JVM_FILE_DESCRIPTOR_LIMIT_UNIT = "{file_descriptor}"; + + /** Description of the {@code jvm.file_descriptor.limit} metric. */ + public static final String JVM_FILE_DESCRIPTOR_LIMIT_DESCRIPTION = + "Measure of max open file descriptors as reported by the JVM."; + + /** Name of the {@code jvm.gc.duration} metric. */ + public static final String JVM_GC_DURATION_NAME = "jvm.gc.duration"; + + /** Unit of the {@code jvm.gc.duration} metric. */ + public static final String JVM_GC_DURATION_UNIT = "s"; + + /** Description of the {@code jvm.gc.duration} metric. */ + public static final String JVM_GC_DURATION_DESCRIPTION = + "Duration of JVM garbage collection actions."; + + /** Name of the {@code jvm.memory.committed} metric. */ + public static final String JVM_MEMORY_COMMITTED_NAME = "jvm.memory.committed"; + + /** Unit of the {@code jvm.memory.committed} metric. */ + public static final String JVM_MEMORY_COMMITTED_UNIT = "By"; + + /** Description of the {@code jvm.memory.committed} metric. */ + public static final String JVM_MEMORY_COMMITTED_DESCRIPTION = "Measure of memory committed."; + + /** Name of the {@code jvm.memory.init} metric. */ + public static final String JVM_MEMORY_INIT_NAME = "jvm.memory.init"; + + /** Unit of the {@code jvm.memory.init} metric. */ + public static final String JVM_MEMORY_INIT_UNIT = "By"; + + /** Description of the {@code jvm.memory.init} metric. */ + public static final String JVM_MEMORY_INIT_DESCRIPTION = "Measure of initial memory requested."; + + /** Name of the {@code jvm.memory.limit} metric. */ + public static final String JVM_MEMORY_LIMIT_NAME = "jvm.memory.limit"; + + /** Unit of the {@code jvm.memory.limit} metric. */ + public static final String JVM_MEMORY_LIMIT_UNIT = "By"; + + /** Description of the {@code jvm.memory.limit} metric. */ + public static final String JVM_MEMORY_LIMIT_DESCRIPTION = "Measure of max obtainable memory."; + + /** Name of the {@code jvm.memory.used} metric. */ + public static final String JVM_MEMORY_USED_NAME = "jvm.memory.used"; + + /** Unit of the {@code jvm.memory.used} metric. */ + public static final String JVM_MEMORY_USED_UNIT = "By"; + + /** Description of the {@code jvm.memory.used} metric. */ + public static final String JVM_MEMORY_USED_DESCRIPTION = "Measure of memory used."; + + /** Name of the {@code jvm.memory.used_after_last_gc} metric. */ + public static final String JVM_MEMORY_USED_AFTER_LAST_GC_NAME = "jvm.memory.used_after_last_gc"; + + /** Unit of the {@code jvm.memory.used_after_last_gc} metric. */ + public static final String JVM_MEMORY_USED_AFTER_LAST_GC_UNIT = "By"; + + /** Description of the {@code jvm.memory.used_after_last_gc} metric. */ + public static final String JVM_MEMORY_USED_AFTER_LAST_GC_DESCRIPTION = + "Measure of memory used, as measured after the most recent garbage collection event on this pool."; + + /** Name of the {@code jvm.system.cpu.load_1m} metric. */ + public static final String JVM_SYSTEM_CPU_LOAD_1M_NAME = "jvm.system.cpu.load_1m"; + + /** Unit of the {@code jvm.system.cpu.load_1m} metric. */ + public static final String JVM_SYSTEM_CPU_LOAD_1M_UNIT = "{run_queue_item}"; + + /** Description of the {@code jvm.system.cpu.load_1m} metric. */ + public static final String JVM_SYSTEM_CPU_LOAD_1M_DESCRIPTION = + "Average CPU load of the whole system for the last minute as reported by the JVM."; + + /** Name of the {@code jvm.system.cpu.utilization} metric. */ + public static final String JVM_SYSTEM_CPU_UTILIZATION_NAME = "jvm.system.cpu.utilization"; + + /** Unit of the {@code jvm.system.cpu.utilization} metric. */ + public static final String JVM_SYSTEM_CPU_UTILIZATION_UNIT = "1"; + + /** Description of the {@code jvm.system.cpu.utilization} metric. */ + public static final String JVM_SYSTEM_CPU_UTILIZATION_DESCRIPTION = + "Recent CPU utilization for the whole system as reported by the JVM."; + + /** Name of the {@code jvm.thread.count} metric. */ + public static final String JVM_THREAD_COUNT_NAME = "jvm.thread.count"; + + /** Unit of the {@code jvm.thread.count} metric. */ + public static final String JVM_THREAD_COUNT_UNIT = "{thread}"; + + /** Description of the {@code jvm.thread.count} metric. */ + public static final String JVM_THREAD_COUNT_DESCRIPTION = "Number of executing platform threads."; + + private JvmIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingMetrics.java new file mode 100644 index 0000000..0f06f84 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/K8sIncubatingMetrics.java @@ -0,0 +1,1612 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class K8sIncubatingMetrics { + + /** Name of the {@code k8s.container.cpu.limit} metric. */ + @Deprecated public static final String K8S_CONTAINER_CPU_LIMIT_NAME = "k8s.container.cpu.limit"; + + /** Unit of the {@code k8s.container.cpu.limit} metric. */ + @Deprecated public static final String K8S_CONTAINER_CPU_LIMIT_UNIT = "{cpu}"; + + /** Description of the {@code k8s.container.cpu.limit} metric. */ + @Deprecated + public static final String K8S_CONTAINER_CPU_LIMIT_DESCRIPTION = + "Deprecated, use `k8s.container.cpu.limit.desired` and `k8s.container.cpu.limit.current` instead."; + + /** Name of the {@code k8s.container.cpu.limit.current} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_CURRENT_NAME = + "k8s.container.cpu.limit.current"; + + /** Unit of the {@code k8s.container.cpu.limit.current} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_CURRENT_UNIT = "{cpu}"; + + /** Description of the {@code k8s.container.cpu.limit.current} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_CURRENT_DESCRIPTION = + "Maximum CPU resource limit currently configured for a running container."; + + /** Name of the {@code k8s.container.cpu.limit.desired} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_DESIRED_NAME = + "k8s.container.cpu.limit.desired"; + + /** Unit of the {@code k8s.container.cpu.limit.desired} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_DESIRED_UNIT = "{cpu}"; + + /** Description of the {@code k8s.container.cpu.limit.desired} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_DESIRED_DESCRIPTION = + "Maximum CPU resource limit as defined by the container spec."; + + /** Name of the {@code k8s.container.cpu.limit.utilization} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_UTILIZATION_NAME = + "k8s.container.cpu.limit.utilization"; + + /** Unit of the {@code k8s.container.cpu.limit.utilization} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_UTILIZATION_UNIT = "1"; + + /** Description of the {@code k8s.container.cpu.limit.utilization} metric. */ + public static final String K8S_CONTAINER_CPU_LIMIT_UTILIZATION_DESCRIPTION = + "The ratio of container CPU usage to its current CPU limit."; + + /** Name of the {@code k8s.container.cpu.request} metric. */ + @Deprecated + public static final String K8S_CONTAINER_CPU_REQUEST_NAME = "k8s.container.cpu.request"; + + /** Unit of the {@code k8s.container.cpu.request} metric. */ + @Deprecated public static final String K8S_CONTAINER_CPU_REQUEST_UNIT = "{cpu}"; + + /** Description of the {@code k8s.container.cpu.request} metric. */ + @Deprecated + public static final String K8S_CONTAINER_CPU_REQUEST_DESCRIPTION = + "Deprecated, use `k8s.container.cpu.request.desired` and `k8s.container.cpu.request.current` instead."; + + /** Name of the {@code k8s.container.cpu.request.current} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_CURRENT_NAME = + "k8s.container.cpu.request.current"; + + /** Unit of the {@code k8s.container.cpu.request.current} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_CURRENT_UNIT = "{cpu}"; + + /** Description of the {@code k8s.container.cpu.request.current} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_CURRENT_DESCRIPTION = + "CPU resource requested currently configured for a running container."; + + /** Name of the {@code k8s.container.cpu.request.desired} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_DESIRED_NAME = + "k8s.container.cpu.request.desired"; + + /** Unit of the {@code k8s.container.cpu.request.desired} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_DESIRED_UNIT = "{cpu}"; + + /** Description of the {@code k8s.container.cpu.request.desired} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_DESIRED_DESCRIPTION = + "CPU resource requested as defined by the container spec."; + + /** Name of the {@code k8s.container.cpu.request.utilization} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_UTILIZATION_NAME = + "k8s.container.cpu.request.utilization"; + + /** Unit of the {@code k8s.container.cpu.request.utilization} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_UTILIZATION_UNIT = "1"; + + /** Description of the {@code k8s.container.cpu.request.utilization} metric. */ + public static final String K8S_CONTAINER_CPU_REQUEST_UTILIZATION_DESCRIPTION = + "The ratio of container CPU usage to its current CPU request."; + + /** Name of the {@code k8s.container.ephemeral_storage.limit} metric. */ + public static final String K8S_CONTAINER_EPHEMERAL_STORAGE_LIMIT_NAME = + "k8s.container.ephemeral_storage.limit"; + + /** Unit of the {@code k8s.container.ephemeral_storage.limit} metric. */ + public static final String K8S_CONTAINER_EPHEMERAL_STORAGE_LIMIT_UNIT = "By"; + + /** Description of the {@code k8s.container.ephemeral_storage.limit} metric. */ + public static final String K8S_CONTAINER_EPHEMERAL_STORAGE_LIMIT_DESCRIPTION = + "Maximum ephemeral storage resource limit set for the container."; + + /** Name of the {@code k8s.container.ephemeral_storage.request} metric. */ + public static final String K8S_CONTAINER_EPHEMERAL_STORAGE_REQUEST_NAME = + "k8s.container.ephemeral_storage.request"; + + /** Unit of the {@code k8s.container.ephemeral_storage.request} metric. */ + public static final String K8S_CONTAINER_EPHEMERAL_STORAGE_REQUEST_UNIT = "By"; + + /** Description of the {@code k8s.container.ephemeral_storage.request} metric. */ + public static final String K8S_CONTAINER_EPHEMERAL_STORAGE_REQUEST_DESCRIPTION = + "Ephemeral storage resource requested for the container."; + + /** Name of the {@code k8s.container.memory.limit} metric. */ + @Deprecated + public static final String K8S_CONTAINER_MEMORY_LIMIT_NAME = "k8s.container.memory.limit"; + + /** Unit of the {@code k8s.container.memory.limit} metric. */ + @Deprecated public static final String K8S_CONTAINER_MEMORY_LIMIT_UNIT = "By"; + + /** Description of the {@code k8s.container.memory.limit} metric. */ + @Deprecated + public static final String K8S_CONTAINER_MEMORY_LIMIT_DESCRIPTION = + "Deprecated, use `k8s.container.memory.limit.desired` and `k8s.container.memory.limit.current` instead."; + + /** Name of the {@code k8s.container.memory.limit.current} metric. */ + public static final String K8S_CONTAINER_MEMORY_LIMIT_CURRENT_NAME = + "k8s.container.memory.limit.current"; + + /** Unit of the {@code k8s.container.memory.limit.current} metric. */ + public static final String K8S_CONTAINER_MEMORY_LIMIT_CURRENT_UNIT = "By"; + + /** Description of the {@code k8s.container.memory.limit.current} metric. */ + public static final String K8S_CONTAINER_MEMORY_LIMIT_CURRENT_DESCRIPTION = + "Maximum memory resource limit currently configured for a running container."; + + /** Name of the {@code k8s.container.memory.limit.desired} metric. */ + public static final String K8S_CONTAINER_MEMORY_LIMIT_DESIRED_NAME = + "k8s.container.memory.limit.desired"; + + /** Unit of the {@code k8s.container.memory.limit.desired} metric. */ + public static final String K8S_CONTAINER_MEMORY_LIMIT_DESIRED_UNIT = "By"; + + /** Description of the {@code k8s.container.memory.limit.desired} metric. */ + public static final String K8S_CONTAINER_MEMORY_LIMIT_DESIRED_DESCRIPTION = + "Maximum memory resource limit as defined by the container spec."; + + /** Name of the {@code k8s.container.memory.request} metric. */ + @Deprecated + public static final String K8S_CONTAINER_MEMORY_REQUEST_NAME = "k8s.container.memory.request"; + + /** Unit of the {@code k8s.container.memory.request} metric. */ + @Deprecated public static final String K8S_CONTAINER_MEMORY_REQUEST_UNIT = "By"; + + /** Description of the {@code k8s.container.memory.request} metric. */ + @Deprecated + public static final String K8S_CONTAINER_MEMORY_REQUEST_DESCRIPTION = + "Deprecated, use `k8s.container.memory.request.desired` and `k8s.container.memory.request.current` instead."; + + /** Name of the {@code k8s.container.memory.request.current} metric. */ + public static final String K8S_CONTAINER_MEMORY_REQUEST_CURRENT_NAME = + "k8s.container.memory.request.current"; + + /** Unit of the {@code k8s.container.memory.request.current} metric. */ + public static final String K8S_CONTAINER_MEMORY_REQUEST_CURRENT_UNIT = "By"; + + /** Description of the {@code k8s.container.memory.request.current} metric. */ + public static final String K8S_CONTAINER_MEMORY_REQUEST_CURRENT_DESCRIPTION = + "Memory resource request currently configured for a running container."; + + /** Name of the {@code k8s.container.memory.request.desired} metric. */ + public static final String K8S_CONTAINER_MEMORY_REQUEST_DESIRED_NAME = + "k8s.container.memory.request.desired"; + + /** Unit of the {@code k8s.container.memory.request.desired} metric. */ + public static final String K8S_CONTAINER_MEMORY_REQUEST_DESIRED_UNIT = "By"; + + /** Description of the {@code k8s.container.memory.request.desired} metric. */ + public static final String K8S_CONTAINER_MEMORY_REQUEST_DESIRED_DESCRIPTION = + "Memory resource requested as defined by the container spec."; + + /** Name of the {@code k8s.container.ready} metric. */ + public static final String K8S_CONTAINER_READY_NAME = "k8s.container.ready"; + + /** Unit of the {@code k8s.container.ready} metric. */ + public static final String K8S_CONTAINER_READY_UNIT = "{container}"; + + /** Description of the {@code k8s.container.ready} metric. */ + public static final String K8S_CONTAINER_READY_DESCRIPTION = + "Indicates whether the container is currently marked as ready to accept traffic, based on its readiness probe (1 = ready, 0 = not ready). "; + + /** Name of the {@code k8s.container.restart.count} metric. */ + public static final String K8S_CONTAINER_RESTART_COUNT_NAME = "k8s.container.restart.count"; + + /** Unit of the {@code k8s.container.restart.count} metric. */ + public static final String K8S_CONTAINER_RESTART_COUNT_UNIT = "{restart}"; + + /** Description of the {@code k8s.container.restart.count} metric. */ + public static final String K8S_CONTAINER_RESTART_COUNT_DESCRIPTION = + "Describes how many times the container has restarted (since the last counter reset)."; + + /** Name of the {@code k8s.container.status.reason} metric. */ + public static final String K8S_CONTAINER_STATUS_REASON_NAME = "k8s.container.status.reason"; + + /** Unit of the {@code k8s.container.status.reason} metric. */ + public static final String K8S_CONTAINER_STATUS_REASON_UNIT = "{container}"; + + /** Description of the {@code k8s.container.status.reason} metric. */ + public static final String K8S_CONTAINER_STATUS_REASON_DESCRIPTION = + "Describes the number of K8s containers that are currently in a state for a given reason."; + + /** Name of the {@code k8s.container.status.state} metric. */ + public static final String K8S_CONTAINER_STATUS_STATE_NAME = "k8s.container.status.state"; + + /** Unit of the {@code k8s.container.status.state} metric. */ + public static final String K8S_CONTAINER_STATUS_STATE_UNIT = "{container}"; + + /** Description of the {@code k8s.container.status.state} metric. */ + public static final String K8S_CONTAINER_STATUS_STATE_DESCRIPTION = + "Describes the number of K8s containers that are currently in a given state."; + + /** Name of the {@code k8s.container.storage.limit} metric. */ + public static final String K8S_CONTAINER_STORAGE_LIMIT_NAME = "k8s.container.storage.limit"; + + /** Unit of the {@code k8s.container.storage.limit} metric. */ + public static final String K8S_CONTAINER_STORAGE_LIMIT_UNIT = "By"; + + /** Description of the {@code k8s.container.storage.limit} metric. */ + public static final String K8S_CONTAINER_STORAGE_LIMIT_DESCRIPTION = + "Maximum storage resource limit set for the container."; + + /** Name of the {@code k8s.container.storage.request} metric. */ + public static final String K8S_CONTAINER_STORAGE_REQUEST_NAME = "k8s.container.storage.request"; + + /** Unit of the {@code k8s.container.storage.request} metric. */ + public static final String K8S_CONTAINER_STORAGE_REQUEST_UNIT = "By"; + + /** Description of the {@code k8s.container.storage.request} metric. */ + public static final String K8S_CONTAINER_STORAGE_REQUEST_DESCRIPTION = + "Storage resource requested for the container."; + + /** Name of the {@code k8s.cronjob.active_jobs} metric. */ + @Deprecated public static final String K8S_CRONJOB_ACTIVE_JOBS_NAME = "k8s.cronjob.active_jobs"; + + /** Unit of the {@code k8s.cronjob.active_jobs} metric. */ + @Deprecated public static final String K8S_CRONJOB_ACTIVE_JOBS_UNIT = "{job}"; + + /** Description of the {@code k8s.cronjob.active_jobs} metric. */ + @Deprecated + public static final String K8S_CRONJOB_ACTIVE_JOBS_DESCRIPTION = + "Deprecated, use `k8s.cronjob.job.active` instead."; + + /** Name of the {@code k8s.cronjob.job.active} metric. */ + public static final String K8S_CRONJOB_JOB_ACTIVE_NAME = "k8s.cronjob.job.active"; + + /** Unit of the {@code k8s.cronjob.job.active} metric. */ + public static final String K8S_CRONJOB_JOB_ACTIVE_UNIT = "{job}"; + + /** Description of the {@code k8s.cronjob.job.active} metric. */ + public static final String K8S_CRONJOB_JOB_ACTIVE_DESCRIPTION = + "The number of actively running jobs for a cronjob."; + + /** Name of the {@code k8s.daemonset.current_scheduled_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_CURRENT_SCHEDULED_NODES_NAME = + "k8s.daemonset.current_scheduled_nodes"; + + /** Unit of the {@code k8s.daemonset.current_scheduled_nodes} metric. */ + @Deprecated public static final String K8S_DAEMONSET_CURRENT_SCHEDULED_NODES_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.current_scheduled_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_CURRENT_SCHEDULED_NODES_DESCRIPTION = + "Deprecated, use `k8s.daemonset.node.current_scheduled` instead."; + + /** Name of the {@code k8s.daemonset.desired_scheduled_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_DESIRED_SCHEDULED_NODES_NAME = + "k8s.daemonset.desired_scheduled_nodes"; + + /** Unit of the {@code k8s.daemonset.desired_scheduled_nodes} metric. */ + @Deprecated public static final String K8S_DAEMONSET_DESIRED_SCHEDULED_NODES_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.desired_scheduled_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_DESIRED_SCHEDULED_NODES_DESCRIPTION = + "Deprecated, use `k8s.daemonset.node.desired_scheduled` instead."; + + /** Name of the {@code k8s.daemonset.misscheduled_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_MISSCHEDULED_NODES_NAME = + "k8s.daemonset.misscheduled_nodes"; + + /** Unit of the {@code k8s.daemonset.misscheduled_nodes} metric. */ + @Deprecated public static final String K8S_DAEMONSET_MISSCHEDULED_NODES_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.misscheduled_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_MISSCHEDULED_NODES_DESCRIPTION = + "Deprecated, use `k8s.daemonset.node.misscheduled` instead."; + + /** Name of the {@code k8s.daemonset.node.current_scheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_CURRENT_SCHEDULED_NAME = + "k8s.daemonset.node.current_scheduled"; + + /** Unit of the {@code k8s.daemonset.node.current_scheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_CURRENT_SCHEDULED_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.node.current_scheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_CURRENT_SCHEDULED_DESCRIPTION = + "Number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod."; + + /** Name of the {@code k8s.daemonset.node.desired_scheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_DESIRED_SCHEDULED_NAME = + "k8s.daemonset.node.desired_scheduled"; + + /** Unit of the {@code k8s.daemonset.node.desired_scheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_DESIRED_SCHEDULED_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.node.desired_scheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_DESIRED_SCHEDULED_DESCRIPTION = + "Number of nodes that should be running the daemon pod (including nodes currently running the daemon pod)."; + + /** Name of the {@code k8s.daemonset.node.misscheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_MISSCHEDULED_NAME = + "k8s.daemonset.node.misscheduled"; + + /** Unit of the {@code k8s.daemonset.node.misscheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_MISSCHEDULED_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.node.misscheduled} metric. */ + public static final String K8S_DAEMONSET_NODE_MISSCHEDULED_DESCRIPTION = + "Number of nodes that are running the daemon pod, but are not supposed to run the daemon pod."; + + /** Name of the {@code k8s.daemonset.node.ready} metric. */ + public static final String K8S_DAEMONSET_NODE_READY_NAME = "k8s.daemonset.node.ready"; + + /** Unit of the {@code k8s.daemonset.node.ready} metric. */ + public static final String K8S_DAEMONSET_NODE_READY_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.node.ready} metric. */ + public static final String K8S_DAEMONSET_NODE_READY_DESCRIPTION = + "Number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready."; + + /** Name of the {@code k8s.daemonset.ready_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_READY_NODES_NAME = "k8s.daemonset.ready_nodes"; + + /** Unit of the {@code k8s.daemonset.ready_nodes} metric. */ + @Deprecated public static final String K8S_DAEMONSET_READY_NODES_UNIT = "{node}"; + + /** Description of the {@code k8s.daemonset.ready_nodes} metric. */ + @Deprecated + public static final String K8S_DAEMONSET_READY_NODES_DESCRIPTION = + "Deprecated, use `k8s.daemonset.node.ready` instead."; + + /** Name of the {@code k8s.deployment.available_pods} metric. */ + @Deprecated + public static final String K8S_DEPLOYMENT_AVAILABLE_PODS_NAME = "k8s.deployment.available_pods"; + + /** Unit of the {@code k8s.deployment.available_pods} metric. */ + @Deprecated public static final String K8S_DEPLOYMENT_AVAILABLE_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.deployment.available_pods} metric. */ + @Deprecated + public static final String K8S_DEPLOYMENT_AVAILABLE_PODS_DESCRIPTION = + "Deprecated, use `k8s.deployment.pod.available` instead."; + + /** Name of the {@code k8s.deployment.desired_pods} metric. */ + @Deprecated + public static final String K8S_DEPLOYMENT_DESIRED_PODS_NAME = "k8s.deployment.desired_pods"; + + /** Unit of the {@code k8s.deployment.desired_pods} metric. */ + @Deprecated public static final String K8S_DEPLOYMENT_DESIRED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.deployment.desired_pods} metric. */ + @Deprecated + public static final String K8S_DEPLOYMENT_DESIRED_PODS_DESCRIPTION = + "Deprecated, use `k8s.deployment.pod.desired` instead."; + + /** Name of the {@code k8s.deployment.pod.available} metric. */ + public static final String K8S_DEPLOYMENT_POD_AVAILABLE_NAME = "k8s.deployment.pod.available"; + + /** Unit of the {@code k8s.deployment.pod.available} metric. */ + public static final String K8S_DEPLOYMENT_POD_AVAILABLE_UNIT = "{pod}"; + + /** Description of the {@code k8s.deployment.pod.available} metric. */ + public static final String K8S_DEPLOYMENT_POD_AVAILABLE_DESCRIPTION = + "Total number of available replica pods (ready for at least minReadySeconds) targeted by this deployment."; + + /** Name of the {@code k8s.deployment.pod.desired} metric. */ + public static final String K8S_DEPLOYMENT_POD_DESIRED_NAME = "k8s.deployment.pod.desired"; + + /** Unit of the {@code k8s.deployment.pod.desired} metric. */ + public static final String K8S_DEPLOYMENT_POD_DESIRED_UNIT = "{pod}"; + + /** Description of the {@code k8s.deployment.pod.desired} metric. */ + public static final String K8S_DEPLOYMENT_POD_DESIRED_DESCRIPTION = + "Number of desired replica pods in this deployment."; + + /** Name of the {@code k8s.hpa.current_pods} metric. */ + @Deprecated public static final String K8S_HPA_CURRENT_PODS_NAME = "k8s.hpa.current_pods"; + + /** Unit of the {@code k8s.hpa.current_pods} metric. */ + @Deprecated public static final String K8S_HPA_CURRENT_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.current_pods} metric. */ + @Deprecated + public static final String K8S_HPA_CURRENT_PODS_DESCRIPTION = + "Deprecated, use `k8s.hpa.pod.current` instead."; + + /** Name of the {@code k8s.hpa.desired_pods} metric. */ + @Deprecated public static final String K8S_HPA_DESIRED_PODS_NAME = "k8s.hpa.desired_pods"; + + /** Unit of the {@code k8s.hpa.desired_pods} metric. */ + @Deprecated public static final String K8S_HPA_DESIRED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.desired_pods} metric. */ + @Deprecated + public static final String K8S_HPA_DESIRED_PODS_DESCRIPTION = + "Deprecated, use `k8s.hpa.pod.desired` instead."; + + /** Name of the {@code k8s.hpa.max_pods} metric. */ + @Deprecated public static final String K8S_HPA_MAX_PODS_NAME = "k8s.hpa.max_pods"; + + /** Unit of the {@code k8s.hpa.max_pods} metric. */ + @Deprecated public static final String K8S_HPA_MAX_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.max_pods} metric. */ + @Deprecated + public static final String K8S_HPA_MAX_PODS_DESCRIPTION = + "Deprecated, use `k8s.hpa.pod.max` instead."; + + /** Name of the {@code k8s.hpa.metric.target.cpu.average_utilization} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION_NAME = + "k8s.hpa.metric.target.cpu.average_utilization"; + + /** Unit of the {@code k8s.hpa.metric.target.cpu.average_utilization} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION_UNIT = "1"; + + /** Description of the {@code k8s.hpa.metric.target.cpu.average_utilization} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_AVERAGE_UTILIZATION_DESCRIPTION = + "Target average utilization, in percentage, for CPU resource in HPA config."; + + /** Name of the {@code k8s.hpa.metric.target.cpu.average_value} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE_NAME = + "k8s.hpa.metric.target.cpu.average_value"; + + /** Unit of the {@code k8s.hpa.metric.target.cpu.average_value} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE_UNIT = "{cpu}"; + + /** Description of the {@code k8s.hpa.metric.target.cpu.average_value} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_AVERAGE_VALUE_DESCRIPTION = + "Target average value for CPU resource in HPA config."; + + /** Name of the {@code k8s.hpa.metric.target.cpu.value} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_VALUE_NAME = + "k8s.hpa.metric.target.cpu.value"; + + /** Unit of the {@code k8s.hpa.metric.target.cpu.value} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_VALUE_UNIT = "{cpu}"; + + /** Description of the {@code k8s.hpa.metric.target.cpu.value} metric. */ + public static final String K8S_HPA_METRIC_TARGET_CPU_VALUE_DESCRIPTION = + "Target value for CPU resource in HPA config."; + + /** Name of the {@code k8s.hpa.min_pods} metric. */ + @Deprecated public static final String K8S_HPA_MIN_PODS_NAME = "k8s.hpa.min_pods"; + + /** Unit of the {@code k8s.hpa.min_pods} metric. */ + @Deprecated public static final String K8S_HPA_MIN_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.min_pods} metric. */ + @Deprecated + public static final String K8S_HPA_MIN_PODS_DESCRIPTION = + "Deprecated, use `k8s.hpa.pod.min` instead."; + + /** Name of the {@code k8s.hpa.pod.current} metric. */ + public static final String K8S_HPA_POD_CURRENT_NAME = "k8s.hpa.pod.current"; + + /** Unit of the {@code k8s.hpa.pod.current} metric. */ + public static final String K8S_HPA_POD_CURRENT_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.pod.current} metric. */ + public static final String K8S_HPA_POD_CURRENT_DESCRIPTION = + "Current number of replica pods managed by this horizontal pod autoscaler, as last seen by the autoscaler."; + + /** Name of the {@code k8s.hpa.pod.desired} metric. */ + public static final String K8S_HPA_POD_DESIRED_NAME = "k8s.hpa.pod.desired"; + + /** Unit of the {@code k8s.hpa.pod.desired} metric. */ + public static final String K8S_HPA_POD_DESIRED_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.pod.desired} metric. */ + public static final String K8S_HPA_POD_DESIRED_DESCRIPTION = + "Desired number of replica pods managed by this horizontal pod autoscaler, as last calculated by the autoscaler."; + + /** Name of the {@code k8s.hpa.pod.max} metric. */ + public static final String K8S_HPA_POD_MAX_NAME = "k8s.hpa.pod.max"; + + /** Unit of the {@code k8s.hpa.pod.max} metric. */ + public static final String K8S_HPA_POD_MAX_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.pod.max} metric. */ + public static final String K8S_HPA_POD_MAX_DESCRIPTION = + "The upper limit for the number of replica pods to which the autoscaler can scale up."; + + /** Name of the {@code k8s.hpa.pod.min} metric. */ + public static final String K8S_HPA_POD_MIN_NAME = "k8s.hpa.pod.min"; + + /** Unit of the {@code k8s.hpa.pod.min} metric. */ + public static final String K8S_HPA_POD_MIN_UNIT = "{pod}"; + + /** Description of the {@code k8s.hpa.pod.min} metric. */ + public static final String K8S_HPA_POD_MIN_DESCRIPTION = + "The lower limit for the number of replica pods to which the autoscaler can scale down."; + + /** Name of the {@code k8s.job.active_pods} metric. */ + @Deprecated public static final String K8S_JOB_ACTIVE_PODS_NAME = "k8s.job.active_pods"; + + /** Unit of the {@code k8s.job.active_pods} metric. */ + @Deprecated public static final String K8S_JOB_ACTIVE_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.active_pods} metric. */ + @Deprecated + public static final String K8S_JOB_ACTIVE_PODS_DESCRIPTION = + "Deprecated, use `k8s.job.pod.active` instead."; + + /** Name of the {@code k8s.job.desired_successful_pods} metric. */ + @Deprecated + public static final String K8S_JOB_DESIRED_SUCCESSFUL_PODS_NAME = + "k8s.job.desired_successful_pods"; + + /** Unit of the {@code k8s.job.desired_successful_pods} metric. */ + @Deprecated public static final String K8S_JOB_DESIRED_SUCCESSFUL_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.desired_successful_pods} metric. */ + @Deprecated + public static final String K8S_JOB_DESIRED_SUCCESSFUL_PODS_DESCRIPTION = + "Deprecated, use `k8s.job.pod.desired_successful` instead."; + + /** Name of the {@code k8s.job.failed_pods} metric. */ + @Deprecated public static final String K8S_JOB_FAILED_PODS_NAME = "k8s.job.failed_pods"; + + /** Unit of the {@code k8s.job.failed_pods} metric. */ + @Deprecated public static final String K8S_JOB_FAILED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.failed_pods} metric. */ + @Deprecated + public static final String K8S_JOB_FAILED_PODS_DESCRIPTION = + "Deprecated, use `k8s.job.pod.failed` instead."; + + /** Name of the {@code k8s.job.max_parallel_pods} metric. */ + @Deprecated + public static final String K8S_JOB_MAX_PARALLEL_PODS_NAME = "k8s.job.max_parallel_pods"; + + /** Unit of the {@code k8s.job.max_parallel_pods} metric. */ + @Deprecated public static final String K8S_JOB_MAX_PARALLEL_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.max_parallel_pods} metric. */ + @Deprecated + public static final String K8S_JOB_MAX_PARALLEL_PODS_DESCRIPTION = + "Deprecated, use `k8s.job.pod.max_parallel` instead."; + + /** Name of the {@code k8s.job.pod.active} metric. */ + public static final String K8S_JOB_POD_ACTIVE_NAME = "k8s.job.pod.active"; + + /** Unit of the {@code k8s.job.pod.active} metric. */ + public static final String K8S_JOB_POD_ACTIVE_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.pod.active} metric. */ + public static final String K8S_JOB_POD_ACTIVE_DESCRIPTION = + "The number of pending and actively running pods for a job."; + + /** Name of the {@code k8s.job.pod.desired_successful} metric. */ + public static final String K8S_JOB_POD_DESIRED_SUCCESSFUL_NAME = "k8s.job.pod.desired_successful"; + + /** Unit of the {@code k8s.job.pod.desired_successful} metric. */ + public static final String K8S_JOB_POD_DESIRED_SUCCESSFUL_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.pod.desired_successful} metric. */ + public static final String K8S_JOB_POD_DESIRED_SUCCESSFUL_DESCRIPTION = + "The desired number of successfully finished pods the job should be run with."; + + /** Name of the {@code k8s.job.pod.failed} metric. */ + public static final String K8S_JOB_POD_FAILED_NAME = "k8s.job.pod.failed"; + + /** Unit of the {@code k8s.job.pod.failed} metric. */ + public static final String K8S_JOB_POD_FAILED_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.pod.failed} metric. */ + public static final String K8S_JOB_POD_FAILED_DESCRIPTION = + "The number of pods which reached phase Failed for a job."; + + /** Name of the {@code k8s.job.pod.max_parallel} metric. */ + public static final String K8S_JOB_POD_MAX_PARALLEL_NAME = "k8s.job.pod.max_parallel"; + + /** Unit of the {@code k8s.job.pod.max_parallel} metric. */ + public static final String K8S_JOB_POD_MAX_PARALLEL_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.pod.max_parallel} metric. */ + public static final String K8S_JOB_POD_MAX_PARALLEL_DESCRIPTION = + "The max desired number of pods the job should run at any given time."; + + /** Name of the {@code k8s.job.pod.successful} metric. */ + public static final String K8S_JOB_POD_SUCCESSFUL_NAME = "k8s.job.pod.successful"; + + /** Unit of the {@code k8s.job.pod.successful} metric. */ + public static final String K8S_JOB_POD_SUCCESSFUL_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.pod.successful} metric. */ + public static final String K8S_JOB_POD_SUCCESSFUL_DESCRIPTION = + "The number of pods which reached phase Succeeded for a job."; + + /** Name of the {@code k8s.job.successful_pods} metric. */ + @Deprecated public static final String K8S_JOB_SUCCESSFUL_PODS_NAME = "k8s.job.successful_pods"; + + /** Unit of the {@code k8s.job.successful_pods} metric. */ + @Deprecated public static final String K8S_JOB_SUCCESSFUL_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.job.successful_pods} metric. */ + @Deprecated + public static final String K8S_JOB_SUCCESSFUL_PODS_DESCRIPTION = + "Deprecated, use `k8s.job.pod.successful` instead."; + + /** Name of the {@code k8s.namespace.phase} metric. */ + public static final String K8S_NAMESPACE_PHASE_NAME = "k8s.namespace.phase"; + + /** Unit of the {@code k8s.namespace.phase} metric. */ + public static final String K8S_NAMESPACE_PHASE_UNIT = "{namespace}"; + + /** Description of the {@code k8s.namespace.phase} metric. */ + public static final String K8S_NAMESPACE_PHASE_DESCRIPTION = + "Describes number of K8s namespaces that are currently in a given phase."; + + /** Name of the {@code k8s.node.allocatable.cpu} metric. */ + @Deprecated public static final String K8S_NODE_ALLOCATABLE_CPU_NAME = "k8s.node.allocatable.cpu"; + + /** Unit of the {@code k8s.node.allocatable.cpu} metric. */ + @Deprecated public static final String K8S_NODE_ALLOCATABLE_CPU_UNIT = "{cpu}"; + + /** Description of the {@code k8s.node.allocatable.cpu} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_CPU_DESCRIPTION = + "Deprecated, use `k8s.node.cpu.allocatable` instead."; + + /** Name of the {@code k8s.node.allocatable.ephemeral_storage} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE_NAME = + "k8s.node.allocatable.ephemeral_storage"; + + /** Unit of the {@code k8s.node.allocatable.ephemeral_storage} metric. */ + @Deprecated public static final String K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE_UNIT = "By"; + + /** Description of the {@code k8s.node.allocatable.ephemeral_storage} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_EPHEMERAL_STORAGE_DESCRIPTION = + "Deprecated, use `k8s.node.ephemeral_storage.allocatable` instead."; + + /** Name of the {@code k8s.node.allocatable.memory} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_MEMORY_NAME = "k8s.node.allocatable.memory"; + + /** Unit of the {@code k8s.node.allocatable.memory} metric. */ + @Deprecated public static final String K8S_NODE_ALLOCATABLE_MEMORY_UNIT = "By"; + + /** Description of the {@code k8s.node.allocatable.memory} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_MEMORY_DESCRIPTION = + "Deprecated, use `k8s.node.memory.allocatable` instead."; + + /** Name of the {@code k8s.node.allocatable.pods} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_PODS_NAME = "k8s.node.allocatable.pods"; + + /** Unit of the {@code k8s.node.allocatable.pods} metric. */ + @Deprecated public static final String K8S_NODE_ALLOCATABLE_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.node.allocatable.pods} metric. */ + @Deprecated + public static final String K8S_NODE_ALLOCATABLE_PODS_DESCRIPTION = + "Deprecated, use `k8s.node.pod.allocatable` instead."; + + /** Name of the {@code k8s.node.condition.status} metric. */ + public static final String K8S_NODE_CONDITION_STATUS_NAME = "k8s.node.condition.status"; + + /** Unit of the {@code k8s.node.condition.status} metric. */ + public static final String K8S_NODE_CONDITION_STATUS_UNIT = "{node}"; + + /** Description of the {@code k8s.node.condition.status} metric. */ + public static final String K8S_NODE_CONDITION_STATUS_DESCRIPTION = + "Describes the condition of a particular Node."; + + /** Name of the {@code k8s.node.cpu.allocatable} metric. */ + public static final String K8S_NODE_CPU_ALLOCATABLE_NAME = "k8s.node.cpu.allocatable"; + + /** Unit of the {@code k8s.node.cpu.allocatable} metric. */ + public static final String K8S_NODE_CPU_ALLOCATABLE_UNIT = "{cpu}"; + + /** Description of the {@code k8s.node.cpu.allocatable} metric. */ + public static final String K8S_NODE_CPU_ALLOCATABLE_DESCRIPTION = + "Amount of cpu allocatable on the node."; + + /** Name of the {@code k8s.node.cpu.time} metric. */ + public static final String K8S_NODE_CPU_TIME_NAME = "k8s.node.cpu.time"; + + /** Unit of the {@code k8s.node.cpu.time} metric. */ + public static final String K8S_NODE_CPU_TIME_UNIT = "s"; + + /** Description of the {@code k8s.node.cpu.time} metric. */ + public static final String K8S_NODE_CPU_TIME_DESCRIPTION = "Total CPU time consumed."; + + /** Name of the {@code k8s.node.cpu.usage} metric. */ + public static final String K8S_NODE_CPU_USAGE_NAME = "k8s.node.cpu.usage"; + + /** Unit of the {@code k8s.node.cpu.usage} metric. */ + public static final String K8S_NODE_CPU_USAGE_UNIT = "{cpu}"; + + /** Description of the {@code k8s.node.cpu.usage} metric. */ + public static final String K8S_NODE_CPU_USAGE_DESCRIPTION = + "Node's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs."; + + /** Name of the {@code k8s.node.ephemeral_storage.allocatable} metric. */ + public static final String K8S_NODE_EPHEMERAL_STORAGE_ALLOCATABLE_NAME = + "k8s.node.ephemeral_storage.allocatable"; + + /** Unit of the {@code k8s.node.ephemeral_storage.allocatable} metric. */ + public static final String K8S_NODE_EPHEMERAL_STORAGE_ALLOCATABLE_UNIT = "By"; + + /** Description of the {@code k8s.node.ephemeral_storage.allocatable} metric. */ + public static final String K8S_NODE_EPHEMERAL_STORAGE_ALLOCATABLE_DESCRIPTION = + "Amount of ephemeral-storage allocatable on the node."; + + /** Name of the {@code k8s.node.filesystem.available} metric. */ + public static final String K8S_NODE_FILESYSTEM_AVAILABLE_NAME = "k8s.node.filesystem.available"; + + /** Unit of the {@code k8s.node.filesystem.available} metric. */ + public static final String K8S_NODE_FILESYSTEM_AVAILABLE_UNIT = "By"; + + /** Description of the {@code k8s.node.filesystem.available} metric. */ + public static final String K8S_NODE_FILESYSTEM_AVAILABLE_DESCRIPTION = + "Node filesystem available bytes."; + + /** Name of the {@code k8s.node.filesystem.capacity} metric. */ + public static final String K8S_NODE_FILESYSTEM_CAPACITY_NAME = "k8s.node.filesystem.capacity"; + + /** Unit of the {@code k8s.node.filesystem.capacity} metric. */ + public static final String K8S_NODE_FILESYSTEM_CAPACITY_UNIT = "By"; + + /** Description of the {@code k8s.node.filesystem.capacity} metric. */ + public static final String K8S_NODE_FILESYSTEM_CAPACITY_DESCRIPTION = "Node filesystem capacity."; + + /** Name of the {@code k8s.node.filesystem.usage} metric. */ + public static final String K8S_NODE_FILESYSTEM_USAGE_NAME = "k8s.node.filesystem.usage"; + + /** Unit of the {@code k8s.node.filesystem.usage} metric. */ + public static final String K8S_NODE_FILESYSTEM_USAGE_UNIT = "By"; + + /** Description of the {@code k8s.node.filesystem.usage} metric. */ + public static final String K8S_NODE_FILESYSTEM_USAGE_DESCRIPTION = "Node filesystem usage."; + + /** Name of the {@code k8s.node.memory.allocatable} metric. */ + public static final String K8S_NODE_MEMORY_ALLOCATABLE_NAME = "k8s.node.memory.allocatable"; + + /** Unit of the {@code k8s.node.memory.allocatable} metric. */ + public static final String K8S_NODE_MEMORY_ALLOCATABLE_UNIT = "By"; + + /** Description of the {@code k8s.node.memory.allocatable} metric. */ + public static final String K8S_NODE_MEMORY_ALLOCATABLE_DESCRIPTION = + "Amount of memory allocatable on the node."; + + /** Name of the {@code k8s.node.memory.available} metric. */ + public static final String K8S_NODE_MEMORY_AVAILABLE_NAME = "k8s.node.memory.available"; + + /** Unit of the {@code k8s.node.memory.available} metric. */ + public static final String K8S_NODE_MEMORY_AVAILABLE_UNIT = "By"; + + /** Description of the {@code k8s.node.memory.available} metric. */ + public static final String K8S_NODE_MEMORY_AVAILABLE_DESCRIPTION = "Node memory available."; + + /** Name of the {@code k8s.node.memory.paging.faults} metric. */ + public static final String K8S_NODE_MEMORY_PAGING_FAULTS_NAME = "k8s.node.memory.paging.faults"; + + /** Unit of the {@code k8s.node.memory.paging.faults} metric. */ + public static final String K8S_NODE_MEMORY_PAGING_FAULTS_UNIT = "{fault}"; + + /** Description of the {@code k8s.node.memory.paging.faults} metric. */ + public static final String K8S_NODE_MEMORY_PAGING_FAULTS_DESCRIPTION = + "Node memory paging faults."; + + /** Name of the {@code k8s.node.memory.rss} metric. */ + public static final String K8S_NODE_MEMORY_RSS_NAME = "k8s.node.memory.rss"; + + /** Unit of the {@code k8s.node.memory.rss} metric. */ + public static final String K8S_NODE_MEMORY_RSS_UNIT = "By"; + + /** Description of the {@code k8s.node.memory.rss} metric. */ + public static final String K8S_NODE_MEMORY_RSS_DESCRIPTION = "Node memory RSS."; + + /** Name of the {@code k8s.node.memory.usage} metric. */ + public static final String K8S_NODE_MEMORY_USAGE_NAME = "k8s.node.memory.usage"; + + /** Unit of the {@code k8s.node.memory.usage} metric. */ + public static final String K8S_NODE_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code k8s.node.memory.usage} metric. */ + public static final String K8S_NODE_MEMORY_USAGE_DESCRIPTION = "Memory usage of the Node."; + + /** Name of the {@code k8s.node.memory.working_set} metric. */ + public static final String K8S_NODE_MEMORY_WORKING_SET_NAME = "k8s.node.memory.working_set"; + + /** Unit of the {@code k8s.node.memory.working_set} metric. */ + public static final String K8S_NODE_MEMORY_WORKING_SET_UNIT = "By"; + + /** Description of the {@code k8s.node.memory.working_set} metric. */ + public static final String K8S_NODE_MEMORY_WORKING_SET_DESCRIPTION = "Node memory working set."; + + /** Name of the {@code k8s.node.network.errors} metric. */ + public static final String K8S_NODE_NETWORK_ERRORS_NAME = "k8s.node.network.errors"; + + /** Unit of the {@code k8s.node.network.errors} metric. */ + public static final String K8S_NODE_NETWORK_ERRORS_UNIT = "{error}"; + + /** Description of the {@code k8s.node.network.errors} metric. */ + public static final String K8S_NODE_NETWORK_ERRORS_DESCRIPTION = "Node network errors."; + + /** Name of the {@code k8s.node.network.io} metric. */ + public static final String K8S_NODE_NETWORK_IO_NAME = "k8s.node.network.io"; + + /** Unit of the {@code k8s.node.network.io} metric. */ + public static final String K8S_NODE_NETWORK_IO_UNIT = "By"; + + /** Description of the {@code k8s.node.network.io} metric. */ + public static final String K8S_NODE_NETWORK_IO_DESCRIPTION = "Network bytes for the Node."; + + /** Name of the {@code k8s.node.pod.allocatable} metric. */ + public static final String K8S_NODE_POD_ALLOCATABLE_NAME = "k8s.node.pod.allocatable"; + + /** Unit of the {@code k8s.node.pod.allocatable} metric. */ + public static final String K8S_NODE_POD_ALLOCATABLE_UNIT = "{pod}"; + + /** Description of the {@code k8s.node.pod.allocatable} metric. */ + public static final String K8S_NODE_POD_ALLOCATABLE_DESCRIPTION = + "Amount of pods allocatable on the node."; + + /** Name of the {@code k8s.node.system_container.cpu.time} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_CPU_TIME_NAME = + "k8s.node.system_container.cpu.time"; + + /** Unit of the {@code k8s.node.system_container.cpu.time} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_CPU_TIME_UNIT = "s"; + + /** Description of the {@code k8s.node.system_container.cpu.time} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_CPU_TIME_DESCRIPTION = + "Node's system container CPU time."; + + /** Name of the {@code k8s.node.system_container.cpu.usage} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_CPU_USAGE_NAME = + "k8s.node.system_container.cpu.usage"; + + /** Unit of the {@code k8s.node.system_container.cpu.usage} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_CPU_USAGE_UNIT = "{cpu}"; + + /** Description of the {@code k8s.node.system_container.cpu.usage} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_CPU_USAGE_DESCRIPTION = + "Node's system container CPU usage, measured in cpus."; + + /** Name of the {@code k8s.node.system_container.memory.usage} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_MEMORY_USAGE_NAME = + "k8s.node.system_container.memory.usage"; + + /** Unit of the {@code k8s.node.system_container.memory.usage} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code k8s.node.system_container.memory.usage} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_MEMORY_USAGE_DESCRIPTION = + "Node's system container memory usage."; + + /** Name of the {@code k8s.node.system_container.memory.working_set} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_MEMORY_WORKING_SET_NAME = + "k8s.node.system_container.memory.working_set"; + + /** Unit of the {@code k8s.node.system_container.memory.working_set} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_MEMORY_WORKING_SET_UNIT = "By"; + + /** Description of the {@code k8s.node.system_container.memory.working_set} metric. */ + public static final String K8S_NODE_SYSTEM_CONTAINER_MEMORY_WORKING_SET_DESCRIPTION = + "The amount of working set memory."; + + /** Name of the {@code k8s.node.uptime} metric. */ + public static final String K8S_NODE_UPTIME_NAME = "k8s.node.uptime"; + + /** Unit of the {@code k8s.node.uptime} metric. */ + public static final String K8S_NODE_UPTIME_UNIT = "s"; + + /** Description of the {@code k8s.node.uptime} metric. */ + public static final String K8S_NODE_UPTIME_DESCRIPTION = "The time the Node has been running."; + + /** Name of the {@code k8s.persistentvolume.status.phase} metric. */ + public static final String K8S_PERSISTENTVOLUME_STATUS_PHASE_NAME = + "k8s.persistentvolume.status.phase"; + + /** Unit of the {@code k8s.persistentvolume.status.phase} metric. */ + public static final String K8S_PERSISTENTVOLUME_STATUS_PHASE_UNIT = "{persistentvolume}"; + + /** Description of the {@code k8s.persistentvolume.status.phase} metric. */ + public static final String K8S_PERSISTENTVOLUME_STATUS_PHASE_DESCRIPTION = + "Number of PersistentVolumes in a given phase."; + + /** Name of the {@code k8s.persistentvolume.storage.capacity} metric. */ + public static final String K8S_PERSISTENTVOLUME_STORAGE_CAPACITY_NAME = + "k8s.persistentvolume.storage.capacity"; + + /** Unit of the {@code k8s.persistentvolume.storage.capacity} metric. */ + public static final String K8S_PERSISTENTVOLUME_STORAGE_CAPACITY_UNIT = "By"; + + /** Description of the {@code k8s.persistentvolume.storage.capacity} metric. */ + public static final String K8S_PERSISTENTVOLUME_STORAGE_CAPACITY_DESCRIPTION = + "The storage capacity of the PersistentVolume."; + + /** Name of the {@code k8s.persistentvolumeclaim.status.phase} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STATUS_PHASE_NAME = + "k8s.persistentvolumeclaim.status.phase"; + + /** Unit of the {@code k8s.persistentvolumeclaim.status.phase} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STATUS_PHASE_UNIT = + "{persistentvolumeclaim}"; + + /** Description of the {@code k8s.persistentvolumeclaim.status.phase} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STATUS_PHASE_DESCRIPTION = + "Number of PersistentVolumeClaims in a given phase."; + + /** Name of the {@code k8s.persistentvolumeclaim.storage.capacity} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STORAGE_CAPACITY_NAME = + "k8s.persistentvolumeclaim.storage.capacity"; + + /** Unit of the {@code k8s.persistentvolumeclaim.storage.capacity} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STORAGE_CAPACITY_UNIT = "By"; + + /** Description of the {@code k8s.persistentvolumeclaim.storage.capacity} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STORAGE_CAPACITY_DESCRIPTION = + "The actual storage capacity provisioned for the PersistentVolumeClaim."; + + /** Name of the {@code k8s.persistentvolumeclaim.storage.request} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STORAGE_REQUEST_NAME = + "k8s.persistentvolumeclaim.storage.request"; + + /** Unit of the {@code k8s.persistentvolumeclaim.storage.request} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STORAGE_REQUEST_UNIT = "By"; + + /** Description of the {@code k8s.persistentvolumeclaim.storage.request} metric. */ + public static final String K8S_PERSISTENTVOLUMECLAIM_STORAGE_REQUEST_DESCRIPTION = + "The storage requested by the PersistentVolumeClaim."; + + /** Name of the {@code k8s.pod.cpu.time} metric. */ + public static final String K8S_POD_CPU_TIME_NAME = "k8s.pod.cpu.time"; + + /** Unit of the {@code k8s.pod.cpu.time} metric. */ + public static final String K8S_POD_CPU_TIME_UNIT = "s"; + + /** Description of the {@code k8s.pod.cpu.time} metric. */ + public static final String K8S_POD_CPU_TIME_DESCRIPTION = "Total CPU time consumed."; + + /** Name of the {@code k8s.pod.cpu.usage} metric. */ + public static final String K8S_POD_CPU_USAGE_NAME = "k8s.pod.cpu.usage"; + + /** Unit of the {@code k8s.pod.cpu.usage} metric. */ + public static final String K8S_POD_CPU_USAGE_UNIT = "{cpu}"; + + /** Description of the {@code k8s.pod.cpu.usage} metric. */ + public static final String K8S_POD_CPU_USAGE_DESCRIPTION = + "Pod's CPU usage, measured in cpus. Range from 0 to the number of allocatable CPUs."; + + /** Name of the {@code k8s.pod.filesystem.available} metric. */ + public static final String K8S_POD_FILESYSTEM_AVAILABLE_NAME = "k8s.pod.filesystem.available"; + + /** Unit of the {@code k8s.pod.filesystem.available} metric. */ + public static final String K8S_POD_FILESYSTEM_AVAILABLE_UNIT = "By"; + + /** Description of the {@code k8s.pod.filesystem.available} metric. */ + public static final String K8S_POD_FILESYSTEM_AVAILABLE_DESCRIPTION = + "Pod filesystem available bytes."; + + /** Name of the {@code k8s.pod.filesystem.capacity} metric. */ + public static final String K8S_POD_FILESYSTEM_CAPACITY_NAME = "k8s.pod.filesystem.capacity"; + + /** Unit of the {@code k8s.pod.filesystem.capacity} metric. */ + public static final String K8S_POD_FILESYSTEM_CAPACITY_UNIT = "By"; + + /** Description of the {@code k8s.pod.filesystem.capacity} metric. */ + public static final String K8S_POD_FILESYSTEM_CAPACITY_DESCRIPTION = "Pod filesystem capacity."; + + /** Name of the {@code k8s.pod.filesystem.usage} metric. */ + public static final String K8S_POD_FILESYSTEM_USAGE_NAME = "k8s.pod.filesystem.usage"; + + /** Unit of the {@code k8s.pod.filesystem.usage} metric. */ + public static final String K8S_POD_FILESYSTEM_USAGE_UNIT = "By"; + + /** Description of the {@code k8s.pod.filesystem.usage} metric. */ + public static final String K8S_POD_FILESYSTEM_USAGE_DESCRIPTION = "Pod filesystem usage."; + + /** Name of the {@code k8s.pod.memory.available} metric. */ + public static final String K8S_POD_MEMORY_AVAILABLE_NAME = "k8s.pod.memory.available"; + + /** Unit of the {@code k8s.pod.memory.available} metric. */ + public static final String K8S_POD_MEMORY_AVAILABLE_UNIT = "By"; + + /** Description of the {@code k8s.pod.memory.available} metric. */ + public static final String K8S_POD_MEMORY_AVAILABLE_DESCRIPTION = "Pod memory available."; + + /** Name of the {@code k8s.pod.memory.paging.faults} metric. */ + public static final String K8S_POD_MEMORY_PAGING_FAULTS_NAME = "k8s.pod.memory.paging.faults"; + + /** Unit of the {@code k8s.pod.memory.paging.faults} metric. */ + public static final String K8S_POD_MEMORY_PAGING_FAULTS_UNIT = "{fault}"; + + /** Description of the {@code k8s.pod.memory.paging.faults} metric. */ + public static final String K8S_POD_MEMORY_PAGING_FAULTS_DESCRIPTION = "Pod memory paging faults."; + + /** Name of the {@code k8s.pod.memory.rss} metric. */ + public static final String K8S_POD_MEMORY_RSS_NAME = "k8s.pod.memory.rss"; + + /** Unit of the {@code k8s.pod.memory.rss} metric. */ + public static final String K8S_POD_MEMORY_RSS_UNIT = "By"; + + /** Description of the {@code k8s.pod.memory.rss} metric. */ + public static final String K8S_POD_MEMORY_RSS_DESCRIPTION = "Pod memory RSS."; + + /** Name of the {@code k8s.pod.memory.usage} metric. */ + public static final String K8S_POD_MEMORY_USAGE_NAME = "k8s.pod.memory.usage"; + + /** Unit of the {@code k8s.pod.memory.usage} metric. */ + public static final String K8S_POD_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code k8s.pod.memory.usage} metric. */ + public static final String K8S_POD_MEMORY_USAGE_DESCRIPTION = "Memory usage of the Pod."; + + /** Name of the {@code k8s.pod.memory.working_set} metric. */ + public static final String K8S_POD_MEMORY_WORKING_SET_NAME = "k8s.pod.memory.working_set"; + + /** Unit of the {@code k8s.pod.memory.working_set} metric. */ + public static final String K8S_POD_MEMORY_WORKING_SET_UNIT = "By"; + + /** Description of the {@code k8s.pod.memory.working_set} metric. */ + public static final String K8S_POD_MEMORY_WORKING_SET_DESCRIPTION = "Pod memory working set."; + + /** Name of the {@code k8s.pod.network.errors} metric. */ + public static final String K8S_POD_NETWORK_ERRORS_NAME = "k8s.pod.network.errors"; + + /** Unit of the {@code k8s.pod.network.errors} metric. */ + public static final String K8S_POD_NETWORK_ERRORS_UNIT = "{error}"; + + /** Description of the {@code k8s.pod.network.errors} metric. */ + public static final String K8S_POD_NETWORK_ERRORS_DESCRIPTION = "Pod network errors."; + + /** Name of the {@code k8s.pod.network.io} metric. */ + public static final String K8S_POD_NETWORK_IO_NAME = "k8s.pod.network.io"; + + /** Unit of the {@code k8s.pod.network.io} metric. */ + public static final String K8S_POD_NETWORK_IO_UNIT = "By"; + + /** Description of the {@code k8s.pod.network.io} metric. */ + public static final String K8S_POD_NETWORK_IO_DESCRIPTION = "Network bytes for the Pod."; + + /** Name of the {@code k8s.pod.status.phase} metric. */ + public static final String K8S_POD_STATUS_PHASE_NAME = "k8s.pod.status.phase"; + + /** Unit of the {@code k8s.pod.status.phase} metric. */ + public static final String K8S_POD_STATUS_PHASE_UNIT = "{pod}"; + + /** Description of the {@code k8s.pod.status.phase} metric. */ + public static final String K8S_POD_STATUS_PHASE_DESCRIPTION = + "Describes number of K8s Pods that are currently in a given phase."; + + /** Name of the {@code k8s.pod.status.reason} metric. */ + public static final String K8S_POD_STATUS_REASON_NAME = "k8s.pod.status.reason"; + + /** Unit of the {@code k8s.pod.status.reason} metric. */ + public static final String K8S_POD_STATUS_REASON_UNIT = "{pod}"; + + /** Description of the {@code k8s.pod.status.reason} metric. */ + public static final String K8S_POD_STATUS_REASON_DESCRIPTION = + "Describes the number of K8s Pods that are currently in a state for a given reason."; + + /** Name of the {@code k8s.pod.uptime} metric. */ + public static final String K8S_POD_UPTIME_NAME = "k8s.pod.uptime"; + + /** Unit of the {@code k8s.pod.uptime} metric. */ + public static final String K8S_POD_UPTIME_UNIT = "s"; + + /** Description of the {@code k8s.pod.uptime} metric. */ + public static final String K8S_POD_UPTIME_DESCRIPTION = "The time the Pod has been running."; + + /** Name of the {@code k8s.pod.volume.available} metric. */ + public static final String K8S_POD_VOLUME_AVAILABLE_NAME = "k8s.pod.volume.available"; + + /** Unit of the {@code k8s.pod.volume.available} metric. */ + public static final String K8S_POD_VOLUME_AVAILABLE_UNIT = "By"; + + /** Description of the {@code k8s.pod.volume.available} metric. */ + public static final String K8S_POD_VOLUME_AVAILABLE_DESCRIPTION = + "Pod volume storage space available."; + + /** Name of the {@code k8s.pod.volume.capacity} metric. */ + public static final String K8S_POD_VOLUME_CAPACITY_NAME = "k8s.pod.volume.capacity"; + + /** Unit of the {@code k8s.pod.volume.capacity} metric. */ + public static final String K8S_POD_VOLUME_CAPACITY_UNIT = "By"; + + /** Description of the {@code k8s.pod.volume.capacity} metric. */ + public static final String K8S_POD_VOLUME_CAPACITY_DESCRIPTION = "Pod volume total capacity."; + + /** Name of the {@code k8s.pod.volume.inode.count} metric. */ + public static final String K8S_POD_VOLUME_INODE_COUNT_NAME = "k8s.pod.volume.inode.count"; + + /** Unit of the {@code k8s.pod.volume.inode.count} metric. */ + public static final String K8S_POD_VOLUME_INODE_COUNT_UNIT = "{inode}"; + + /** Description of the {@code k8s.pod.volume.inode.count} metric. */ + public static final String K8S_POD_VOLUME_INODE_COUNT_DESCRIPTION = + "The total inodes in the filesystem of the Pod's volume."; + + /** Name of the {@code k8s.pod.volume.inode.free} metric. */ + public static final String K8S_POD_VOLUME_INODE_FREE_NAME = "k8s.pod.volume.inode.free"; + + /** Unit of the {@code k8s.pod.volume.inode.free} metric. */ + public static final String K8S_POD_VOLUME_INODE_FREE_UNIT = "{inode}"; + + /** Description of the {@code k8s.pod.volume.inode.free} metric. */ + public static final String K8S_POD_VOLUME_INODE_FREE_DESCRIPTION = + "The free inodes in the filesystem of the Pod's volume."; + + /** Name of the {@code k8s.pod.volume.inode.used} metric. */ + public static final String K8S_POD_VOLUME_INODE_USED_NAME = "k8s.pod.volume.inode.used"; + + /** Unit of the {@code k8s.pod.volume.inode.used} metric. */ + public static final String K8S_POD_VOLUME_INODE_USED_UNIT = "{inode}"; + + /** Description of the {@code k8s.pod.volume.inode.used} metric. */ + public static final String K8S_POD_VOLUME_INODE_USED_DESCRIPTION = + "The inodes used by the filesystem of the Pod's volume."; + + /** Name of the {@code k8s.pod.volume.usage} metric. */ + public static final String K8S_POD_VOLUME_USAGE_NAME = "k8s.pod.volume.usage"; + + /** Unit of the {@code k8s.pod.volume.usage} metric. */ + public static final String K8S_POD_VOLUME_USAGE_UNIT = "By"; + + /** Description of the {@code k8s.pod.volume.usage} metric. */ + public static final String K8S_POD_VOLUME_USAGE_DESCRIPTION = "Pod volume usage."; + + /** Name of the {@code k8s.replicaset.available_pods} metric. */ + @Deprecated + public static final String K8S_REPLICASET_AVAILABLE_PODS_NAME = "k8s.replicaset.available_pods"; + + /** Unit of the {@code k8s.replicaset.available_pods} metric. */ + @Deprecated public static final String K8S_REPLICASET_AVAILABLE_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicaset.available_pods} metric. */ + @Deprecated + public static final String K8S_REPLICASET_AVAILABLE_PODS_DESCRIPTION = + "Deprecated, use `k8s.replicaset.pod.available` instead."; + + /** Name of the {@code k8s.replicaset.desired_pods} metric. */ + @Deprecated + public static final String K8S_REPLICASET_DESIRED_PODS_NAME = "k8s.replicaset.desired_pods"; + + /** Unit of the {@code k8s.replicaset.desired_pods} metric. */ + @Deprecated public static final String K8S_REPLICASET_DESIRED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicaset.desired_pods} metric. */ + @Deprecated + public static final String K8S_REPLICASET_DESIRED_PODS_DESCRIPTION = + "Deprecated, use `k8s.replicaset.pod.desired` instead."; + + /** Name of the {@code k8s.replicaset.pod.available} metric. */ + public static final String K8S_REPLICASET_POD_AVAILABLE_NAME = "k8s.replicaset.pod.available"; + + /** Unit of the {@code k8s.replicaset.pod.available} metric. */ + public static final String K8S_REPLICASET_POD_AVAILABLE_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicaset.pod.available} metric. */ + public static final String K8S_REPLICASET_POD_AVAILABLE_DESCRIPTION = + "Total number of available replica pods (ready for at least minReadySeconds) targeted by this replicaset."; + + /** Name of the {@code k8s.replicaset.pod.desired} metric. */ + public static final String K8S_REPLICASET_POD_DESIRED_NAME = "k8s.replicaset.pod.desired"; + + /** Unit of the {@code k8s.replicaset.pod.desired} metric. */ + public static final String K8S_REPLICASET_POD_DESIRED_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicaset.pod.desired} metric. */ + public static final String K8S_REPLICASET_POD_DESIRED_DESCRIPTION = + "Number of desired replica pods in this replicaset."; + + /** Name of the {@code k8s.replication_controller.available_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATION_CONTROLLER_AVAILABLE_PODS_NAME = + "k8s.replication_controller.available_pods"; + + /** Unit of the {@code k8s.replication_controller.available_pods} metric. */ + @Deprecated public static final String K8S_REPLICATION_CONTROLLER_AVAILABLE_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.replication_controller.available_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATION_CONTROLLER_AVAILABLE_PODS_DESCRIPTION = + "Deprecated, use `k8s.replicationcontroller.pod.available` instead."; + + /** Name of the {@code k8s.replication_controller.desired_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATION_CONTROLLER_DESIRED_PODS_NAME = + "k8s.replication_controller.desired_pods"; + + /** Unit of the {@code k8s.replication_controller.desired_pods} metric. */ + @Deprecated public static final String K8S_REPLICATION_CONTROLLER_DESIRED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.replication_controller.desired_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATION_CONTROLLER_DESIRED_PODS_DESCRIPTION = + "Deprecated, use `k8s.replicationcontroller.pod.desired` instead."; + + /** Name of the {@code k8s.replicationcontroller.available_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS_NAME = + "k8s.replicationcontroller.available_pods"; + + /** Unit of the {@code k8s.replicationcontroller.available_pods} metric. */ + @Deprecated public static final String K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicationcontroller.available_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATIONCONTROLLER_AVAILABLE_PODS_DESCRIPTION = + "Deprecated, use `k8s.replicationcontroller.pod.available` instead."; + + /** Name of the {@code k8s.replicationcontroller.desired_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATIONCONTROLLER_DESIRED_PODS_NAME = + "k8s.replicationcontroller.desired_pods"; + + /** Unit of the {@code k8s.replicationcontroller.desired_pods} metric. */ + @Deprecated public static final String K8S_REPLICATIONCONTROLLER_DESIRED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicationcontroller.desired_pods} metric. */ + @Deprecated + public static final String K8S_REPLICATIONCONTROLLER_DESIRED_PODS_DESCRIPTION = + "Deprecated, use `k8s.replicationcontroller.pod.desired` instead."; + + /** Name of the {@code k8s.replicationcontroller.pod.available} metric. */ + public static final String K8S_REPLICATIONCONTROLLER_POD_AVAILABLE_NAME = + "k8s.replicationcontroller.pod.available"; + + /** Unit of the {@code k8s.replicationcontroller.pod.available} metric. */ + public static final String K8S_REPLICATIONCONTROLLER_POD_AVAILABLE_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicationcontroller.pod.available} metric. */ + public static final String K8S_REPLICATIONCONTROLLER_POD_AVAILABLE_DESCRIPTION = + "Total number of available replica pods (ready for at least minReadySeconds) targeted by this replication controller."; + + /** Name of the {@code k8s.replicationcontroller.pod.desired} metric. */ + public static final String K8S_REPLICATIONCONTROLLER_POD_DESIRED_NAME = + "k8s.replicationcontroller.pod.desired"; + + /** Unit of the {@code k8s.replicationcontroller.pod.desired} metric. */ + public static final String K8S_REPLICATIONCONTROLLER_POD_DESIRED_UNIT = "{pod}"; + + /** Description of the {@code k8s.replicationcontroller.pod.desired} metric. */ + public static final String K8S_REPLICATIONCONTROLLER_POD_DESIRED_DESCRIPTION = + "Number of desired replica pods in this replication controller."; + + /** Name of the {@code k8s.resourcequota.cpu.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_LIMIT_HARD_NAME = + "k8s.resourcequota.cpu.limit.hard"; + + /** Unit of the {@code k8s.resourcequota.cpu.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_LIMIT_HARD_UNIT = "{cpu}"; + + /** Description of the {@code k8s.resourcequota.cpu.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_LIMIT_HARD_DESCRIPTION = + "The CPU limits in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.cpu.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_LIMIT_USED_NAME = + "k8s.resourcequota.cpu.limit.used"; + + /** Unit of the {@code k8s.resourcequota.cpu.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_LIMIT_USED_UNIT = "{cpu}"; + + /** Description of the {@code k8s.resourcequota.cpu.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_LIMIT_USED_DESCRIPTION = + "The CPU limits in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.cpu.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_REQUEST_HARD_NAME = + "k8s.resourcequota.cpu.request.hard"; + + /** Unit of the {@code k8s.resourcequota.cpu.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_REQUEST_HARD_UNIT = "{cpu}"; + + /** Description of the {@code k8s.resourcequota.cpu.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_REQUEST_HARD_DESCRIPTION = + "The CPU requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.cpu.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_REQUEST_USED_NAME = + "k8s.resourcequota.cpu.request.used"; + + /** Unit of the {@code k8s.resourcequota.cpu.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_REQUEST_USED_UNIT = "{cpu}"; + + /** Description of the {@code k8s.resourcequota.cpu.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_CPU_REQUEST_USED_DESCRIPTION = + "The CPU requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.ephemeral_storage.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD_NAME = + "k8s.resourcequota.ephemeral_storage.limit.hard"; + + /** Unit of the {@code k8s.resourcequota.ephemeral_storage.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.ephemeral_storage.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD_DESCRIPTION = + "The sum of local ephemeral storage limits in the namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.ephemeral_storage.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USED_NAME = + "k8s.resourcequota.ephemeral_storage.limit.used"; + + /** Unit of the {@code k8s.resourcequota.ephemeral_storage.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USED_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.ephemeral_storage.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_LIMIT_USED_DESCRIPTION = + "The sum of local ephemeral storage limits in the namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.ephemeral_storage.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD_NAME = + "k8s.resourcequota.ephemeral_storage.request.hard"; + + /** Unit of the {@code k8s.resourcequota.ephemeral_storage.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.ephemeral_storage.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD_DESCRIPTION = + "The sum of local ephemeral storage requests in the namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.ephemeral_storage.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USED_NAME = + "k8s.resourcequota.ephemeral_storage.request.used"; + + /** Unit of the {@code k8s.resourcequota.ephemeral_storage.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USED_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.ephemeral_storage.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_EPHEMERAL_STORAGE_REQUEST_USED_DESCRIPTION = + "The sum of local ephemeral storage requests in the namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.hugepage_count.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARD_NAME = + "k8s.resourcequota.hugepage_count.request.hard"; + + /** Unit of the {@code k8s.resourcequota.hugepage_count.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARD_UNIT = "{hugepage}"; + + /** Description of the {@code k8s.resourcequota.hugepage_count.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_HARD_DESCRIPTION = + "The huge page requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.hugepage_count.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USED_NAME = + "k8s.resourcequota.hugepage_count.request.used"; + + /** Unit of the {@code k8s.resourcequota.hugepage_count.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USED_UNIT = "{hugepage}"; + + /** Description of the {@code k8s.resourcequota.hugepage_count.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_HUGEPAGE_COUNT_REQUEST_USED_DESCRIPTION = + "The huge page requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.memory.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARD_NAME = + "k8s.resourcequota.memory.limit.hard"; + + /** Unit of the {@code k8s.resourcequota.memory.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARD_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.memory.limit.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_LIMIT_HARD_DESCRIPTION = + "The memory limits in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.memory.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_LIMIT_USED_NAME = + "k8s.resourcequota.memory.limit.used"; + + /** Unit of the {@code k8s.resourcequota.memory.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_LIMIT_USED_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.memory.limit.used} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_LIMIT_USED_DESCRIPTION = + "The memory limits in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.memory.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARD_NAME = + "k8s.resourcequota.memory.request.hard"; + + /** Unit of the {@code k8s.resourcequota.memory.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARD_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.memory.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_REQUEST_HARD_DESCRIPTION = + "The memory requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.memory.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_REQUEST_USED_NAME = + "k8s.resourcequota.memory.request.used"; + + /** Unit of the {@code k8s.resourcequota.memory.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_REQUEST_USED_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.memory.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_MEMORY_REQUEST_USED_DESCRIPTION = + "The memory requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.object_count.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_OBJECT_COUNT_HARD_NAME = + "k8s.resourcequota.object_count.hard"; + + /** Unit of the {@code k8s.resourcequota.object_count.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_OBJECT_COUNT_HARD_UNIT = "{object}"; + + /** Description of the {@code k8s.resourcequota.object_count.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_OBJECT_COUNT_HARD_DESCRIPTION = + "The object count limits in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.object_count.used} metric. */ + public static final String K8S_RESOURCEQUOTA_OBJECT_COUNT_USED_NAME = + "k8s.resourcequota.object_count.used"; + + /** Unit of the {@code k8s.resourcequota.object_count.used} metric. */ + public static final String K8S_RESOURCEQUOTA_OBJECT_COUNT_USED_UNIT = "{object}"; + + /** Description of the {@code k8s.resourcequota.object_count.used} metric. */ + public static final String K8S_RESOURCEQUOTA_OBJECT_COUNT_USED_DESCRIPTION = + "The object count limits in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.persistentvolumeclaim_count.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD_NAME = + "k8s.resourcequota.persistentvolumeclaim_count.hard"; + + /** Unit of the {@code k8s.resourcequota.persistentvolumeclaim_count.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD_UNIT = + "{persistentvolumeclaim}"; + + /** Description of the {@code k8s.resourcequota.persistentvolumeclaim_count.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD_DESCRIPTION = + "The total number of PersistentVolumeClaims that can exist in the namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.persistentvolumeclaim_count.used} metric. */ + public static final String K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED_NAME = + "k8s.resourcequota.persistentvolumeclaim_count.used"; + + /** Unit of the {@code k8s.resourcequota.persistentvolumeclaim_count.used} metric. */ + public static final String K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED_UNIT = + "{persistentvolumeclaim}"; + + /** Description of the {@code k8s.resourcequota.persistentvolumeclaim_count.used} metric. */ + public static final String K8S_RESOURCEQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED_DESCRIPTION = + "The total number of PersistentVolumeClaims that can exist in the namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.storage.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD_NAME = + "k8s.resourcequota.storage.request.hard"; + + /** Unit of the {@code k8s.resourcequota.storage.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.storage.request.hard} metric. */ + public static final String K8S_RESOURCEQUOTA_STORAGE_REQUEST_HARD_DESCRIPTION = + "The storage requests in a specific namespace. The value represents the configured quota limit of the resource in the namespace. "; + + /** Name of the {@code k8s.resourcequota.storage.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED_NAME = + "k8s.resourcequota.storage.request.used"; + + /** Unit of the {@code k8s.resourcequota.storage.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED_UNIT = "By"; + + /** Description of the {@code k8s.resourcequota.storage.request.used} metric. */ + public static final String K8S_RESOURCEQUOTA_STORAGE_REQUEST_USED_DESCRIPTION = + "The storage requests in a specific namespace. The value represents the current observed total usage of the resource in the namespace. "; + + /** Name of the {@code k8s.service.endpoint.count} metric. */ + public static final String K8S_SERVICE_ENDPOINT_COUNT_NAME = "k8s.service.endpoint.count"; + + /** Unit of the {@code k8s.service.endpoint.count} metric. */ + public static final String K8S_SERVICE_ENDPOINT_COUNT_UNIT = "{endpoint}"; + + /** Description of the {@code k8s.service.endpoint.count} metric. */ + public static final String K8S_SERVICE_ENDPOINT_COUNT_DESCRIPTION = + "Number of endpoints for a service by condition and address type."; + + /** Name of the {@code k8s.service.load_balancer.ingress.count} metric. */ + public static final String K8S_SERVICE_LOAD_BALANCER_INGRESS_COUNT_NAME = + "k8s.service.load_balancer.ingress.count"; + + /** Unit of the {@code k8s.service.load_balancer.ingress.count} metric. */ + public static final String K8S_SERVICE_LOAD_BALANCER_INGRESS_COUNT_UNIT = "{ingress}"; + + /** Description of the {@code k8s.service.load_balancer.ingress.count} metric. */ + public static final String K8S_SERVICE_LOAD_BALANCER_INGRESS_COUNT_DESCRIPTION = + "Number of load balancer ingress points (external IPs/hostnames) assigned to the service."; + + /** Name of the {@code k8s.statefulset.current_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_CURRENT_PODS_NAME = "k8s.statefulset.current_pods"; + + /** Unit of the {@code k8s.statefulset.current_pods} metric. */ + @Deprecated public static final String K8S_STATEFULSET_CURRENT_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.current_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_CURRENT_PODS_DESCRIPTION = + "Deprecated, use `k8s.statefulset.pod.current` instead."; + + /** Name of the {@code k8s.statefulset.desired_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_DESIRED_PODS_NAME = "k8s.statefulset.desired_pods"; + + /** Unit of the {@code k8s.statefulset.desired_pods} metric. */ + @Deprecated public static final String K8S_STATEFULSET_DESIRED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.desired_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_DESIRED_PODS_DESCRIPTION = + "Deprecated, use `k8s.statefulset.pod.desired` instead."; + + /** Name of the {@code k8s.statefulset.pod.current} metric. */ + public static final String K8S_STATEFULSET_POD_CURRENT_NAME = "k8s.statefulset.pod.current"; + + /** Unit of the {@code k8s.statefulset.pod.current} metric. */ + public static final String K8S_STATEFULSET_POD_CURRENT_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.pod.current} metric. */ + public static final String K8S_STATEFULSET_POD_CURRENT_DESCRIPTION = + "The number of replica pods created by the statefulset controller from the statefulset version indicated by currentRevision."; + + /** Name of the {@code k8s.statefulset.pod.desired} metric. */ + public static final String K8S_STATEFULSET_POD_DESIRED_NAME = "k8s.statefulset.pod.desired"; + + /** Unit of the {@code k8s.statefulset.pod.desired} metric. */ + public static final String K8S_STATEFULSET_POD_DESIRED_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.pod.desired} metric. */ + public static final String K8S_STATEFULSET_POD_DESIRED_DESCRIPTION = + "Number of desired replica pods in this statefulset."; + + /** Name of the {@code k8s.statefulset.pod.ready} metric. */ + public static final String K8S_STATEFULSET_POD_READY_NAME = "k8s.statefulset.pod.ready"; + + /** Unit of the {@code k8s.statefulset.pod.ready} metric. */ + public static final String K8S_STATEFULSET_POD_READY_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.pod.ready} metric. */ + public static final String K8S_STATEFULSET_POD_READY_DESCRIPTION = + "The number of replica pods created for this statefulset with a Ready Condition."; + + /** Name of the {@code k8s.statefulset.pod.updated} metric. */ + public static final String K8S_STATEFULSET_POD_UPDATED_NAME = "k8s.statefulset.pod.updated"; + + /** Unit of the {@code k8s.statefulset.pod.updated} metric. */ + public static final String K8S_STATEFULSET_POD_UPDATED_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.pod.updated} metric. */ + public static final String K8S_STATEFULSET_POD_UPDATED_DESCRIPTION = + "Number of replica pods created by the statefulset controller from the statefulset version indicated by updateRevision."; + + /** Name of the {@code k8s.statefulset.ready_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_READY_PODS_NAME = "k8s.statefulset.ready_pods"; + + /** Unit of the {@code k8s.statefulset.ready_pods} metric. */ + @Deprecated public static final String K8S_STATEFULSET_READY_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.ready_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_READY_PODS_DESCRIPTION = + "Deprecated, use `k8s.statefulset.pod.ready` instead."; + + /** Name of the {@code k8s.statefulset.updated_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_UPDATED_PODS_NAME = "k8s.statefulset.updated_pods"; + + /** Unit of the {@code k8s.statefulset.updated_pods} metric. */ + @Deprecated public static final String K8S_STATEFULSET_UPDATED_PODS_UNIT = "{pod}"; + + /** Description of the {@code k8s.statefulset.updated_pods} metric. */ + @Deprecated + public static final String K8S_STATEFULSET_UPDATED_PODS_DESCRIPTION = + "Deprecated, use `k8s.statefulset.pod.updated` instead."; + + private K8sIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/KestrelIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/KestrelIncubatingMetrics.java new file mode 100644 index 0000000..757cdd5 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/KestrelIncubatingMetrics.java @@ -0,0 +1,94 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class KestrelIncubatingMetrics { + + /** Name of the {@code kestrel.active_connections} metric. */ + public static final String KESTREL_ACTIVE_CONNECTIONS_NAME = "kestrel.active_connections"; + + /** Unit of the {@code kestrel.active_connections} metric. */ + public static final String KESTREL_ACTIVE_CONNECTIONS_UNIT = "{connection}"; + + /** Description of the {@code kestrel.active_connections} metric. */ + public static final String KESTREL_ACTIVE_CONNECTIONS_DESCRIPTION = + "Number of connections that are currently active on the server."; + + /** Name of the {@code kestrel.active_tls_handshakes} metric. */ + public static final String KESTREL_ACTIVE_TLS_HANDSHAKES_NAME = "kestrel.active_tls_handshakes"; + + /** Unit of the {@code kestrel.active_tls_handshakes} metric. */ + public static final String KESTREL_ACTIVE_TLS_HANDSHAKES_UNIT = "{handshake}"; + + /** Description of the {@code kestrel.active_tls_handshakes} metric. */ + public static final String KESTREL_ACTIVE_TLS_HANDSHAKES_DESCRIPTION = + "Number of TLS handshakes that are currently in progress on the server."; + + /** Name of the {@code kestrel.connection.duration} metric. */ + public static final String KESTREL_CONNECTION_DURATION_NAME = "kestrel.connection.duration"; + + /** Unit of the {@code kestrel.connection.duration} metric. */ + public static final String KESTREL_CONNECTION_DURATION_UNIT = "s"; + + /** Description of the {@code kestrel.connection.duration} metric. */ + public static final String KESTREL_CONNECTION_DURATION_DESCRIPTION = + "The duration of connections on the server."; + + /** Name of the {@code kestrel.queued_connections} metric. */ + public static final String KESTREL_QUEUED_CONNECTIONS_NAME = "kestrel.queued_connections"; + + /** Unit of the {@code kestrel.queued_connections} metric. */ + public static final String KESTREL_QUEUED_CONNECTIONS_UNIT = "{connection}"; + + /** Description of the {@code kestrel.queued_connections} metric. */ + public static final String KESTREL_QUEUED_CONNECTIONS_DESCRIPTION = + "Number of connections that are currently queued and are waiting to start."; + + /** Name of the {@code kestrel.queued_requests} metric. */ + public static final String KESTREL_QUEUED_REQUESTS_NAME = "kestrel.queued_requests"; + + /** Unit of the {@code kestrel.queued_requests} metric. */ + public static final String KESTREL_QUEUED_REQUESTS_UNIT = "{request}"; + + /** Description of the {@code kestrel.queued_requests} metric. */ + public static final String KESTREL_QUEUED_REQUESTS_DESCRIPTION = + "Number of HTTP requests on multiplexed connections (HTTP/2 and HTTP/3) that are currently queued and are waiting to start."; + + /** Name of the {@code kestrel.rejected_connections} metric. */ + public static final String KESTREL_REJECTED_CONNECTIONS_NAME = "kestrel.rejected_connections"; + + /** Unit of the {@code kestrel.rejected_connections} metric. */ + public static final String KESTREL_REJECTED_CONNECTIONS_UNIT = "{connection}"; + + /** Description of the {@code kestrel.rejected_connections} metric. */ + public static final String KESTREL_REJECTED_CONNECTIONS_DESCRIPTION = + "Number of connections rejected by the server."; + + /** Name of the {@code kestrel.tls_handshake.duration} metric. */ + public static final String KESTREL_TLS_HANDSHAKE_DURATION_NAME = "kestrel.tls_handshake.duration"; + + /** Unit of the {@code kestrel.tls_handshake.duration} metric. */ + public static final String KESTREL_TLS_HANDSHAKE_DURATION_UNIT = "s"; + + /** Description of the {@code kestrel.tls_handshake.duration} metric. */ + public static final String KESTREL_TLS_HANDSHAKE_DURATION_DESCRIPTION = + "The duration of TLS handshakes on the server."; + + /** Name of the {@code kestrel.upgraded_connections} metric. */ + public static final String KESTREL_UPGRADED_CONNECTIONS_NAME = "kestrel.upgraded_connections"; + + /** Unit of the {@code kestrel.upgraded_connections} metric. */ + public static final String KESTREL_UPGRADED_CONNECTIONS_UNIT = "{connection}"; + + /** Description of the {@code kestrel.upgraded_connections} metric. */ + public static final String KESTREL_UPGRADED_CONNECTIONS_DESCRIPTION = + "Number of connections that are currently upgraded (WebSockets). ."; + + private KestrelIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/McpIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/McpIncubatingMetrics.java new file mode 100644 index 0000000..194ff4d --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/McpIncubatingMetrics.java @@ -0,0 +1,54 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class McpIncubatingMetrics { + + /** Name of the {@code mcp.client.operation.duration} metric. */ + public static final String MCP_CLIENT_OPERATION_DURATION_NAME = "mcp.client.operation.duration"; + + /** Unit of the {@code mcp.client.operation.duration} metric. */ + public static final String MCP_CLIENT_OPERATION_DURATION_UNIT = "s"; + + /** Description of the {@code mcp.client.operation.duration} metric. */ + public static final String MCP_CLIENT_OPERATION_DURATION_DESCRIPTION = + "The duration of the MCP request or notification as observed on the sender from the time it was sent until the response or ack is received. "; + + /** Name of the {@code mcp.client.session.duration} metric. */ + public static final String MCP_CLIENT_SESSION_DURATION_NAME = "mcp.client.session.duration"; + + /** Unit of the {@code mcp.client.session.duration} metric. */ + public static final String MCP_CLIENT_SESSION_DURATION_UNIT = "s"; + + /** Description of the {@code mcp.client.session.duration} metric. */ + public static final String MCP_CLIENT_SESSION_DURATION_DESCRIPTION = + "The duration of the MCP session as observed on the MCP client."; + + /** Name of the {@code mcp.server.operation.duration} metric. */ + public static final String MCP_SERVER_OPERATION_DURATION_NAME = "mcp.server.operation.duration"; + + /** Unit of the {@code mcp.server.operation.duration} metric. */ + public static final String MCP_SERVER_OPERATION_DURATION_UNIT = "s"; + + /** Description of the {@code mcp.server.operation.duration} metric. */ + public static final String MCP_SERVER_OPERATION_DURATION_DESCRIPTION = + "MCP request or notification duration as observed on the receiver from the time it was received until the result or ack is sent. "; + + /** Name of the {@code mcp.server.session.duration} metric. */ + public static final String MCP_SERVER_SESSION_DURATION_NAME = "mcp.server.session.duration"; + + /** Unit of the {@code mcp.server.session.duration} metric. */ + public static final String MCP_SERVER_SESSION_DURATION_UNIT = "s"; + + /** Description of the {@code mcp.server.session.duration} metric. */ + public static final String MCP_SERVER_SESSION_DURATION_DESCRIPTION = + "The duration of the MCP session as observed on the MCP server."; + + private McpIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingMetrics.java new file mode 100644 index 0000000..6fd5ef6 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/MessagingIncubatingMetrics.java @@ -0,0 +1,129 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class MessagingIncubatingMetrics { + + /** Name of the {@code messaging.client.consumed.messages} metric. */ + public static final String MESSAGING_CLIENT_CONSUMED_MESSAGES_NAME = + "messaging.client.consumed.messages"; + + /** Unit of the {@code messaging.client.consumed.messages} metric. */ + public static final String MESSAGING_CLIENT_CONSUMED_MESSAGES_UNIT = "{message}"; + + /** Description of the {@code messaging.client.consumed.messages} metric. */ + public static final String MESSAGING_CLIENT_CONSUMED_MESSAGES_DESCRIPTION = + "Number of messages that were delivered to the application."; + + /** Name of the {@code messaging.client.operation.duration} metric. */ + public static final String MESSAGING_CLIENT_OPERATION_DURATION_NAME = + "messaging.client.operation.duration"; + + /** Unit of the {@code messaging.client.operation.duration} metric. */ + public static final String MESSAGING_CLIENT_OPERATION_DURATION_UNIT = "s"; + + /** Description of the {@code messaging.client.operation.duration} metric. */ + public static final String MESSAGING_CLIENT_OPERATION_DURATION_DESCRIPTION = + "Duration of messaging operation initiated by a producer or consumer client."; + + /** Name of the {@code messaging.client.published.messages} metric. */ + @Deprecated + public static final String MESSAGING_CLIENT_PUBLISHED_MESSAGES_NAME = + "messaging.client.published.messages"; + + /** Unit of the {@code messaging.client.published.messages} metric. */ + @Deprecated public static final String MESSAGING_CLIENT_PUBLISHED_MESSAGES_UNIT = "{message}"; + + /** Description of the {@code messaging.client.published.messages} metric. */ + @Deprecated + public static final String MESSAGING_CLIENT_PUBLISHED_MESSAGES_DESCRIPTION = + "Deprecated. Use `messaging.client.sent.messages` instead."; + + /** Name of the {@code messaging.client.sent.messages} metric. */ + public static final String MESSAGING_CLIENT_SENT_MESSAGES_NAME = "messaging.client.sent.messages"; + + /** Unit of the {@code messaging.client.sent.messages} metric. */ + public static final String MESSAGING_CLIENT_SENT_MESSAGES_UNIT = "{message}"; + + /** Description of the {@code messaging.client.sent.messages} metric. */ + public static final String MESSAGING_CLIENT_SENT_MESSAGES_DESCRIPTION = + "Number of messages producer attempted to send to the broker."; + + /** Name of the {@code messaging.process.duration} metric. */ + public static final String MESSAGING_PROCESS_DURATION_NAME = "messaging.process.duration"; + + /** Unit of the {@code messaging.process.duration} metric. */ + public static final String MESSAGING_PROCESS_DURATION_UNIT = "s"; + + /** Description of the {@code messaging.process.duration} metric. */ + public static final String MESSAGING_PROCESS_DURATION_DESCRIPTION = + "Duration of processing operation."; + + /** Name of the {@code messaging.process.messages} metric. */ + @Deprecated + public static final String MESSAGING_PROCESS_MESSAGES_NAME = "messaging.process.messages"; + + /** Unit of the {@code messaging.process.messages} metric. */ + @Deprecated public static final String MESSAGING_PROCESS_MESSAGES_UNIT = "{message}"; + + /** Description of the {@code messaging.process.messages} metric. */ + @Deprecated + public static final String MESSAGING_PROCESS_MESSAGES_DESCRIPTION = + "Deprecated. Use `messaging.client.consumed.messages` instead."; + + /** Name of the {@code messaging.publish.duration} metric. */ + @Deprecated + public static final String MESSAGING_PUBLISH_DURATION_NAME = "messaging.publish.duration"; + + /** Unit of the {@code messaging.publish.duration} metric. */ + @Deprecated public static final String MESSAGING_PUBLISH_DURATION_UNIT = "s"; + + /** Description of the {@code messaging.publish.duration} metric. */ + @Deprecated + public static final String MESSAGING_PUBLISH_DURATION_DESCRIPTION = + "Deprecated. Use `messaging.client.operation.duration` instead."; + + /** Name of the {@code messaging.publish.messages} metric. */ + @Deprecated + public static final String MESSAGING_PUBLISH_MESSAGES_NAME = "messaging.publish.messages"; + + /** Unit of the {@code messaging.publish.messages} metric. */ + @Deprecated public static final String MESSAGING_PUBLISH_MESSAGES_UNIT = "{message}"; + + /** Description of the {@code messaging.publish.messages} metric. */ + @Deprecated + public static final String MESSAGING_PUBLISH_MESSAGES_DESCRIPTION = + "Deprecated. Use `messaging.client.sent.messages` instead."; + + /** Name of the {@code messaging.receive.duration} metric. */ + @Deprecated + public static final String MESSAGING_RECEIVE_DURATION_NAME = "messaging.receive.duration"; + + /** Unit of the {@code messaging.receive.duration} metric. */ + @Deprecated public static final String MESSAGING_RECEIVE_DURATION_UNIT = "s"; + + /** Description of the {@code messaging.receive.duration} metric. */ + @Deprecated + public static final String MESSAGING_RECEIVE_DURATION_DESCRIPTION = + "Deprecated. Use `messaging.client.operation.duration` instead."; + + /** Name of the {@code messaging.receive.messages} metric. */ + @Deprecated + public static final String MESSAGING_RECEIVE_MESSAGES_NAME = "messaging.receive.messages"; + + /** Unit of the {@code messaging.receive.messages} metric. */ + @Deprecated public static final String MESSAGING_RECEIVE_MESSAGES_UNIT = "{message}"; + + /** Description of the {@code messaging.receive.messages} metric. */ + @Deprecated + public static final String MESSAGING_RECEIVE_MESSAGES_DESCRIPTION = + "Deprecated. Use `messaging.client.consumed.messages` instead."; + + private MessagingIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NfsIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NfsIncubatingMetrics.java new file mode 100644 index 0000000..5f9a0b5 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NfsIncubatingMetrics.java @@ -0,0 +1,178 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class NfsIncubatingMetrics { + + /** Name of the {@code nfs.client.net.count} metric. */ + public static final String NFS_CLIENT_NET_COUNT_NAME = "nfs.client.net.count"; + + /** Unit of the {@code nfs.client.net.count} metric. */ + public static final String NFS_CLIENT_NET_COUNT_UNIT = "{record}"; + + /** Description of the {@code nfs.client.net.count} metric. */ + public static final String NFS_CLIENT_NET_COUNT_DESCRIPTION = + "Reports the count of kernel NFS client TCP segments and UDP datagrams handled."; + + /** Name of the {@code nfs.client.net.tcp.connection.accepted} metric. */ + public static final String NFS_CLIENT_NET_TCP_CONNECTION_ACCEPTED_NAME = + "nfs.client.net.tcp.connection.accepted"; + + /** Unit of the {@code nfs.client.net.tcp.connection.accepted} metric. */ + public static final String NFS_CLIENT_NET_TCP_CONNECTION_ACCEPTED_UNIT = "{connection}"; + + /** Description of the {@code nfs.client.net.tcp.connection.accepted} metric. */ + public static final String NFS_CLIENT_NET_TCP_CONNECTION_ACCEPTED_DESCRIPTION = + "Reports the count of kernel NFS client TCP connections accepted."; + + /** Name of the {@code nfs.client.operation.count} metric. */ + public static final String NFS_CLIENT_OPERATION_COUNT_NAME = "nfs.client.operation.count"; + + /** Unit of the {@code nfs.client.operation.count} metric. */ + public static final String NFS_CLIENT_OPERATION_COUNT_UNIT = "{operation}"; + + /** Description of the {@code nfs.client.operation.count} metric. */ + public static final String NFS_CLIENT_OPERATION_COUNT_DESCRIPTION = + "Reports the count of kernel NFSv4+ client operations."; + + /** Name of the {@code nfs.client.procedure.count} metric. */ + public static final String NFS_CLIENT_PROCEDURE_COUNT_NAME = "nfs.client.procedure.count"; + + /** Unit of the {@code nfs.client.procedure.count} metric. */ + public static final String NFS_CLIENT_PROCEDURE_COUNT_UNIT = "{procedure}"; + + /** Description of the {@code nfs.client.procedure.count} metric. */ + public static final String NFS_CLIENT_PROCEDURE_COUNT_DESCRIPTION = + "Reports the count of kernel NFS client procedures."; + + /** Name of the {@code nfs.client.rpc.authrefresh.count} metric. */ + public static final String NFS_CLIENT_RPC_AUTHREFRESH_COUNT_NAME = + "nfs.client.rpc.authrefresh.count"; + + /** Unit of the {@code nfs.client.rpc.authrefresh.count} metric. */ + public static final String NFS_CLIENT_RPC_AUTHREFRESH_COUNT_UNIT = "{authrefresh}"; + + /** Description of the {@code nfs.client.rpc.authrefresh.count} metric. */ + public static final String NFS_CLIENT_RPC_AUTHREFRESH_COUNT_DESCRIPTION = + "Reports the count of kernel NFS client RPC authentication refreshes."; + + /** Name of the {@code nfs.client.rpc.count} metric. */ + public static final String NFS_CLIENT_RPC_COUNT_NAME = "nfs.client.rpc.count"; + + /** Unit of the {@code nfs.client.rpc.count} metric. */ + public static final String NFS_CLIENT_RPC_COUNT_UNIT = "{request}"; + + /** Description of the {@code nfs.client.rpc.count} metric. */ + public static final String NFS_CLIENT_RPC_COUNT_DESCRIPTION = + "Reports the count of kernel NFS client RPCs sent, regardless of whether they're accepted/rejected by the server."; + + /** Name of the {@code nfs.client.rpc.retransmit.count} metric. */ + public static final String NFS_CLIENT_RPC_RETRANSMIT_COUNT_NAME = + "nfs.client.rpc.retransmit.count"; + + /** Unit of the {@code nfs.client.rpc.retransmit.count} metric. */ + public static final String NFS_CLIENT_RPC_RETRANSMIT_COUNT_UNIT = "{retransmit}"; + + /** Description of the {@code nfs.client.rpc.retransmit.count} metric. */ + public static final String NFS_CLIENT_RPC_RETRANSMIT_COUNT_DESCRIPTION = + "Reports the count of kernel NFS client RPC retransmits."; + + /** Name of the {@code nfs.server.fh.stale.count} metric. */ + public static final String NFS_SERVER_FH_STALE_COUNT_NAME = "nfs.server.fh.stale.count"; + + /** Unit of the {@code nfs.server.fh.stale.count} metric. */ + public static final String NFS_SERVER_FH_STALE_COUNT_UNIT = "{fh}"; + + /** Description of the {@code nfs.server.fh.stale.count} metric. */ + public static final String NFS_SERVER_FH_STALE_COUNT_DESCRIPTION = + "Reports the count of kernel NFS server stale file handles."; + + /** Name of the {@code nfs.server.io} metric. */ + public static final String NFS_SERVER_IO_NAME = "nfs.server.io"; + + /** Unit of the {@code nfs.server.io} metric. */ + public static final String NFS_SERVER_IO_UNIT = "By"; + + /** Description of the {@code nfs.server.io} metric. */ + public static final String NFS_SERVER_IO_DESCRIPTION = + "Reports the count of kernel NFS server bytes returned to receive and transmit (read and write) requests."; + + /** Name of the {@code nfs.server.net.count} metric. */ + public static final String NFS_SERVER_NET_COUNT_NAME = "nfs.server.net.count"; + + /** Unit of the {@code nfs.server.net.count} metric. */ + public static final String NFS_SERVER_NET_COUNT_UNIT = "{record}"; + + /** Description of the {@code nfs.server.net.count} metric. */ + public static final String NFS_SERVER_NET_COUNT_DESCRIPTION = + "Reports the count of kernel NFS server TCP segments and UDP datagrams handled."; + + /** Name of the {@code nfs.server.net.tcp.connection.accepted} metric. */ + public static final String NFS_SERVER_NET_TCP_CONNECTION_ACCEPTED_NAME = + "nfs.server.net.tcp.connection.accepted"; + + /** Unit of the {@code nfs.server.net.tcp.connection.accepted} metric. */ + public static final String NFS_SERVER_NET_TCP_CONNECTION_ACCEPTED_UNIT = "{connection}"; + + /** Description of the {@code nfs.server.net.tcp.connection.accepted} metric. */ + public static final String NFS_SERVER_NET_TCP_CONNECTION_ACCEPTED_DESCRIPTION = + "Reports the count of kernel NFS server TCP connections accepted."; + + /** Name of the {@code nfs.server.operation.count} metric. */ + public static final String NFS_SERVER_OPERATION_COUNT_NAME = "nfs.server.operation.count"; + + /** Unit of the {@code nfs.server.operation.count} metric. */ + public static final String NFS_SERVER_OPERATION_COUNT_UNIT = "{operation}"; + + /** Description of the {@code nfs.server.operation.count} metric. */ + public static final String NFS_SERVER_OPERATION_COUNT_DESCRIPTION = + "Reports the count of kernel NFSv4+ server operations."; + + /** Name of the {@code nfs.server.procedure.count} metric. */ + public static final String NFS_SERVER_PROCEDURE_COUNT_NAME = "nfs.server.procedure.count"; + + /** Unit of the {@code nfs.server.procedure.count} metric. */ + public static final String NFS_SERVER_PROCEDURE_COUNT_UNIT = "{procedure}"; + + /** Description of the {@code nfs.server.procedure.count} metric. */ + public static final String NFS_SERVER_PROCEDURE_COUNT_DESCRIPTION = + "Reports the count of kernel NFS server procedures."; + + /** Name of the {@code nfs.server.repcache.requests} metric. */ + public static final String NFS_SERVER_REPCACHE_REQUESTS_NAME = "nfs.server.repcache.requests"; + + /** Unit of the {@code nfs.server.repcache.requests} metric. */ + public static final String NFS_SERVER_REPCACHE_REQUESTS_UNIT = "{request}"; + + /** Description of the {@code nfs.server.repcache.requests} metric. */ + public static final String NFS_SERVER_REPCACHE_REQUESTS_DESCRIPTION = + "Reports the kernel NFS server reply cache request count by cache hit status."; + + /** Name of the {@code nfs.server.rpc.count} metric. */ + public static final String NFS_SERVER_RPC_COUNT_NAME = "nfs.server.rpc.count"; + + /** Unit of the {@code nfs.server.rpc.count} metric. */ + public static final String NFS_SERVER_RPC_COUNT_UNIT = "{request}"; + + /** Description of the {@code nfs.server.rpc.count} metric. */ + public static final String NFS_SERVER_RPC_COUNT_DESCRIPTION = + "Reports the count of kernel NFS server RPCs handled."; + + /** Name of the {@code nfs.server.thread.count} metric. */ + public static final String NFS_SERVER_THREAD_COUNT_NAME = "nfs.server.thread.count"; + + /** Unit of the {@code nfs.server.thread.count} metric. */ + public static final String NFS_SERVER_THREAD_COUNT_UNIT = "{thread}"; + + /** Description of the {@code nfs.server.thread.count} metric. */ + public static final String NFS_SERVER_THREAD_COUNT_DESCRIPTION = + "Reports the count of kernel NFS server available threads."; + + private NfsIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NodejsIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NodejsIncubatingMetrics.java new file mode 100644 index 0000000..673c116 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/NodejsIncubatingMetrics.java @@ -0,0 +1,100 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class NodejsIncubatingMetrics { + + /** Name of the {@code nodejs.eventloop.delay.max} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MAX_NAME = "nodejs.eventloop.delay.max"; + + /** Unit of the {@code nodejs.eventloop.delay.max} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MAX_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.max} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MAX_DESCRIPTION = "Event loop maximum delay."; + + /** Name of the {@code nodejs.eventloop.delay.mean} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MEAN_NAME = "nodejs.eventloop.delay.mean"; + + /** Unit of the {@code nodejs.eventloop.delay.mean} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MEAN_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.mean} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MEAN_DESCRIPTION = "Event loop mean delay."; + + /** Name of the {@code nodejs.eventloop.delay.min} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MIN_NAME = "nodejs.eventloop.delay.min"; + + /** Unit of the {@code nodejs.eventloop.delay.min} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MIN_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.min} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_MIN_DESCRIPTION = "Event loop minimum delay."; + + /** Name of the {@code nodejs.eventloop.delay.p50} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P50_NAME = "nodejs.eventloop.delay.p50"; + + /** Unit of the {@code nodejs.eventloop.delay.p50} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P50_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.p50} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P50_DESCRIPTION = + "Event loop 50 percentile delay."; + + /** Name of the {@code nodejs.eventloop.delay.p90} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P90_NAME = "nodejs.eventloop.delay.p90"; + + /** Unit of the {@code nodejs.eventloop.delay.p90} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P90_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.p90} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P90_DESCRIPTION = + "Event loop 90 percentile delay."; + + /** Name of the {@code nodejs.eventloop.delay.p99} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P99_NAME = "nodejs.eventloop.delay.p99"; + + /** Unit of the {@code nodejs.eventloop.delay.p99} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P99_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.p99} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_P99_DESCRIPTION = + "Event loop 99 percentile delay."; + + /** Name of the {@code nodejs.eventloop.delay.stddev} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_STDDEV_NAME = "nodejs.eventloop.delay.stddev"; + + /** Unit of the {@code nodejs.eventloop.delay.stddev} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_STDDEV_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.delay.stddev} metric. */ + public static final String NODEJS_EVENTLOOP_DELAY_STDDEV_DESCRIPTION = + "Event loop standard deviation delay."; + + /** Name of the {@code nodejs.eventloop.time} metric. */ + public static final String NODEJS_EVENTLOOP_TIME_NAME = "nodejs.eventloop.time"; + + /** Unit of the {@code nodejs.eventloop.time} metric. */ + public static final String NODEJS_EVENTLOOP_TIME_UNIT = "s"; + + /** Description of the {@code nodejs.eventloop.time} metric. */ + public static final String NODEJS_EVENTLOOP_TIME_DESCRIPTION = + "Cumulative duration of time the event loop has been in each state."; + + /** Name of the {@code nodejs.eventloop.utilization} metric. */ + public static final String NODEJS_EVENTLOOP_UTILIZATION_NAME = "nodejs.eventloop.utilization"; + + /** Unit of the {@code nodejs.eventloop.utilization} metric. */ + public static final String NODEJS_EVENTLOOP_UTILIZATION_UNIT = "1"; + + /** Description of the {@code nodejs.eventloop.utilization} metric. */ + public static final String NODEJS_EVENTLOOP_UTILIZATION_DESCRIPTION = "Event loop utilization."; + + private NodejsIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpenshiftIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpenshiftIncubatingMetrics.java new file mode 100644 index 0000000..7cf10cd --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OpenshiftIncubatingMetrics.java @@ -0,0 +1,236 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class OpenshiftIncubatingMetrics { + + /** Name of the {@code openshift.clusterquota.cpu.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_HARD_NAME = + "openshift.clusterquota.cpu.limit.hard"; + + /** Unit of the {@code openshift.clusterquota.cpu.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_HARD_UNIT = "{cpu}"; + + /** Description of the {@code openshift.clusterquota.cpu.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.cpu.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_USED_NAME = + "openshift.clusterquota.cpu.limit.used"; + + /** Unit of the {@code openshift.clusterquota.cpu.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_USED_UNIT = "{cpu}"; + + /** Description of the {@code openshift.clusterquota.cpu.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_LIMIT_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.cpu.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_HARD_NAME = + "openshift.clusterquota.cpu.request.hard"; + + /** Unit of the {@code openshift.clusterquota.cpu.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_HARD_UNIT = "{cpu}"; + + /** Description of the {@code openshift.clusterquota.cpu.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.cpu.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_USED_NAME = + "openshift.clusterquota.cpu.request.used"; + + /** Unit of the {@code openshift.clusterquota.cpu.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_USED_UNIT = "{cpu}"; + + /** Description of the {@code openshift.clusterquota.cpu.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_CPU_REQUEST_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.ephemeral_storage.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD_NAME = + "openshift.clusterquota.ephemeral_storage.limit.hard"; + + /** Unit of the {@code openshift.clusterquota.ephemeral_storage.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.ephemeral_storage.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.ephemeral_storage.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_USED_NAME = + "openshift.clusterquota.ephemeral_storage.limit.used"; + + /** Unit of the {@code openshift.clusterquota.ephemeral_storage.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_USED_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.ephemeral_storage.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_LIMIT_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.ephemeral_storage.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD_NAME = + "openshift.clusterquota.ephemeral_storage.request.hard"; + + /** Unit of the {@code openshift.clusterquota.ephemeral_storage.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.ephemeral_storage.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.ephemeral_storage.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_USED_NAME = + "openshift.clusterquota.ephemeral_storage.request.used"; + + /** Unit of the {@code openshift.clusterquota.ephemeral_storage.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_USED_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.ephemeral_storage.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_EPHEMERAL_STORAGE_REQUEST_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.hugepage_count.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_HARD_NAME = + "openshift.clusterquota.hugepage_count.request.hard"; + + /** Unit of the {@code openshift.clusterquota.hugepage_count.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_HARD_UNIT = "{hugepage}"; + + /** Description of the {@code openshift.clusterquota.hugepage_count.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.hugepage_count.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_USED_NAME = + "openshift.clusterquota.hugepage_count.request.used"; + + /** Unit of the {@code openshift.clusterquota.hugepage_count.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_USED_UNIT = "{hugepage}"; + + /** Description of the {@code openshift.clusterquota.hugepage_count.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_HUGEPAGE_COUNT_REQUEST_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.memory.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_HARD_NAME = + "openshift.clusterquota.memory.limit.hard"; + + /** Unit of the {@code openshift.clusterquota.memory.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_HARD_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.memory.limit.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.memory.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_USED_NAME = + "openshift.clusterquota.memory.limit.used"; + + /** Unit of the {@code openshift.clusterquota.memory.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_USED_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.memory.limit.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_LIMIT_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.memory.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_HARD_NAME = + "openshift.clusterquota.memory.request.hard"; + + /** Unit of the {@code openshift.clusterquota.memory.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_HARD_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.memory.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.memory.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_USED_NAME = + "openshift.clusterquota.memory.request.used"; + + /** Unit of the {@code openshift.clusterquota.memory.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_USED_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.memory.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_MEMORY_REQUEST_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.object_count.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_HARD_NAME = + "openshift.clusterquota.object_count.hard"; + + /** Unit of the {@code openshift.clusterquota.object_count.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_HARD_UNIT = "{object}"; + + /** Description of the {@code openshift.clusterquota.object_count.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.object_count.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_USED_NAME = + "openshift.clusterquota.object_count.used"; + + /** Unit of the {@code openshift.clusterquota.object_count.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_USED_UNIT = "{object}"; + + /** Description of the {@code openshift.clusterquota.object_count.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_OBJECT_COUNT_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.persistentvolumeclaim_count.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD_NAME = + "openshift.clusterquota.persistentvolumeclaim_count.hard"; + + /** Unit of the {@code openshift.clusterquota.persistentvolumeclaim_count.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD_UNIT = + "{persistentvolumeclaim}"; + + /** Description of the {@code openshift.clusterquota.persistentvolumeclaim_count.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.persistentvolumeclaim_count.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED_NAME = + "openshift.clusterquota.persistentvolumeclaim_count.used"; + + /** Unit of the {@code openshift.clusterquota.persistentvolumeclaim_count.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED_UNIT = + "{persistentvolumeclaim}"; + + /** Description of the {@code openshift.clusterquota.persistentvolumeclaim_count.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_PERSISTENTVOLUMECLAIM_COUNT_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.storage.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_HARD_NAME = + "openshift.clusterquota.storage.request.hard"; + + /** Unit of the {@code openshift.clusterquota.storage.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_HARD_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.storage.request.hard} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_HARD_DESCRIPTION = + "The enforced hard limit of the resource across all projects. "; + + /** Name of the {@code openshift.clusterquota.storage.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_USED_NAME = + "openshift.clusterquota.storage.request.used"; + + /** Unit of the {@code openshift.clusterquota.storage.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_USED_UNIT = "By"; + + /** Description of the {@code openshift.clusterquota.storage.request.used} metric. */ + public static final String OPENSHIFT_CLUSTERQUOTA_STORAGE_REQUEST_USED_DESCRIPTION = + "The current observed total usage of the resource across all projects. "; + + private OpenshiftIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingMetrics.java new file mode 100644 index 0000000..991e642 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/OtelIncubatingMetrics.java @@ -0,0 +1,268 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class OtelIncubatingMetrics { + + /** Name of the {@code otel.sdk.exporter.log.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_LOG_EXPORTED_NAME = "otel.sdk.exporter.log.exported"; + + /** Unit of the {@code otel.sdk.exporter.log.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_LOG_EXPORTED_UNIT = "{log_record}"; + + /** Description of the {@code otel.sdk.exporter.log.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_LOG_EXPORTED_DESCRIPTION = + "The number of log records for which the export has finished, either successful or failed."; + + /** Name of the {@code otel.sdk.exporter.log.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_LOG_INFLIGHT_NAME = "otel.sdk.exporter.log.inflight"; + + /** Unit of the {@code otel.sdk.exporter.log.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_LOG_INFLIGHT_UNIT = "{log_record}"; + + /** Description of the {@code otel.sdk.exporter.log.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_LOG_INFLIGHT_DESCRIPTION = + "The number of log records which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)."; + + /** Name of the {@code otel.sdk.exporter.metric_data_point.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_METRIC_DATA_POINT_EXPORTED_NAME = + "otel.sdk.exporter.metric_data_point.exported"; + + /** Unit of the {@code otel.sdk.exporter.metric_data_point.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_METRIC_DATA_POINT_EXPORTED_UNIT = "{data_point}"; + + /** Description of the {@code otel.sdk.exporter.metric_data_point.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_METRIC_DATA_POINT_EXPORTED_DESCRIPTION = + "The number of metric data points for which the export has finished, either successful or failed."; + + /** Name of the {@code otel.sdk.exporter.metric_data_point.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_METRIC_DATA_POINT_INFLIGHT_NAME = + "otel.sdk.exporter.metric_data_point.inflight"; + + /** Unit of the {@code otel.sdk.exporter.metric_data_point.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_METRIC_DATA_POINT_INFLIGHT_UNIT = "{data_point}"; + + /** Description of the {@code otel.sdk.exporter.metric_data_point.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_METRIC_DATA_POINT_INFLIGHT_DESCRIPTION = + "The number of metric data points which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)."; + + /** Name of the {@code otel.sdk.exporter.operation.duration} metric. */ + public static final String OTEL_SDK_EXPORTER_OPERATION_DURATION_NAME = + "otel.sdk.exporter.operation.duration"; + + /** Unit of the {@code otel.sdk.exporter.operation.duration} metric. */ + public static final String OTEL_SDK_EXPORTER_OPERATION_DURATION_UNIT = "s"; + + /** Description of the {@code otel.sdk.exporter.operation.duration} metric. */ + public static final String OTEL_SDK_EXPORTER_OPERATION_DURATION_DESCRIPTION = + "The duration of exporting a batch of telemetry records."; + + /** Name of the {@code otel.sdk.exporter.span.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_SPAN_EXPORTED_NAME = + "otel.sdk.exporter.span.exported"; + + /** Unit of the {@code otel.sdk.exporter.span.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_SPAN_EXPORTED_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.exporter.span.exported} metric. */ + public static final String OTEL_SDK_EXPORTER_SPAN_EXPORTED_DESCRIPTION = + "The number of spans for which the export has finished, either successful or failed."; + + /** Name of the {@code otel.sdk.exporter.span.exported.count} metric. */ + @Deprecated + public static final String OTEL_SDK_EXPORTER_SPAN_EXPORTED_COUNT_NAME = + "otel.sdk.exporter.span.exported.count"; + + /** Unit of the {@code otel.sdk.exporter.span.exported.count} metric. */ + @Deprecated public static final String OTEL_SDK_EXPORTER_SPAN_EXPORTED_COUNT_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.exporter.span.exported.count} metric. */ + @Deprecated + public static final String OTEL_SDK_EXPORTER_SPAN_EXPORTED_COUNT_DESCRIPTION = + "Deprecated, use `otel.sdk.exporter.span.exported` instead."; + + /** Name of the {@code otel.sdk.exporter.span.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_SPAN_INFLIGHT_NAME = + "otel.sdk.exporter.span.inflight"; + + /** Unit of the {@code otel.sdk.exporter.span.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_SPAN_INFLIGHT_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.exporter.span.inflight} metric. */ + public static final String OTEL_SDK_EXPORTER_SPAN_INFLIGHT_DESCRIPTION = + "The number of spans which were passed to the exporter, but that have not been exported yet (neither successful, nor failed)."; + + /** Name of the {@code otel.sdk.exporter.span.inflight.count} metric. */ + @Deprecated + public static final String OTEL_SDK_EXPORTER_SPAN_INFLIGHT_COUNT_NAME = + "otel.sdk.exporter.span.inflight.count"; + + /** Unit of the {@code otel.sdk.exporter.span.inflight.count} metric. */ + @Deprecated public static final String OTEL_SDK_EXPORTER_SPAN_INFLIGHT_COUNT_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.exporter.span.inflight.count} metric. */ + @Deprecated + public static final String OTEL_SDK_EXPORTER_SPAN_INFLIGHT_COUNT_DESCRIPTION = + "Deprecated, use `otel.sdk.exporter.span.inflight` instead."; + + /** Name of the {@code otel.sdk.log.created} metric. */ + public static final String OTEL_SDK_LOG_CREATED_NAME = "otel.sdk.log.created"; + + /** Unit of the {@code otel.sdk.log.created} metric. */ + public static final String OTEL_SDK_LOG_CREATED_UNIT = "{log_record}"; + + /** Description of the {@code otel.sdk.log.created} metric. */ + public static final String OTEL_SDK_LOG_CREATED_DESCRIPTION = + "The number of logs submitted to enabled SDK Loggers."; + + /** Name of the {@code otel.sdk.metric_reader.collection.duration} metric. */ + public static final String OTEL_SDK_METRIC_READER_COLLECTION_DURATION_NAME = + "otel.sdk.metric_reader.collection.duration"; + + /** Unit of the {@code otel.sdk.metric_reader.collection.duration} metric. */ + public static final String OTEL_SDK_METRIC_READER_COLLECTION_DURATION_UNIT = "s"; + + /** Description of the {@code otel.sdk.metric_reader.collection.duration} metric. */ + public static final String OTEL_SDK_METRIC_READER_COLLECTION_DURATION_DESCRIPTION = + "The duration of the collect operation of the metric reader."; + + /** Name of the {@code otel.sdk.processor.log.processed} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_PROCESSED_NAME = + "otel.sdk.processor.log.processed"; + + /** Unit of the {@code otel.sdk.processor.log.processed} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_PROCESSED_UNIT = "{log_record}"; + + /** Description of the {@code otel.sdk.processor.log.processed} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_PROCESSED_DESCRIPTION = + "The number of log records for which the processing has finished, either successful or failed."; + + /** Name of the {@code otel.sdk.processor.log.queue.capacity} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_QUEUE_CAPACITY_NAME = + "otel.sdk.processor.log.queue.capacity"; + + /** Unit of the {@code otel.sdk.processor.log.queue.capacity} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_QUEUE_CAPACITY_UNIT = "{log_record}"; + + /** Description of the {@code otel.sdk.processor.log.queue.capacity} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_QUEUE_CAPACITY_DESCRIPTION = + "The maximum number of log records the queue of a given instance of an SDK Log Record processor can hold."; + + /** Name of the {@code otel.sdk.processor.log.queue.size} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_QUEUE_SIZE_NAME = + "otel.sdk.processor.log.queue.size"; + + /** Unit of the {@code otel.sdk.processor.log.queue.size} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_QUEUE_SIZE_UNIT = "{log_record}"; + + /** Description of the {@code otel.sdk.processor.log.queue.size} metric. */ + public static final String OTEL_SDK_PROCESSOR_LOG_QUEUE_SIZE_DESCRIPTION = + "The number of log records in the queue of a given instance of an SDK log processor."; + + /** Name of the {@code otel.sdk.processor.span.processed} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_PROCESSED_NAME = + "otel.sdk.processor.span.processed"; + + /** Unit of the {@code otel.sdk.processor.span.processed} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_PROCESSED_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.processor.span.processed} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_PROCESSED_DESCRIPTION = + "The number of spans for which the processing has finished, either successful or failed."; + + /** Name of the {@code otel.sdk.processor.span.processed.count} metric. */ + @Deprecated + public static final String OTEL_SDK_PROCESSOR_SPAN_PROCESSED_COUNT_NAME = + "otel.sdk.processor.span.processed.count"; + + /** Unit of the {@code otel.sdk.processor.span.processed.count} metric. */ + @Deprecated public static final String OTEL_SDK_PROCESSOR_SPAN_PROCESSED_COUNT_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.processor.span.processed.count} metric. */ + @Deprecated + public static final String OTEL_SDK_PROCESSOR_SPAN_PROCESSED_COUNT_DESCRIPTION = + "Deprecated, use `otel.sdk.processor.span.processed` instead."; + + /** Name of the {@code otel.sdk.processor.span.queue.capacity} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_QUEUE_CAPACITY_NAME = + "otel.sdk.processor.span.queue.capacity"; + + /** Unit of the {@code otel.sdk.processor.span.queue.capacity} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_QUEUE_CAPACITY_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.processor.span.queue.capacity} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_QUEUE_CAPACITY_DESCRIPTION = + "The maximum number of spans the queue of a given instance of an SDK span processor can hold."; + + /** Name of the {@code otel.sdk.processor.span.queue.size} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_QUEUE_SIZE_NAME = + "otel.sdk.processor.span.queue.size"; + + /** Unit of the {@code otel.sdk.processor.span.queue.size} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_QUEUE_SIZE_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.processor.span.queue.size} metric. */ + public static final String OTEL_SDK_PROCESSOR_SPAN_QUEUE_SIZE_DESCRIPTION = + "The number of spans in the queue of a given instance of an SDK span processor."; + + /** Name of the {@code otel.sdk.span.ended} metric. */ + @Deprecated public static final String OTEL_SDK_SPAN_ENDED_NAME = "otel.sdk.span.ended"; + + /** Unit of the {@code otel.sdk.span.ended} metric. */ + @Deprecated public static final String OTEL_SDK_SPAN_ENDED_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.span.ended} metric. */ + @Deprecated + public static final String OTEL_SDK_SPAN_ENDED_DESCRIPTION = + "Use `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value."; + + /** Name of the {@code otel.sdk.span.ended.count} metric. */ + @Deprecated + public static final String OTEL_SDK_SPAN_ENDED_COUNT_NAME = "otel.sdk.span.ended.count"; + + /** Unit of the {@code otel.sdk.span.ended.count} metric. */ + @Deprecated public static final String OTEL_SDK_SPAN_ENDED_COUNT_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.span.ended.count} metric. */ + @Deprecated + public static final String OTEL_SDK_SPAN_ENDED_COUNT_DESCRIPTION = + "Use `otel.sdk.span.started` minus `otel.sdk.span.live` to derive this value."; + + /** Name of the {@code otel.sdk.span.live} metric. */ + public static final String OTEL_SDK_SPAN_LIVE_NAME = "otel.sdk.span.live"; + + /** Unit of the {@code otel.sdk.span.live} metric. */ + public static final String OTEL_SDK_SPAN_LIVE_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.span.live} metric. */ + public static final String OTEL_SDK_SPAN_LIVE_DESCRIPTION = + "The number of created spans with `recording=true` for which the end operation has not been called yet."; + + /** Name of the {@code otel.sdk.span.live.count} metric. */ + @Deprecated public static final String OTEL_SDK_SPAN_LIVE_COUNT_NAME = "otel.sdk.span.live.count"; + + /** Unit of the {@code otel.sdk.span.live.count} metric. */ + @Deprecated public static final String OTEL_SDK_SPAN_LIVE_COUNT_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.span.live.count} metric. */ + @Deprecated + public static final String OTEL_SDK_SPAN_LIVE_COUNT_DESCRIPTION = + "Deprecated, use `otel.sdk.span.live` instead."; + + /** Name of the {@code otel.sdk.span.started} metric. */ + public static final String OTEL_SDK_SPAN_STARTED_NAME = "otel.sdk.span.started"; + + /** Unit of the {@code otel.sdk.span.started} metric. */ + public static final String OTEL_SDK_SPAN_STARTED_UNIT = "{span}"; + + /** Description of the {@code otel.sdk.span.started} metric. */ + public static final String OTEL_SDK_SPAN_STARTED_DESCRIPTION = "The number of created spans."; + + private OtelIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingMetrics.java new file mode 100644 index 0000000..99df01d --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/ProcessIncubatingMetrics.java @@ -0,0 +1,145 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class ProcessIncubatingMetrics { + + /** Name of the {@code process.context_switches} metric. */ + public static final String PROCESS_CONTEXT_SWITCHES_NAME = "process.context_switches"; + + /** Unit of the {@code process.context_switches} metric. */ + public static final String PROCESS_CONTEXT_SWITCHES_UNIT = "{context_switch}"; + + /** Description of the {@code process.context_switches} metric. */ + public static final String PROCESS_CONTEXT_SWITCHES_DESCRIPTION = + "Number of times the process has been context switched."; + + /** Name of the {@code process.cpu.time} metric. */ + public static final String PROCESS_CPU_TIME_NAME = "process.cpu.time"; + + /** Unit of the {@code process.cpu.time} metric. */ + public static final String PROCESS_CPU_TIME_UNIT = "s"; + + /** Description of the {@code process.cpu.time} metric. */ + public static final String PROCESS_CPU_TIME_DESCRIPTION = + "Total CPU seconds broken down by different CPU modes."; + + /** Name of the {@code process.cpu.utilization} metric. */ + public static final String PROCESS_CPU_UTILIZATION_NAME = "process.cpu.utilization"; + + /** Unit of the {@code process.cpu.utilization} metric. */ + public static final String PROCESS_CPU_UTILIZATION_UNIT = "1"; + + /** Description of the {@code process.cpu.utilization} metric. */ + public static final String PROCESS_CPU_UTILIZATION_DESCRIPTION = + "Difference in process.cpu.time since the last measurement, divided by the elapsed time and number of CPUs available to the process."; + + /** Name of the {@code process.disk.io} metric. */ + public static final String PROCESS_DISK_IO_NAME = "process.disk.io"; + + /** Unit of the {@code process.disk.io} metric. */ + public static final String PROCESS_DISK_IO_UNIT = "By"; + + /** Description of the {@code process.disk.io} metric. */ + public static final String PROCESS_DISK_IO_DESCRIPTION = "Disk bytes transferred."; + + /** Name of the {@code process.memory.usage} metric. */ + public static final String PROCESS_MEMORY_USAGE_NAME = "process.memory.usage"; + + /** Unit of the {@code process.memory.usage} metric. */ + public static final String PROCESS_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code process.memory.usage} metric. */ + public static final String PROCESS_MEMORY_USAGE_DESCRIPTION = + "The amount of physical memory in use."; + + /** Name of the {@code process.memory.virtual} metric. */ + public static final String PROCESS_MEMORY_VIRTUAL_NAME = "process.memory.virtual"; + + /** Unit of the {@code process.memory.virtual} metric. */ + public static final String PROCESS_MEMORY_VIRTUAL_UNIT = "By"; + + /** Description of the {@code process.memory.virtual} metric. */ + public static final String PROCESS_MEMORY_VIRTUAL_DESCRIPTION = + "The amount of committed virtual memory."; + + /** Name of the {@code process.network.io} metric. */ + public static final String PROCESS_NETWORK_IO_NAME = "process.network.io"; + + /** Unit of the {@code process.network.io} metric. */ + public static final String PROCESS_NETWORK_IO_UNIT = "By"; + + /** Description of the {@code process.network.io} metric. */ + public static final String PROCESS_NETWORK_IO_DESCRIPTION = "Network bytes transferred."; + + /** Name of the {@code process.open_file_descriptor.count} metric. */ + @Deprecated + public static final String PROCESS_OPEN_FILE_DESCRIPTOR_COUNT_NAME = + "process.open_file_descriptor.count"; + + /** Unit of the {@code process.open_file_descriptor.count} metric. */ + @Deprecated + public static final String PROCESS_OPEN_FILE_DESCRIPTOR_COUNT_UNIT = "{file_descriptor}"; + + /** Description of the {@code process.open_file_descriptor.count} metric. */ + @Deprecated + public static final String PROCESS_OPEN_FILE_DESCRIPTOR_COUNT_DESCRIPTION = + "Deprecated, use `process.unix.file_descriptor.count` instead."; + + /** Name of the {@code process.paging.faults} metric. */ + public static final String PROCESS_PAGING_FAULTS_NAME = "process.paging.faults"; + + /** Unit of the {@code process.paging.faults} metric. */ + public static final String PROCESS_PAGING_FAULTS_UNIT = "{fault}"; + + /** Description of the {@code process.paging.faults} metric. */ + public static final String PROCESS_PAGING_FAULTS_DESCRIPTION = + "Number of page faults the process has made."; + + /** Name of the {@code process.thread.count} metric. */ + public static final String PROCESS_THREAD_COUNT_NAME = "process.thread.count"; + + /** Unit of the {@code process.thread.count} metric. */ + public static final String PROCESS_THREAD_COUNT_UNIT = "{thread}"; + + /** Description of the {@code process.thread.count} metric. */ + public static final String PROCESS_THREAD_COUNT_DESCRIPTION = "Process threads count."; + + /** Name of the {@code process.unix.file_descriptor.count} metric. */ + public static final String PROCESS_UNIX_FILE_DESCRIPTOR_COUNT_NAME = + "process.unix.file_descriptor.count"; + + /** Unit of the {@code process.unix.file_descriptor.count} metric. */ + public static final String PROCESS_UNIX_FILE_DESCRIPTOR_COUNT_UNIT = "{file_descriptor}"; + + /** Description of the {@code process.unix.file_descriptor.count} metric. */ + public static final String PROCESS_UNIX_FILE_DESCRIPTOR_COUNT_DESCRIPTION = + "Number of unix file descriptors in use by the process."; + + /** Name of the {@code process.uptime} metric. */ + public static final String PROCESS_UPTIME_NAME = "process.uptime"; + + /** Unit of the {@code process.uptime} metric. */ + public static final String PROCESS_UPTIME_UNIT = "s"; + + /** Description of the {@code process.uptime} metric. */ + public static final String PROCESS_UPTIME_DESCRIPTION = "The time the process has been running."; + + /** Name of the {@code process.windows.handle.count} metric. */ + public static final String PROCESS_WINDOWS_HANDLE_COUNT_NAME = "process.windows.handle.count"; + + /** Unit of the {@code process.windows.handle.count} metric. */ + public static final String PROCESS_WINDOWS_HANDLE_COUNT_UNIT = "{handle}"; + + /** Description of the {@code process.windows.handle.count} metric. */ + public static final String PROCESS_WINDOWS_HANDLE_COUNT_DESCRIPTION = + "Number of handles held by the process."; + + private ProcessIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingMetrics.java new file mode 100644 index 0000000..8976399 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/RpcIncubatingMetrics.java @@ -0,0 +1,148 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class RpcIncubatingMetrics { + + /** Name of the {@code rpc.client.call.duration} metric. */ + public static final String RPC_CLIENT_CALL_DURATION_NAME = "rpc.client.call.duration"; + + /** Unit of the {@code rpc.client.call.duration} metric. */ + public static final String RPC_CLIENT_CALL_DURATION_UNIT = "s"; + + /** Description of the {@code rpc.client.call.duration} metric. */ + public static final String RPC_CLIENT_CALL_DURATION_DESCRIPTION = + "Measures the duration of an outgoing Remote Procedure Call (RPC)."; + + /** Name of the {@code rpc.client.duration} metric. */ + @Deprecated public static final String RPC_CLIENT_DURATION_NAME = "rpc.client.duration"; + + /** Unit of the {@code rpc.client.duration} metric. */ + @Deprecated public static final String RPC_CLIENT_DURATION_UNIT = "ms"; + + /** Description of the {@code rpc.client.duration} metric. */ + @Deprecated + public static final String RPC_CLIENT_DURATION_DESCRIPTION = + "Deprecated, use `rpc.client.call.duration` instead. Note: the unit also changed from `ms` to `s`."; + + /** Name of the {@code rpc.client.request.size} metric. */ + @Deprecated public static final String RPC_CLIENT_REQUEST_SIZE_NAME = "rpc.client.request.size"; + + /** Unit of the {@code rpc.client.request.size} metric. */ + @Deprecated public static final String RPC_CLIENT_REQUEST_SIZE_UNIT = "By"; + + /** Description of the {@code rpc.client.request.size} metric. */ + @Deprecated + public static final String RPC_CLIENT_REQUEST_SIZE_DESCRIPTION = + "Measures the size of RPC request messages (uncompressed)."; + + /** Name of the {@code rpc.client.requests_per_rpc} metric. */ + @Deprecated + public static final String RPC_CLIENT_REQUESTS_PER_RPC_NAME = "rpc.client.requests_per_rpc"; + + /** Unit of the {@code rpc.client.requests_per_rpc} metric. */ + @Deprecated public static final String RPC_CLIENT_REQUESTS_PER_RPC_UNIT = "{count}"; + + /** Description of the {@code rpc.client.requests_per_rpc} metric. */ + @Deprecated + public static final String RPC_CLIENT_REQUESTS_PER_RPC_DESCRIPTION = + "Measures the number of messages received per RPC."; + + /** Name of the {@code rpc.client.response.size} metric. */ + @Deprecated public static final String RPC_CLIENT_RESPONSE_SIZE_NAME = "rpc.client.response.size"; + + /** Unit of the {@code rpc.client.response.size} metric. */ + @Deprecated public static final String RPC_CLIENT_RESPONSE_SIZE_UNIT = "By"; + + /** Description of the {@code rpc.client.response.size} metric. */ + @Deprecated + public static final String RPC_CLIENT_RESPONSE_SIZE_DESCRIPTION = + "Measures the size of RPC response messages (uncompressed)."; + + /** Name of the {@code rpc.client.responses_per_rpc} metric. */ + @Deprecated + public static final String RPC_CLIENT_RESPONSES_PER_RPC_NAME = "rpc.client.responses_per_rpc"; + + /** Unit of the {@code rpc.client.responses_per_rpc} metric. */ + @Deprecated public static final String RPC_CLIENT_RESPONSES_PER_RPC_UNIT = "{count}"; + + /** Description of the {@code rpc.client.responses_per_rpc} metric. */ + @Deprecated + public static final String RPC_CLIENT_RESPONSES_PER_RPC_DESCRIPTION = + "Measures the number of messages sent per RPC."; + + /** Name of the {@code rpc.server.call.duration} metric. */ + public static final String RPC_SERVER_CALL_DURATION_NAME = "rpc.server.call.duration"; + + /** Unit of the {@code rpc.server.call.duration} metric. */ + public static final String RPC_SERVER_CALL_DURATION_UNIT = "s"; + + /** Description of the {@code rpc.server.call.duration} metric. */ + public static final String RPC_SERVER_CALL_DURATION_DESCRIPTION = + "Measures the duration of an incoming Remote Procedure Call (RPC)."; + + /** Name of the {@code rpc.server.duration} metric. */ + @Deprecated public static final String RPC_SERVER_DURATION_NAME = "rpc.server.duration"; + + /** Unit of the {@code rpc.server.duration} metric. */ + @Deprecated public static final String RPC_SERVER_DURATION_UNIT = "ms"; + + /** Description of the {@code rpc.server.duration} metric. */ + @Deprecated + public static final String RPC_SERVER_DURATION_DESCRIPTION = + "Deprecated, use `rpc.server.call.duration` instead. Note: the unit also changed from `ms` to `s`."; + + /** Name of the {@code rpc.server.request.size} metric. */ + @Deprecated public static final String RPC_SERVER_REQUEST_SIZE_NAME = "rpc.server.request.size"; + + /** Unit of the {@code rpc.server.request.size} metric. */ + @Deprecated public static final String RPC_SERVER_REQUEST_SIZE_UNIT = "By"; + + /** Description of the {@code rpc.server.request.size} metric. */ + @Deprecated + public static final String RPC_SERVER_REQUEST_SIZE_DESCRIPTION = + "Measures the size of RPC request messages (uncompressed)."; + + /** Name of the {@code rpc.server.requests_per_rpc} metric. */ + @Deprecated + public static final String RPC_SERVER_REQUESTS_PER_RPC_NAME = "rpc.server.requests_per_rpc"; + + /** Unit of the {@code rpc.server.requests_per_rpc} metric. */ + @Deprecated public static final String RPC_SERVER_REQUESTS_PER_RPC_UNIT = "{count}"; + + /** Description of the {@code rpc.server.requests_per_rpc} metric. */ + @Deprecated + public static final String RPC_SERVER_REQUESTS_PER_RPC_DESCRIPTION = + "Measures the number of messages received per RPC."; + + /** Name of the {@code rpc.server.response.size} metric. */ + @Deprecated public static final String RPC_SERVER_RESPONSE_SIZE_NAME = "rpc.server.response.size"; + + /** Unit of the {@code rpc.server.response.size} metric. */ + @Deprecated public static final String RPC_SERVER_RESPONSE_SIZE_UNIT = "By"; + + /** Description of the {@code rpc.server.response.size} metric. */ + @Deprecated + public static final String RPC_SERVER_RESPONSE_SIZE_DESCRIPTION = + "Measures the size of RPC response messages (uncompressed)."; + + /** Name of the {@code rpc.server.responses_per_rpc} metric. */ + @Deprecated + public static final String RPC_SERVER_RESPONSES_PER_RPC_NAME = "rpc.server.responses_per_rpc"; + + /** Unit of the {@code rpc.server.responses_per_rpc} metric. */ + @Deprecated public static final String RPC_SERVER_RESPONSES_PER_RPC_UNIT = "{count}"; + + /** Description of the {@code rpc.server.responses_per_rpc} metric. */ + @Deprecated + public static final String RPC_SERVER_RESPONSES_PER_RPC_DESCRIPTION = + "Measures the number of messages sent per RPC."; + + private RpcIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingMetrics.java new file mode 100644 index 0000000..9d49733 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/SystemIncubatingMetrics.java @@ -0,0 +1,464 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class SystemIncubatingMetrics { + + /** Name of the {@code system.cpu.frequency} metric. */ + public static final String SYSTEM_CPU_FREQUENCY_NAME = "system.cpu.frequency"; + + /** Unit of the {@code system.cpu.frequency} metric. */ + public static final String SYSTEM_CPU_FREQUENCY_UNIT = "Hz"; + + /** Description of the {@code system.cpu.frequency} metric. */ + public static final String SYSTEM_CPU_FREQUENCY_DESCRIPTION = + "Operating frequency of the logical CPU in Hertz."; + + /** Name of the {@code system.cpu.logical.count} metric. */ + public static final String SYSTEM_CPU_LOGICAL_COUNT_NAME = "system.cpu.logical.count"; + + /** Unit of the {@code system.cpu.logical.count} metric. */ + public static final String SYSTEM_CPU_LOGICAL_COUNT_UNIT = "{cpu}"; + + /** Description of the {@code system.cpu.logical.count} metric. */ + public static final String SYSTEM_CPU_LOGICAL_COUNT_DESCRIPTION = + "Reports the number of logical (virtual) processor cores created by the operating system to manage multitasking."; + + /** Name of the {@code system.cpu.physical.count} metric. */ + public static final String SYSTEM_CPU_PHYSICAL_COUNT_NAME = "system.cpu.physical.count"; + + /** Unit of the {@code system.cpu.physical.count} metric. */ + public static final String SYSTEM_CPU_PHYSICAL_COUNT_UNIT = "{cpu}"; + + /** Description of the {@code system.cpu.physical.count} metric. */ + public static final String SYSTEM_CPU_PHYSICAL_COUNT_DESCRIPTION = + "Reports the number of actual physical processor cores on the hardware."; + + /** Name of the {@code system.cpu.time} metric. */ + public static final String SYSTEM_CPU_TIME_NAME = "system.cpu.time"; + + /** Unit of the {@code system.cpu.time} metric. */ + public static final String SYSTEM_CPU_TIME_UNIT = "s"; + + /** Description of the {@code system.cpu.time} metric. */ + public static final String SYSTEM_CPU_TIME_DESCRIPTION = + "Seconds each logical CPU spent on each mode."; + + /** Name of the {@code system.cpu.utilization} metric. */ + public static final String SYSTEM_CPU_UTILIZATION_NAME = "system.cpu.utilization"; + + /** Unit of the {@code system.cpu.utilization} metric. */ + public static final String SYSTEM_CPU_UTILIZATION_UNIT = "1"; + + /** Description of the {@code system.cpu.utilization} metric. */ + public static final String SYSTEM_CPU_UTILIZATION_DESCRIPTION = + "For each logical CPU, the utilization is calculated as the change in cumulative CPU time (cpu.time) over a measurement interval, divided by the elapsed time."; + + /** Name of the {@code system.disk.io} metric. */ + public static final String SYSTEM_DISK_IO_NAME = "system.disk.io"; + + /** Unit of the {@code system.disk.io} metric. */ + public static final String SYSTEM_DISK_IO_UNIT = "By"; + + /** Description of the {@code system.disk.io} metric. */ + public static final String SYSTEM_DISK_IO_DESCRIPTION = "Disk bytes transferred."; + + /** Name of the {@code system.disk.io_time} metric. */ + public static final String SYSTEM_DISK_IO_TIME_NAME = "system.disk.io_time"; + + /** Unit of the {@code system.disk.io_time} metric. */ + public static final String SYSTEM_DISK_IO_TIME_UNIT = "s"; + + /** Description of the {@code system.disk.io_time} metric. */ + public static final String SYSTEM_DISK_IO_TIME_DESCRIPTION = "Time disk spent activated."; + + /** Name of the {@code system.disk.limit} metric. */ + public static final String SYSTEM_DISK_LIMIT_NAME = "system.disk.limit"; + + /** Unit of the {@code system.disk.limit} metric. */ + public static final String SYSTEM_DISK_LIMIT_UNIT = "By"; + + /** Description of the {@code system.disk.limit} metric. */ + public static final String SYSTEM_DISK_LIMIT_DESCRIPTION = + "The total storage capacity of the disk."; + + /** Name of the {@code system.disk.merged} metric. */ + public static final String SYSTEM_DISK_MERGED_NAME = "system.disk.merged"; + + /** Unit of the {@code system.disk.merged} metric. */ + public static final String SYSTEM_DISK_MERGED_UNIT = "{operation}"; + + /** Description of the {@code system.disk.merged} metric. */ + public static final String SYSTEM_DISK_MERGED_DESCRIPTION = + "The number of disk reads/writes merged into single physical disk access operations."; + + /** Name of the {@code system.disk.operation_time} metric. */ + public static final String SYSTEM_DISK_OPERATION_TIME_NAME = "system.disk.operation_time"; + + /** Unit of the {@code system.disk.operation_time} metric. */ + public static final String SYSTEM_DISK_OPERATION_TIME_UNIT = "s"; + + /** Description of the {@code system.disk.operation_time} metric. */ + public static final String SYSTEM_DISK_OPERATION_TIME_DESCRIPTION = + "Sum of the time each operation took to complete."; + + /** Name of the {@code system.disk.operations} metric. */ + public static final String SYSTEM_DISK_OPERATIONS_NAME = "system.disk.operations"; + + /** Unit of the {@code system.disk.operations} metric. */ + public static final String SYSTEM_DISK_OPERATIONS_UNIT = "{operation}"; + + /** Description of the {@code system.disk.operations} metric. */ + public static final String SYSTEM_DISK_OPERATIONS_DESCRIPTION = "Disk operations count."; + + /** Name of the {@code system.filesystem.limit} metric. */ + public static final String SYSTEM_FILESYSTEM_LIMIT_NAME = "system.filesystem.limit"; + + /** Unit of the {@code system.filesystem.limit} metric. */ + public static final String SYSTEM_FILESYSTEM_LIMIT_UNIT = "By"; + + /** Description of the {@code system.filesystem.limit} metric. */ + public static final String SYSTEM_FILESYSTEM_LIMIT_DESCRIPTION = + "The total storage capacity of the filesystem."; + + /** Name of the {@code system.filesystem.usage} metric. */ + public static final String SYSTEM_FILESYSTEM_USAGE_NAME = "system.filesystem.usage"; + + /** Unit of the {@code system.filesystem.usage} metric. */ + public static final String SYSTEM_FILESYSTEM_USAGE_UNIT = "By"; + + /** Description of the {@code system.filesystem.usage} metric. */ + public static final String SYSTEM_FILESYSTEM_USAGE_DESCRIPTION = + "Reports a filesystem's space usage across different states."; + + /** Name of the {@code system.filesystem.utilization} metric. */ + public static final String SYSTEM_FILESYSTEM_UTILIZATION_NAME = "system.filesystem.utilization"; + + /** Unit of the {@code system.filesystem.utilization} metric. */ + public static final String SYSTEM_FILESYSTEM_UTILIZATION_UNIT = "1"; + + /** Description of the {@code system.filesystem.utilization} metric. */ + public static final String SYSTEM_FILESYSTEM_UTILIZATION_DESCRIPTION = + "Fraction of filesystem bytes used."; + + /** Name of the {@code system.linux.memory.available} metric. */ + @Deprecated + public static final String SYSTEM_LINUX_MEMORY_AVAILABLE_NAME = "system.linux.memory.available"; + + /** Unit of the {@code system.linux.memory.available} metric. */ + @Deprecated public static final String SYSTEM_LINUX_MEMORY_AVAILABLE_UNIT = "{packet}"; + + /** Description of the {@code system.linux.memory.available} metric. */ + @Deprecated + public static final String SYSTEM_LINUX_MEMORY_AVAILABLE_DESCRIPTION = + "The number of packets transferred."; + + /** Name of the {@code system.linux.memory.slab.usage} metric. */ + @Deprecated + public static final String SYSTEM_LINUX_MEMORY_SLAB_USAGE_NAME = "system.linux.memory.slab.usage"; + + /** Unit of the {@code system.linux.memory.slab.usage} metric. */ + @Deprecated public static final String SYSTEM_LINUX_MEMORY_SLAB_USAGE_UNIT = "{packet}"; + + /** Description of the {@code system.linux.memory.slab.usage} metric. */ + @Deprecated + public static final String SYSTEM_LINUX_MEMORY_SLAB_USAGE_DESCRIPTION = + "The number of packets transferred."; + + /** Name of the {@code system.memory.limit} metric. */ + public static final String SYSTEM_MEMORY_LIMIT_NAME = "system.memory.limit"; + + /** Unit of the {@code system.memory.limit} metric. */ + public static final String SYSTEM_MEMORY_LIMIT_UNIT = "By"; + + /** Description of the {@code system.memory.limit} metric. */ + public static final String SYSTEM_MEMORY_LIMIT_DESCRIPTION = + "Total virtual memory available in the system."; + + /** Name of the {@code system.memory.linux.available} metric. */ + public static final String SYSTEM_MEMORY_LINUX_AVAILABLE_NAME = "system.memory.linux.available"; + + /** Unit of the {@code system.memory.linux.available} metric. */ + public static final String SYSTEM_MEMORY_LINUX_AVAILABLE_UNIT = "By"; + + /** Description of the {@code system.memory.linux.available} metric. */ + public static final String SYSTEM_MEMORY_LINUX_AVAILABLE_DESCRIPTION = + "An estimate of how much memory is available for starting new applications, without causing swapping."; + + /** Name of the {@code system.memory.linux.hugepages.limit} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_LIMIT_NAME = + "system.memory.linux.hugepages.limit"; + + /** Unit of the {@code system.memory.linux.hugepages.limit} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_LIMIT_UNIT = "{page}"; + + /** Description of the {@code system.memory.linux.hugepages.limit} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_LIMIT_DESCRIPTION = + "Total number of hugepages available."; + + /** Name of the {@code system.memory.linux.hugepages.page_size} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_PAGE_SIZE_NAME = + "system.memory.linux.hugepages.page_size"; + + /** Unit of the {@code system.memory.linux.hugepages.page_size} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_PAGE_SIZE_UNIT = "By"; + + /** Description of the {@code system.memory.linux.hugepages.page_size} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_PAGE_SIZE_DESCRIPTION = + "System hugepage size in bytes."; + + /** Name of the {@code system.memory.linux.hugepages.reserved} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_RESERVED_NAME = + "system.memory.linux.hugepages.reserved"; + + /** Unit of the {@code system.memory.linux.hugepages.reserved} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_RESERVED_UNIT = "{page}"; + + /** Description of the {@code system.memory.linux.hugepages.reserved} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_RESERVED_DESCRIPTION = + "Number of reserved hugepages."; + + /** Name of the {@code system.memory.linux.hugepages.surplus} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_SURPLUS_NAME = + "system.memory.linux.hugepages.surplus"; + + /** Unit of the {@code system.memory.linux.hugepages.surplus} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_SURPLUS_UNIT = "{page}"; + + /** Description of the {@code system.memory.linux.hugepages.surplus} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_SURPLUS_DESCRIPTION = + "Number of surplus hugepages."; + + /** Name of the {@code system.memory.linux.hugepages.usage} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_USAGE_NAME = + "system.memory.linux.hugepages.usage"; + + /** Unit of the {@code system.memory.linux.hugepages.usage} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_USAGE_UNIT = "{page}"; + + /** Description of the {@code system.memory.linux.hugepages.usage} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_USAGE_DESCRIPTION = + "Number of hugepages in use by state."; + + /** Name of the {@code system.memory.linux.hugepages.utilization} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_UTILIZATION_NAME = + "system.memory.linux.hugepages.utilization"; + + /** Unit of the {@code system.memory.linux.hugepages.utilization} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_UTILIZATION_UNIT = "1"; + + /** Description of the {@code system.memory.linux.hugepages.utilization} metric. */ + public static final String SYSTEM_MEMORY_LINUX_HUGEPAGES_UTILIZATION_DESCRIPTION = + "Percentage of hugepages in use by state."; + + /** Name of the {@code system.memory.linux.shared} metric. */ + public static final String SYSTEM_MEMORY_LINUX_SHARED_NAME = "system.memory.linux.shared"; + + /** Unit of the {@code system.memory.linux.shared} metric. */ + public static final String SYSTEM_MEMORY_LINUX_SHARED_UNIT = "By"; + + /** Description of the {@code system.memory.linux.shared} metric. */ + public static final String SYSTEM_MEMORY_LINUX_SHARED_DESCRIPTION = + "Shared memory used (mostly by tmpfs)."; + + /** Name of the {@code system.memory.linux.slab.usage} metric. */ + public static final String SYSTEM_MEMORY_LINUX_SLAB_USAGE_NAME = "system.memory.linux.slab.usage"; + + /** Unit of the {@code system.memory.linux.slab.usage} metric. */ + public static final String SYSTEM_MEMORY_LINUX_SLAB_USAGE_UNIT = "By"; + + /** Description of the {@code system.memory.linux.slab.usage} metric. */ + public static final String SYSTEM_MEMORY_LINUX_SLAB_USAGE_DESCRIPTION = + "Reports the memory used by the Linux kernel for managing caches of frequently used objects."; + + /** Name of the {@code system.memory.shared} metric. */ + @Deprecated public static final String SYSTEM_MEMORY_SHARED_NAME = "system.memory.shared"; + + /** Unit of the {@code system.memory.shared} metric. */ + @Deprecated public static final String SYSTEM_MEMORY_SHARED_UNIT = "By"; + + /** Description of the {@code system.memory.shared} metric. */ + @Deprecated + public static final String SYSTEM_MEMORY_SHARED_DESCRIPTION = + "Deprecated, use `system.memory.linux.shared` instead."; + + /** Name of the {@code system.memory.usage} metric. */ + public static final String SYSTEM_MEMORY_USAGE_NAME = "system.memory.usage"; + + /** Unit of the {@code system.memory.usage} metric. */ + public static final String SYSTEM_MEMORY_USAGE_UNIT = "By"; + + /** Description of the {@code system.memory.usage} metric. */ + public static final String SYSTEM_MEMORY_USAGE_DESCRIPTION = "Reports memory in use by state."; + + /** Name of the {@code system.memory.utilization} metric. */ + public static final String SYSTEM_MEMORY_UTILIZATION_NAME = "system.memory.utilization"; + + /** Unit of the {@code system.memory.utilization} metric. */ + public static final String SYSTEM_MEMORY_UTILIZATION_UNIT = "1"; + + /** Description of the {@code system.memory.utilization} metric. */ + public static final String SYSTEM_MEMORY_UTILIZATION_DESCRIPTION = + "Percentage of memory bytes in use."; + + /** Name of the {@code system.network.connection.count} metric. */ + public static final String SYSTEM_NETWORK_CONNECTION_COUNT_NAME = + "system.network.connection.count"; + + /** Unit of the {@code system.network.connection.count} metric. */ + public static final String SYSTEM_NETWORK_CONNECTION_COUNT_UNIT = "{connection}"; + + /** Description of the {@code system.network.connection.count} metric. */ + public static final String SYSTEM_NETWORK_CONNECTION_COUNT_DESCRIPTION = + "The number of connections."; + + /** Name of the {@code system.network.connections} metric. */ + @Deprecated + public static final String SYSTEM_NETWORK_CONNECTIONS_NAME = "system.network.connections"; + + /** Unit of the {@code system.network.connections} metric. */ + @Deprecated public static final String SYSTEM_NETWORK_CONNECTIONS_UNIT = "{connection}"; + + /** Description of the {@code system.network.connections} metric. */ + @Deprecated + public static final String SYSTEM_NETWORK_CONNECTIONS_DESCRIPTION = + "Deprecated, use `system.network.connection.count` instead."; + + /** Name of the {@code system.network.dropped} metric. */ + @Deprecated public static final String SYSTEM_NETWORK_DROPPED_NAME = "system.network.dropped"; + + /** Unit of the {@code system.network.dropped} metric. */ + @Deprecated public static final String SYSTEM_NETWORK_DROPPED_UNIT = "{packet}"; + + /** Description of the {@code system.network.dropped} metric. */ + @Deprecated + public static final String SYSTEM_NETWORK_DROPPED_DESCRIPTION = + "Count of packets that are dropped or discarded even though there was no error."; + + /** Name of the {@code system.network.errors} metric. */ + public static final String SYSTEM_NETWORK_ERRORS_NAME = "system.network.errors"; + + /** Unit of the {@code system.network.errors} metric. */ + public static final String SYSTEM_NETWORK_ERRORS_UNIT = "{error}"; + + /** Description of the {@code system.network.errors} metric. */ + public static final String SYSTEM_NETWORK_ERRORS_DESCRIPTION = + "Count of network errors detected."; + + /** Name of the {@code system.network.io} metric. */ + public static final String SYSTEM_NETWORK_IO_NAME = "system.network.io"; + + /** Unit of the {@code system.network.io} metric. */ + public static final String SYSTEM_NETWORK_IO_UNIT = "By"; + + /** Description of the {@code system.network.io} metric. */ + public static final String SYSTEM_NETWORK_IO_DESCRIPTION = + "The number of bytes transmitted and received."; + + /** Name of the {@code system.network.packet.count} metric. */ + public static final String SYSTEM_NETWORK_PACKET_COUNT_NAME = "system.network.packet.count"; + + /** Unit of the {@code system.network.packet.count} metric. */ + public static final String SYSTEM_NETWORK_PACKET_COUNT_UNIT = "{packet}"; + + /** Description of the {@code system.network.packet.count} metric. */ + public static final String SYSTEM_NETWORK_PACKET_COUNT_DESCRIPTION = + "The number of packets transferred."; + + /** Name of the {@code system.network.packet.dropped} metric. */ + public static final String SYSTEM_NETWORK_PACKET_DROPPED_NAME = "system.network.packet.dropped"; + + /** Unit of the {@code system.network.packet.dropped} metric. */ + public static final String SYSTEM_NETWORK_PACKET_DROPPED_UNIT = "{packet}"; + + /** Description of the {@code system.network.packet.dropped} metric. */ + public static final String SYSTEM_NETWORK_PACKET_DROPPED_DESCRIPTION = + "Count of packets that are dropped or discarded even though there was no error."; + + /** Name of the {@code system.network.packets} metric. */ + @Deprecated public static final String SYSTEM_NETWORK_PACKETS_NAME = "system.network.packets"; + + /** Unit of the {@code system.network.packets} metric. */ + @Deprecated public static final String SYSTEM_NETWORK_PACKETS_UNIT = "{packet}"; + + /** Description of the {@code system.network.packets} metric. */ + @Deprecated + public static final String SYSTEM_NETWORK_PACKETS_DESCRIPTION = + "The number of packets transferred."; + + /** Name of the {@code system.paging.faults} metric. */ + public static final String SYSTEM_PAGING_FAULTS_NAME = "system.paging.faults"; + + /** Unit of the {@code system.paging.faults} metric. */ + public static final String SYSTEM_PAGING_FAULTS_UNIT = "{fault}"; + + /** Description of the {@code system.paging.faults} metric. */ + public static final String SYSTEM_PAGING_FAULTS_DESCRIPTION = "The number of page faults."; + + /** Name of the {@code system.paging.operations} metric. */ + public static final String SYSTEM_PAGING_OPERATIONS_NAME = "system.paging.operations"; + + /** Unit of the {@code system.paging.operations} metric. */ + public static final String SYSTEM_PAGING_OPERATIONS_UNIT = "{operation}"; + + /** Description of the {@code system.paging.operations} metric. */ + public static final String SYSTEM_PAGING_OPERATIONS_DESCRIPTION = + "The number of paging operations."; + + /** Name of the {@code system.paging.usage} metric. */ + public static final String SYSTEM_PAGING_USAGE_NAME = "system.paging.usage"; + + /** Unit of the {@code system.paging.usage} metric. */ + public static final String SYSTEM_PAGING_USAGE_UNIT = "By"; + + /** Description of the {@code system.paging.usage} metric. */ + public static final String SYSTEM_PAGING_USAGE_DESCRIPTION = + "Unix swap or windows pagefile usage."; + + /** Name of the {@code system.paging.utilization} metric. */ + public static final String SYSTEM_PAGING_UTILIZATION_NAME = "system.paging.utilization"; + + /** Unit of the {@code system.paging.utilization} metric. */ + public static final String SYSTEM_PAGING_UTILIZATION_UNIT = "1"; + + /** Description of the {@code system.paging.utilization} metric. */ + public static final String SYSTEM_PAGING_UTILIZATION_DESCRIPTION = + "Swap (unix) or pagefile (windows) utilization."; + + /** Name of the {@code system.process.count} metric. */ + public static final String SYSTEM_PROCESS_COUNT_NAME = "system.process.count"; + + /** Unit of the {@code system.process.count} metric. */ + public static final String SYSTEM_PROCESS_COUNT_UNIT = "{process}"; + + /** Description of the {@code system.process.count} metric. */ + public static final String SYSTEM_PROCESS_COUNT_DESCRIPTION = + "Total number of processes in each state."; + + /** Name of the {@code system.process.created} metric. */ + public static final String SYSTEM_PROCESS_CREATED_NAME = "system.process.created"; + + /** Unit of the {@code system.process.created} metric. */ + public static final String SYSTEM_PROCESS_CREATED_UNIT = "{process}"; + + /** Description of the {@code system.process.created} metric. */ + public static final String SYSTEM_PROCESS_CREATED_DESCRIPTION = + "Total number of processes created over uptime of the host."; + + /** Name of the {@code system.uptime} metric. */ + public static final String SYSTEM_UPTIME_NAME = "system.uptime"; + + /** Unit of the {@code system.uptime} metric. */ + public static final String SYSTEM_UPTIME_UNIT = "s"; + + /** Description of the {@code system.uptime} metric. */ + public static final String SYSTEM_UPTIME_DESCRIPTION = "The time the system has been running."; + + private SystemIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingMetrics.java new file mode 100644 index 0000000..4f26d3d --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/V8jsIncubatingMetrics.java @@ -0,0 +1,98 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class V8jsIncubatingMetrics { + + /** Name of the {@code v8js.gc.duration} metric. */ + public static final String V8JS_GC_DURATION_NAME = "v8js.gc.duration"; + + /** Unit of the {@code v8js.gc.duration} metric. */ + public static final String V8JS_GC_DURATION_UNIT = "s"; + + /** Description of the {@code v8js.gc.duration} metric. */ + public static final String V8JS_GC_DURATION_DESCRIPTION = "Garbage collection duration."; + + /** Name of the {@code v8js.heap.space.available_size} metric. */ + @Deprecated + public static final String V8JS_HEAP_SPACE_AVAILABLE_SIZE_NAME = "v8js.heap.space.available_size"; + + /** Unit of the {@code v8js.heap.space.available_size} metric. */ + @Deprecated public static final String V8JS_HEAP_SPACE_AVAILABLE_SIZE_UNIT = "By"; + + /** Description of the {@code v8js.heap.space.available_size} metric. */ + @Deprecated + public static final String V8JS_HEAP_SPACE_AVAILABLE_SIZE_DESCRIPTION = + "Deprecated, use `v8js.memory.heap.space.available_size` instead."; + + /** Name of the {@code v8js.heap.space.physical_size} metric. */ + @Deprecated + public static final String V8JS_HEAP_SPACE_PHYSICAL_SIZE_NAME = "v8js.heap.space.physical_size"; + + /** Unit of the {@code v8js.heap.space.physical_size} metric. */ + @Deprecated public static final String V8JS_HEAP_SPACE_PHYSICAL_SIZE_UNIT = "By"; + + /** Description of the {@code v8js.heap.space.physical_size} metric. */ + @Deprecated + public static final String V8JS_HEAP_SPACE_PHYSICAL_SIZE_DESCRIPTION = + "Deprecated, use `v8js.memory.heap.space.physical_size` instead."; + + /** Name of the {@code v8js.memory.heap.limit} metric. */ + public static final String V8JS_MEMORY_HEAP_LIMIT_NAME = "v8js.memory.heap.limit"; + + /** Unit of the {@code v8js.memory.heap.limit} metric. */ + public static final String V8JS_MEMORY_HEAP_LIMIT_UNIT = "By"; + + /** Description of the {@code v8js.memory.heap.limit} metric. */ + public static final String V8JS_MEMORY_HEAP_LIMIT_DESCRIPTION = + "Total heap memory size pre-allocated."; + + /** Name of the {@code v8js.memory.heap.space.available_size} metric. */ + public static final String V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE_NAME = + "v8js.memory.heap.space.available_size"; + + /** Unit of the {@code v8js.memory.heap.space.available_size} metric. */ + public static final String V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE_UNIT = "By"; + + /** Description of the {@code v8js.memory.heap.space.available_size} metric. */ + public static final String V8JS_MEMORY_HEAP_SPACE_AVAILABLE_SIZE_DESCRIPTION = + "Heap space available size."; + + /** Name of the {@code v8js.memory.heap.space.physical_size} metric. */ + public static final String V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE_NAME = + "v8js.memory.heap.space.physical_size"; + + /** Unit of the {@code v8js.memory.heap.space.physical_size} metric. */ + public static final String V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE_UNIT = "By"; + + /** Description of the {@code v8js.memory.heap.space.physical_size} metric. */ + public static final String V8JS_MEMORY_HEAP_SPACE_PHYSICAL_SIZE_DESCRIPTION = + "Committed size of a heap space."; + + /** Name of the {@code v8js.memory.heap.used} metric. */ + public static final String V8JS_MEMORY_HEAP_USED_NAME = "v8js.memory.heap.used"; + + /** Unit of the {@code v8js.memory.heap.used} metric. */ + public static final String V8JS_MEMORY_HEAP_USED_UNIT = "By"; + + /** Description of the {@code v8js.memory.heap.used} metric. */ + public static final String V8JS_MEMORY_HEAP_USED_DESCRIPTION = "Heap Memory size allocated."; + + /** Name of the {@code v8js.resource.active} metric. */ + public static final String V8JS_RESOURCE_ACTIVE_NAME = "v8js.resource.active"; + + /** Unit of the {@code v8js.resource.active} metric. */ + public static final String V8JS_RESOURCE_ACTIVE_UNIT = "{resource}"; + + /** Description of the {@code v8js.resource.active} metric. */ + public static final String V8JS_RESOURCE_ACTIVE_DESCRIPTION = + "Gauge of the active resources that are currently keeping the event loop alive."; + + private V8jsIncubatingMetrics() {} +} diff --git a/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingMetrics.java b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingMetrics.java new file mode 100644 index 0000000..4f63cd0 --- /dev/null +++ b/semconv-incubating/src/main/java/io/opentelemetry/semconv/incubating/VcsIncubatingMetrics.java @@ -0,0 +1,114 @@ +/* + * Copyright The OpenTelemetry Authors + * SPDX-License-Identifier: Apache-2.0 + */ + +package io.opentelemetry.semconv.incubating; + +// DO NOT EDIT, this is an Auto-generated file from +// buildscripts/templates/registry/incubating_java/IncubatingSemanticMetrics.java.j2 +@SuppressWarnings("unused") +public final class VcsIncubatingMetrics { + + /** Name of the {@code vcs.change.count} metric. */ + public static final String VCS_CHANGE_COUNT_NAME = "vcs.change.count"; + + /** Unit of the {@code vcs.change.count} metric. */ + public static final String VCS_CHANGE_COUNT_UNIT = "{change}"; + + /** Description of the {@code vcs.change.count} metric. */ + public static final String VCS_CHANGE_COUNT_DESCRIPTION = + "The number of changes (pull requests/merge requests/changelists) in a repository, categorized by their state (e.g. open or merged)."; + + /** Name of the {@code vcs.change.duration} metric. */ + public static final String VCS_CHANGE_DURATION_NAME = "vcs.change.duration"; + + /** Unit of the {@code vcs.change.duration} metric. */ + public static final String VCS_CHANGE_DURATION_UNIT = "s"; + + /** Description of the {@code vcs.change.duration} metric. */ + public static final String VCS_CHANGE_DURATION_DESCRIPTION = + "The time duration a change (pull request/merge request/changelist) has been in a given state."; + + /** Name of the {@code vcs.change.time_to_approval} metric. */ + public static final String VCS_CHANGE_TIME_TO_APPROVAL_NAME = "vcs.change.time_to_approval"; + + /** Unit of the {@code vcs.change.time_to_approval} metric. */ + public static final String VCS_CHANGE_TIME_TO_APPROVAL_UNIT = "s"; + + /** Description of the {@code vcs.change.time_to_approval} metric. */ + public static final String VCS_CHANGE_TIME_TO_APPROVAL_DESCRIPTION = + "The amount of time since its creation it took a change (pull request/merge request/changelist) to get the first approval."; + + /** Name of the {@code vcs.change.time_to_merge} metric. */ + public static final String VCS_CHANGE_TIME_TO_MERGE_NAME = "vcs.change.time_to_merge"; + + /** Unit of the {@code vcs.change.time_to_merge} metric. */ + public static final String VCS_CHANGE_TIME_TO_MERGE_UNIT = "s"; + + /** Description of the {@code vcs.change.time_to_merge} metric. */ + public static final String VCS_CHANGE_TIME_TO_MERGE_DESCRIPTION = + "The amount of time since its creation it took a change (pull request/merge request/changelist) to get merged into the target(base) ref."; + + /** Name of the {@code vcs.contributor.count} metric. */ + public static final String VCS_CONTRIBUTOR_COUNT_NAME = "vcs.contributor.count"; + + /** Unit of the {@code vcs.contributor.count} metric. */ + public static final String VCS_CONTRIBUTOR_COUNT_UNIT = "{contributor}"; + + /** Description of the {@code vcs.contributor.count} metric. */ + public static final String VCS_CONTRIBUTOR_COUNT_DESCRIPTION = + "The number of unique contributors to a repository."; + + /** Name of the {@code vcs.ref.count} metric. */ + public static final String VCS_REF_COUNT_NAME = "vcs.ref.count"; + + /** Unit of the {@code vcs.ref.count} metric. */ + public static final String VCS_REF_COUNT_UNIT = "{ref}"; + + /** Description of the {@code vcs.ref.count} metric. */ + public static final String VCS_REF_COUNT_DESCRIPTION = + "The number of refs of type branch or tag in a repository."; + + /** Name of the {@code vcs.ref.lines_delta} metric. */ + public static final String VCS_REF_LINES_DELTA_NAME = "vcs.ref.lines_delta"; + + /** Unit of the {@code vcs.ref.lines_delta} metric. */ + public static final String VCS_REF_LINES_DELTA_UNIT = "{line}"; + + /** Description of the {@code vcs.ref.lines_delta} metric. */ + public static final String VCS_REF_LINES_DELTA_DESCRIPTION = + "The number of lines added/removed in a ref (branch) relative to the ref from the `vcs.ref.base.name` attribute."; + + /** Name of the {@code vcs.ref.revisions_delta} metric. */ + public static final String VCS_REF_REVISIONS_DELTA_NAME = "vcs.ref.revisions_delta"; + + /** Unit of the {@code vcs.ref.revisions_delta} metric. */ + public static final String VCS_REF_REVISIONS_DELTA_UNIT = "{revision}"; + + /** Description of the {@code vcs.ref.revisions_delta} metric. */ + public static final String VCS_REF_REVISIONS_DELTA_DESCRIPTION = + "The number of revisions (commits) a ref (branch) is ahead/behind the branch from the `vcs.ref.base.name` attribute."; + + /** Name of the {@code vcs.ref.time} metric. */ + public static final String VCS_REF_TIME_NAME = "vcs.ref.time"; + + /** Unit of the {@code vcs.ref.time} metric. */ + public static final String VCS_REF_TIME_UNIT = "s"; + + /** Description of the {@code vcs.ref.time} metric. */ + public static final String VCS_REF_TIME_DESCRIPTION = + "Time a ref (branch) created from the default branch (trunk) has existed. The `ref.type` attribute will always be `branch`."; + + /** Name of the {@code vcs.repository.count} metric. */ + public static final String VCS_REPOSITORY_COUNT_NAME = "vcs.repository.count"; + + /** Unit of the {@code vcs.repository.count} metric. */ + public static final String VCS_REPOSITORY_COUNT_UNIT = "{repository}"; + + /** Description of the {@code vcs.repository.count} metric. */ + public static final String VCS_REPOSITORY_COUNT_DESCRIPTION = + "The number of repositories in an organization."; + + private VcsIncubatingMetrics() {} +}