diff --git a/scripts/semconv/generate.sh b/scripts/semconv/generate.sh index aefc63830d1..38b268c6d5e 100755 --- a/scripts/semconv/generate.sh +++ b/scripts/semconv/generate.sh @@ -27,6 +27,7 @@ git fetch origin "${SPEC_VERSION}" --depth=1 git reset --hard FETCH_HEAD cd ${SCRIPT_DIR} +# Generate "semantic-conventions/src/stable_*.ts". docker run --rm --platform linux/amd64 \ -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ -v ${SCRIPT_DIR}/templates:/weaver/templates \ @@ -35,7 +36,19 @@ docker run --rm --platform linux/amd64 \ registry generate \ --registry=/source \ --templates=/weaver/templates \ - stable \ + ts-stable \ + /output/ + +# Generate "semantic-conventions/src/experimental_*.ts". +docker run --rm --platform linux/amd64 \ + -v ${SCRIPT_DIR}/semantic-conventions/model:/source \ + -v ${SCRIPT_DIR}/templates:/weaver/templates \ + -v ${ROOT_DIR}/semantic-conventions/src/:/output \ + otel/weaver:$GENERATOR_VERSION \ + registry generate \ + --registry=/source \ + --templates=/weaver/templates \ + ts-experimental \ /output/ # Ensure semconv compiles diff --git a/scripts/semconv/templates/registry/ts-experimental/attributes.ts.j2 b/scripts/semconv/templates/registry/ts-experimental/attributes.ts.j2 new file mode 100644 index 00000000000..1f00f875ae9 --- /dev/null +++ b/scripts/semconv/templates/registry/ts-experimental/attributes.ts.j2 @@ -0,0 +1,47 @@ +{%- import 'docstring.ts.j2' as d %} +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/registry/stable/attributes.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +{% for attribute in ctx.attributes | attribute_sort %} +{% if attribute.name not in params.excluded_attributes %} +{% if attribute is not stable %} +{{d.docstring(attribute, "attribute")}} +{% if attribute.type is not template_type %} +export const ATTR_{{ attribute.name | screaming_snake_case }} = '{{attribute.name}}' as const; + +{% else %} +export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => `{{attribute.name}}.${key}`; + +{% endif %} +{% endif %} +{% if attribute.type is mapping %} +{% for espec in attribute.type.members | sort(attribute='value') %} +{#- Grandfather NETWORK_TRANSPORT_VALUE_QUIC as stable until v1.34.0 is released. #} +{% if espec is not stable and not (attribute.name == 'network.transport' and espec.value == 'quic') %} +/** + * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. + */ +export const {{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }} as const; + +{% endif %} +{% endfor %} +{% endif %} +{% endif %} +{% endfor %} diff --git a/scripts/semconv/templates/registry/stable/docstring.ts.j2 b/scripts/semconv/templates/registry/ts-experimental/docstring.ts.j2 similarity index 100% rename from scripts/semconv/templates/registry/stable/docstring.ts.j2 rename to scripts/semconv/templates/registry/ts-experimental/docstring.ts.j2 diff --git a/scripts/semconv/templates/registry/stable/metrics.ts.j2 b/scripts/semconv/templates/registry/ts-experimental/metrics.ts.j2 similarity index 100% rename from scripts/semconv/templates/registry/stable/metrics.ts.j2 rename to scripts/semconv/templates/registry/ts-experimental/metrics.ts.j2 diff --git a/scripts/semconv/templates/registry/stable/weaver.yaml b/scripts/semconv/templates/registry/ts-experimental/weaver.yaml similarity index 75% rename from scripts/semconv/templates/registry/stable/weaver.yaml rename to scripts/semconv/templates/registry/ts-experimental/weaver.yaml index b5e2dca6e73..67b9ffe87d4 100644 --- a/scripts/semconv/templates/registry/stable/weaver.yaml +++ b/scripts/semconv/templates/registry/ts-experimental/weaver.yaml @@ -1,53 +1,23 @@ - -params: - excluded_attributes: ["messaging.client_id"] - -# https://github.com/open-telemetry/weaver/blob/main/crates/weaver_forge/README.md#comment-filter -comment_formats: - jsdoc: - format: markdown - header: '/**' - # Note: This results in trailing whitespace on empty lines. IMHO the - # 'comment' filter should handle those. - prefix: ' * ' - footer: ' */' - trim: true - indent_first_level_list_items: true - escape_backslashes: true -default_comment_format: jsdoc +# ts-experimental/... generates the "semantic-conventions/src/experimental_*.ts" +# files. # Notes: # - Use `""` and `null` with `exclude_stability` to skip attributes/metrics that # accidentally do not have a stability set # (e.g. https://github.com/open-telemetry/semantic-conventions/issues/1777). templates: - - pattern: attributes.ts.j2 - file_name: "stable_attributes.ts" - filter: > - semconv_attributes({ - "stable_only": true - }) | { - attributes: . - } - application_mode: single - pattern: attributes.ts.j2 file_name: "experimental_attributes.ts" + # This "exclude_stability" does *not* exclude "stable" because it needs + # to process *stable* enums that might have *unstable* members. (e.g., + # `db.system.name` is stable, but some of its enum values are not.) filter: > semconv_attributes({ - "exclude_stability": ["stable", "", null] + "exclude_stability": ["", null] }) | { attributes: . } application_mode: single - - pattern: metrics.ts.j2 - file_name: "stable_metrics.ts" - filter: > - semconv_metrics({ - "stable_only": true - }) | { - metrics: . - } - application_mode: single - pattern: metrics.ts.j2 file_name: "experimental_metrics.ts" filter: > @@ -58,6 +28,27 @@ templates: } application_mode: single +params: + excluded_attributes: ["messaging.client_id"] + +## +# Everything below here is expected to be the same as in "../ts-*/weaver.yaml". +## + +# https://github.com/open-telemetry/weaver/blob/main/crates/weaver_forge/README.md#comment-filter +comment_formats: + jsdoc: + format: markdown + header: '/**' + # Note: This results in trailing whitespace on empty lines. IMHO the + # 'comment' filter should handle those. + prefix: ' * ' + footer: ' */' + trim: true + indent_first_level_list_items: true + escape_backslashes: true +default_comment_format: jsdoc + # Whitespace control settings to simplify the definition of templates whitespace_control: trim_blocks: true diff --git a/scripts/semconv/templates/registry/stable/attributes.ts.j2 b/scripts/semconv/templates/registry/ts-stable/attributes.ts.j2 similarity index 90% rename from scripts/semconv/templates/registry/stable/attributes.ts.j2 rename to scripts/semconv/templates/registry/ts-stable/attributes.ts.j2 index c3a334dee52..3f44260a7be 100644 --- a/scripts/semconv/templates/registry/stable/attributes.ts.j2 +++ b/scripts/semconv/templates/registry/ts-stable/attributes.ts.j2 @@ -31,11 +31,14 @@ export const ATTR_{{ attribute.name | screaming_snake_case }} = (key: string) => {% endif %} {% if attribute.type is mapping %} {% for espec in attribute.type.members | sort(attribute='value') %} +{#- Grandfather NETWORK_TRANSPORT_VALUE_QUIC as stable until v1.34.0 is released. #} +{% if espec is stable or (attribute.name == 'network.transport' and espec.value == 'quic') %} /** * Enum value {{ espec.value | print_member_value }} for attribute {@link ATTR_{{ attribute.name | screaming_snake_case }}}. */ export const {{ attribute.name | screaming_snake_case }}_VALUE_{{ espec.id | screaming_snake_case }} = {{ espec.value | print_member_value }} as const; +{% endif %} {% endfor %} {% endif %} {% endif %} diff --git a/scripts/semconv/templates/registry/ts-stable/docstring.ts.j2 b/scripts/semconv/templates/registry/ts-stable/docstring.ts.j2 new file mode 100644 index 00000000000..f1136f6f7df --- /dev/null +++ b/scripts/semconv/templates/registry/ts-stable/docstring.ts.j2 @@ -0,0 +1,34 @@ +{% macro strong_rfc2119(string) -%}{{ string | regex_replace("\\b(MUST NOT|MUST|REQUIRED|SHALL NOT|SHALL|SHOULD NOT|SHOULD|RECOMMENDED|MAY|OPTIONAL)\\b", "**$1**") }}{% endmacro -%} + +{% macro docstring(obj, type="value") -%} +{%- set examples_jsdoc %} + {% if obj.examples is sequence %} + {% for example in obj.examples %} +@example {{ example }} + {% endfor %} + {% elif obj.examples %} +@example {{ obj.examples | print_member_value }} + {% endif %} +{% endset -%} + +{%- if obj.note %} + {% set note_jsdoc = "@note " ~ strong_rfc2119(obj.note) %} +{% endif -%} + +{%- if obj.stability != "stable" %} + {% set stability_jsdoc = "@experimental This " ~ type ~ " is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`." %} +{% endif -%} + +{%- if obj is deprecated %} + {%- set deprecated_jsdoc = "\n@deprecated " ~ strong_rfc2119(obj.deprecated.note) -%} +{%- endif -%} + +{{ [ + strong_rfc2119(obj.brief) | trim, + "\n", + examples_jsdoc, + note_jsdoc, + stability_jsdoc, + deprecated_jsdoc, +] | comment }} +{%- endmacro -%} diff --git a/scripts/semconv/templates/registry/ts-stable/metrics.ts.j2 b/scripts/semconv/templates/registry/ts-stable/metrics.ts.j2 new file mode 100644 index 00000000000..5f6ba370fed --- /dev/null +++ b/scripts/semconv/templates/registry/ts-stable/metrics.ts.j2 @@ -0,0 +1,26 @@ +{%- import 'docstring.ts.j2' as d %} +/* + * Copyright The OpenTelemetry Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +//---------------------------------------------------------------------------------------------------------- +// DO NOT EDIT, this is an Auto-generated file from scripts/semconv/templates/register/stable/metrics.ts.j2 +//---------------------------------------------------------------------------------------------------------- + +{% for metric in ctx.metrics | sort(attribute="metric_name") %} +{{d.docstring(metric, "metric")}} +export const METRIC_{{ metric.metric_name | screaming_snake_case }} = '{{metric.metric_name}}' as const; + +{% endfor %} diff --git a/scripts/semconv/templates/registry/ts-stable/weaver.yaml b/scripts/semconv/templates/registry/ts-stable/weaver.yaml new file mode 100644 index 00000000000..ca228e589ae --- /dev/null +++ b/scripts/semconv/templates/registry/ts-stable/weaver.yaml @@ -0,0 +1,55 @@ +# ts-stable/... generates the "semantic-conventions/src/stable_*.ts" files. + +templates: + - pattern: attributes.ts.j2 + file_name: "stable_attributes.ts" + filter: > + semconv_attributes({ + "stable_only": true + }) | { + attributes: . + } + application_mode: single + - pattern: metrics.ts.j2 + file_name: "stable_metrics.ts" + filter: > + semconv_metrics({ + "stable_only": true + }) | { + metrics: . + } + application_mode: single + +params: + excluded_attributes: ["messaging.client_id"] + +## +# Everything below here is expected to be the same as in "../ts-*/weaver.yaml". +## + +# https://github.com/open-telemetry/weaver/blob/main/crates/weaver_forge/README.md#comment-filter +comment_formats: + jsdoc: + format: markdown + header: '/**' + # Note: This results in trailing whitespace on empty lines. IMHO the + # 'comment' filter should handle those. + prefix: ' * ' + footer: ' */' + trim: true + indent_first_level_list_items: true + escape_backslashes: true +default_comment_format: jsdoc + +# Whitespace control settings to simplify the definition of templates +whitespace_control: + trim_blocks: true + lstrip_blocks: true + +text_maps: + js_types: + int: number + double: number + boolean: boolean + string: string + string[]: string[] diff --git a/semantic-conventions/CHANGELOG.md b/semantic-conventions/CHANGELOG.md index 33384f74fab..ac041a2c582 100644 --- a/semantic-conventions/CHANGELOG.md +++ b/semantic-conventions/CHANGELOG.md @@ -7,6 +7,9 @@ All notable changes to the semantic-conventions package will be documented in th ### :boom: Breaking Changes +* fix: Remove the subset of `DB_SYSTEM_NAME_VALUE_*` exports that are unstable from the `@opentelemetry/semantic-conventions` entry point. [#5690](https://github.com/open-telemetry/opentelemetry-js/pull/5690) + * Version 1.33.0 erroneously included all `DB_SYSTEM_NAME_VALUE_*` constants in the stable entry point. Some of those enum values are not yet stable. They have been moved back to the unstable `@opentelemetry/semantic-conventions/incubating` entry point. See the PR description for a full list. + ### :rocket: Features ### :bug: Bug Fixes diff --git a/semantic-conventions/src/experimental_attributes.ts b/semantic-conventions/src/experimental_attributes.ts index 4439a89025f..75319db6f33 100644 --- a/semantic-conventions/src/experimental_attributes.ts +++ b/semantic-conventions/src/experimental_attributes.ts @@ -2938,6 +2938,191 @@ export const DB_SYSTEM_VALUE_TRINO = "trino" as const; */ export const DB_SYSTEM_VALUE_VERTICA = "vertica" as const; +/** + * Enum value "actian.ingres" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_ACTIAN_INGRES = "actian.ingres" as const; + +/** + * Enum value "aws.dynamodb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_AWS_DYNAMODB = "aws.dynamodb" as const; + +/** + * Enum value "aws.redshift" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_AWS_REDSHIFT = "aws.redshift" as const; + +/** + * Enum value "azure.cosmosdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_AZURE_COSMOSDB = "azure.cosmosdb" as const; + +/** + * Enum value "cassandra" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_CASSANDRA = "cassandra" as const; + +/** + * Enum value "clickhouse" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_CLICKHOUSE = "clickhouse" as const; + +/** + * Enum value "cockroachdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_COCKROACHDB = "cockroachdb" as const; + +/** + * Enum value "couchbase" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_COUCHBASE = "couchbase" as const; + +/** + * Enum value "couchdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_COUCHDB = "couchdb" as const; + +/** + * Enum value "derby" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_DERBY = "derby" as const; + +/** + * Enum value "elasticsearch" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_ELASTICSEARCH = "elasticsearch" as const; + +/** + * Enum value "firebirdsql" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_FIREBIRDSQL = "firebirdsql" as const; + +/** + * Enum value "gcp.spanner" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_GCP_SPANNER = "gcp.spanner" as const; + +/** + * Enum value "geode" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_GEODE = "geode" as const; + +/** + * Enum value "h2database" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_H2DATABASE = "h2database" as const; + +/** + * Enum value "hbase" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_HBASE = "hbase" as const; + +/** + * Enum value "hive" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_HIVE = "hive" as const; + +/** + * Enum value "hsqldb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_HSQLDB = "hsqldb" as const; + +/** + * Enum value "ibm.db2" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_IBM_DB2 = "ibm.db2" as const; + +/** + * Enum value "ibm.informix" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_IBM_INFORMIX = "ibm.informix" as const; + +/** + * Enum value "ibm.netezza" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_IBM_NETEZZA = "ibm.netezza" as const; + +/** + * Enum value "influxdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_INFLUXDB = "influxdb" as const; + +/** + * Enum value "instantdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_INSTANTDB = "instantdb" as const; + +/** + * Enum value "intersystems.cache" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_INTERSYSTEMS_CACHE = "intersystems.cache" as const; + +/** + * Enum value "memcached" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_MEMCACHED = "memcached" as const; + +/** + * Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_MONGODB = "mongodb" as const; + +/** + * Enum value "neo4j" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_NEO4J = "neo4j" as const; + +/** + * Enum value "opensearch" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_OPENSEARCH = "opensearch" as const; + +/** + * Enum value "oracle.db" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_ORACLE_DB = "oracle.db" as const; + +/** + * Enum value "other_sql" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_OTHER_SQL = "other_sql" as const; + +/** + * Enum value "redis" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_REDIS = "redis" as const; + +/** + * Enum value "sap.hana" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_SAP_HANA = "sap.hana" as const; + +/** + * Enum value "sap.maxdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_SAP_MAXDB = "sap.maxdb" as const; + +/** + * Enum value "softwareag.adabas" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_SOFTWAREAG_ADABAS = "softwareag.adabas" as const; + +/** + * Enum value "sqlite" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_SQLITE = "sqlite" as const; + +/** + * Enum value "teradata" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_TERADATA = "teradata" as const; + +/** + * Enum value "trino" for attribute {@link ATTR_DB_SYSTEM_NAME}. + */ +export const DB_SYSTEM_NAME_VALUE_TRINO = "trino" as const; + /** * Deprecated, no replacement at this time. * diff --git a/semantic-conventions/src/stable_attributes.ts b/semantic-conventions/src/stable_attributes.ts index db6b42ce5f5..4c05fbd8914 100644 --- a/semantic-conventions/src/stable_attributes.ts +++ b/semantic-conventions/src/stable_attributes.ts @@ -324,211 +324,26 @@ export const ATTR_DB_STORED_PROCEDURE_NAME = 'db.stored_procedure.name' as const */ export const ATTR_DB_SYSTEM_NAME = 'db.system.name' as const; -/** - * Enum value "actian.ingres" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_ACTIAN_INGRES = "actian.ingres" as const; - -/** - * Enum value "aws.dynamodb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_AWS_DYNAMODB = "aws.dynamodb" as const; - -/** - * Enum value "aws.redshift" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_AWS_REDSHIFT = "aws.redshift" as const; - -/** - * Enum value "azure.cosmosdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_AZURE_COSMOSDB = "azure.cosmosdb" as const; - -/** - * Enum value "cassandra" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_CASSANDRA = "cassandra" as const; - -/** - * Enum value "clickhouse" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_CLICKHOUSE = "clickhouse" as const; - -/** - * Enum value "cockroachdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_COCKROACHDB = "cockroachdb" as const; - -/** - * Enum value "couchbase" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_COUCHBASE = "couchbase" as const; - -/** - * Enum value "couchdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_COUCHDB = "couchdb" as const; - -/** - * Enum value "derby" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_DERBY = "derby" as const; - -/** - * Enum value "elasticsearch" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_ELASTICSEARCH = "elasticsearch" as const; - -/** - * Enum value "firebirdsql" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_FIREBIRDSQL = "firebirdsql" as const; - -/** - * Enum value "gcp.spanner" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_GCP_SPANNER = "gcp.spanner" as const; - -/** - * Enum value "geode" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_GEODE = "geode" as const; - -/** - * Enum value "h2database" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_H2DATABASE = "h2database" as const; - -/** - * Enum value "hbase" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_HBASE = "hbase" as const; - -/** - * Enum value "hive" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_HIVE = "hive" as const; - -/** - * Enum value "hsqldb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_HSQLDB = "hsqldb" as const; - -/** - * Enum value "ibm.db2" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_IBM_DB2 = "ibm.db2" as const; - -/** - * Enum value "ibm.informix" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_IBM_INFORMIX = "ibm.informix" as const; - -/** - * Enum value "ibm.netezza" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_IBM_NETEZZA = "ibm.netezza" as const; - -/** - * Enum value "influxdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_INFLUXDB = "influxdb" as const; - -/** - * Enum value "instantdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_INSTANTDB = "instantdb" as const; - -/** - * Enum value "intersystems.cache" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_INTERSYSTEMS_CACHE = "intersystems.cache" as const; - /** * Enum value "mariadb" for attribute {@link ATTR_DB_SYSTEM_NAME}. */ export const DB_SYSTEM_NAME_VALUE_MARIADB = "mariadb" as const; -/** - * Enum value "memcached" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_MEMCACHED = "memcached" as const; - /** * Enum value "microsoft.sql_server" for attribute {@link ATTR_DB_SYSTEM_NAME}. */ export const DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER = "microsoft.sql_server" as const; -/** - * Enum value "mongodb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_MONGODB = "mongodb" as const; - /** * Enum value "mysql" for attribute {@link ATTR_DB_SYSTEM_NAME}. */ export const DB_SYSTEM_NAME_VALUE_MYSQL = "mysql" as const; -/** - * Enum value "neo4j" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_NEO4J = "neo4j" as const; - -/** - * Enum value "opensearch" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_OPENSEARCH = "opensearch" as const; - -/** - * Enum value "oracle.db" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_ORACLE_DB = "oracle.db" as const; - -/** - * Enum value "other_sql" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_OTHER_SQL = "other_sql" as const; - /** * Enum value "postgresql" for attribute {@link ATTR_DB_SYSTEM_NAME}. */ export const DB_SYSTEM_NAME_VALUE_POSTGRESQL = "postgresql" as const; -/** - * Enum value "redis" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_REDIS = "redis" as const; - -/** - * Enum value "sap.hana" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_SAP_HANA = "sap.hana" as const; - -/** - * Enum value "sap.maxdb" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_SAP_MAXDB = "sap.maxdb" as const; - -/** - * Enum value "softwareag.adabas" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_SOFTWAREAG_ADABAS = "softwareag.adabas" as const; - -/** - * Enum value "sqlite" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_SQLITE = "sqlite" as const; - -/** - * Enum value "teradata" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_TERADATA = "teradata" as const; - -/** - * Enum value "trino" for attribute {@link ATTR_DB_SYSTEM_NAME}. - */ -export const DB_SYSTEM_NAME_VALUE_TRINO = "trino" as const; - /** * Name of the garbage collector managed heap generation. *