mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-09 00:03:00 +02:00
1212 lines
31 KiB
C++
1212 lines
31 KiB
C++
/*
|
|
* Copyright The OpenTelemetry Authors
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/*
|
|
* DO NOT EDIT, this is an Auto-generated file from:
|
|
* buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "opentelemetry/common/macros.h"
|
|
#include "opentelemetry/version.h"
|
|
|
|
OPENTELEMETRY_BEGIN_NAMESPACE
|
|
namespace semconv
|
|
{
|
|
namespace db
|
|
{
|
|
|
|
/**
|
|
Deprecated, use @code cassandra.consistency.level @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code cassandra.consistency.level @endcode.", "reason": "renamed",
|
|
"renamed_to": "cassandra.consistency.level"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraConsistencyLevel =
|
|
"db.cassandra.consistency_level";
|
|
|
|
/**
|
|
Deprecated, use @code cassandra.coordinator.dc @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code cassandra.coordinator.dc @endcode.", "reason": "renamed",
|
|
"renamed_to": "cassandra.coordinator.dc"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraCoordinatorDc =
|
|
"db.cassandra.coordinator.dc";
|
|
|
|
/**
|
|
Deprecated, use @code cassandra.coordinator.id @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code cassandra.coordinator.id @endcode.", "reason": "renamed",
|
|
"renamed_to": "cassandra.coordinator.id"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraCoordinatorId =
|
|
"db.cassandra.coordinator.id";
|
|
|
|
/**
|
|
Deprecated, use @code cassandra.query.idempotent @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code cassandra.query.idempotent @endcode.", "reason": "renamed",
|
|
"renamed_to": "cassandra.query.idempotent"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraIdempotence =
|
|
"db.cassandra.idempotence";
|
|
|
|
/**
|
|
Deprecated, use @code cassandra.page.size @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code cassandra.page.size @endcode.", "reason": "renamed", "renamed_to":
|
|
"cassandra.page.size"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraPageSize =
|
|
"db.cassandra.page_size";
|
|
|
|
/**
|
|
Deprecated, use @code cassandra.speculative_execution.count @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code cassandra.speculative_execution.count @endcode.", "reason": "renamed",
|
|
"renamed_to": "cassandra.speculative_execution.count"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraSpeculativeExecutionCount =
|
|
"db.cassandra.speculative_execution_count";
|
|
|
|
/**
|
|
Deprecated, use @code db.collection.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.collection.name @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.collection.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCassandraTable = "db.cassandra.table";
|
|
|
|
/**
|
|
The name of the connection pool; unique within the instrumented application. In case the
|
|
connection pool implementation doesn't provide a name, instrumentation SHOULD use a combination of
|
|
parameters that would make the name unique, for example, combining attributes @code server.address
|
|
@endcode, @code server.port @endcode, and @code db.namespace @endcode, formatted as @code
|
|
server.address:server.port/db.namespace @endcode. Instrumentations that generate connection pool
|
|
name following different patterns SHOULD document it.
|
|
*/
|
|
static constexpr const char *kDbClientConnectionPoolName = "db.client.connection.pool.name";
|
|
|
|
/**
|
|
The state of a connection in the pool
|
|
*/
|
|
static constexpr const char *kDbClientConnectionState = "db.client.connection.state";
|
|
|
|
/**
|
|
Deprecated, use @code db.client.connection.pool.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.client.connection.pool.name @endcode.", "reason": "renamed",
|
|
"renamed_to": "db.client.connection.pool.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbClientConnectionsPoolName =
|
|
"db.client.connections.pool.name";
|
|
|
|
/**
|
|
Deprecated, use @code db.client.connection.state @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.client.connection.state @endcode.", "reason": "renamed",
|
|
"renamed_to": "db.client.connection.state"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbClientConnectionsState =
|
|
"db.client.connections.state";
|
|
|
|
/**
|
|
The name of a collection (table, container) within the database.
|
|
<p>
|
|
It is RECOMMENDED to capture the value as provided by the application
|
|
without attempting to do any case normalization.
|
|
<p>
|
|
The collection name SHOULD NOT be extracted from @code db.query.text @endcode,
|
|
when the database system supports query text with multiple collections
|
|
in non-batch operations.
|
|
<p>
|
|
For batch operations, if the individual operations are known to have the same
|
|
collection name then that collection name SHOULD be used.
|
|
*/
|
|
static constexpr const char *kDbCollectionName = "db.collection.name";
|
|
|
|
/**
|
|
Deprecated, use @code server.address @endcode, @code server.port @endcode attributes instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code server.address @endcode and @code server.port @endcode.\n", "reason":
|
|
"uncategorized"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbConnectionString = "db.connection_string";
|
|
|
|
/**
|
|
Deprecated, use @code azure.client.id @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.client.id @endcode.", "reason": "renamed", "renamed_to":
|
|
"azure.client.id"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbClientId = "db.cosmosdb.client_id";
|
|
|
|
/**
|
|
Deprecated, use @code azure.cosmosdb.connection.mode @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.cosmosdb.connection.mode @endcode.", "reason": "renamed",
|
|
"renamed_to": "azure.cosmosdb.connection.mode"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbConnectionMode =
|
|
"db.cosmosdb.connection_mode";
|
|
|
|
/**
|
|
Deprecated, use @code cosmosdb.consistency.level @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.cosmosdb.consistency.level @endcode.", "reason": "renamed",
|
|
"renamed_to": "azure.cosmosdb.consistency.level"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbConsistencyLevel =
|
|
"db.cosmosdb.consistency_level";
|
|
|
|
/**
|
|
Deprecated, use @code db.collection.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.collection.name @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.collection.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbContainer =
|
|
"db.cosmosdb.container";
|
|
|
|
/**
|
|
Deprecated, no replacement at this time.
|
|
|
|
@deprecated
|
|
{"note": "Removed, no replacement at this time.\n", "reason": "obsoleted"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbOperationType =
|
|
"db.cosmosdb.operation_type";
|
|
|
|
/**
|
|
Deprecated, use @code azure.cosmosdb.operation.contacted_regions @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.cosmosdb.operation.contacted_regions @endcode.", "reason":
|
|
"renamed", "renamed_to": "azure.cosmosdb.operation.contacted_regions"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbRegionsContacted =
|
|
"db.cosmosdb.regions_contacted";
|
|
|
|
/**
|
|
Deprecated, use @code azure.cosmosdb.operation.request_charge @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.cosmosdb.operation.request_charge @endcode.", "reason":
|
|
"renamed", "renamed_to": "azure.cosmosdb.operation.request_charge"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbRequestCharge =
|
|
"db.cosmosdb.request_charge";
|
|
|
|
/**
|
|
Deprecated, use @code azure.cosmosdb.request.body.size @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.cosmosdb.request.body.size @endcode.", "reason": "renamed",
|
|
"renamed_to": "azure.cosmosdb.request.body.size"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbRequestContentLength =
|
|
"db.cosmosdb.request_content_length";
|
|
|
|
/**
|
|
Deprecated, use @code db.response.status_code @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.response.status_code @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.response.status_code"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbStatusCode =
|
|
"db.cosmosdb.status_code";
|
|
|
|
/**
|
|
Deprecated, use @code azure.cosmosdb.response.sub_status_code @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code azure.cosmosdb.response.sub_status_code @endcode.", "reason":
|
|
"renamed", "renamed_to": "azure.cosmosdb.response.sub_status_code"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbCosmosdbSubStatusCode =
|
|
"db.cosmosdb.sub_status_code";
|
|
|
|
/**
|
|
Deprecated, use @code db.namespace @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.namespace @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.namespace"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbElasticsearchClusterName =
|
|
"db.elasticsearch.cluster.name";
|
|
|
|
/**
|
|
Deprecated, use @code elasticsearch.node.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code elasticsearch.node.name @endcode.", "reason": "renamed", "renamed_to":
|
|
"elasticsearch.node.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbElasticsearchNodeName =
|
|
"db.elasticsearch.node.name";
|
|
|
|
/**
|
|
Deprecated, use @code db.operation.parameter @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.operation.parameter @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.operation.parameter"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbElasticsearchPathParts =
|
|
"db.elasticsearch.path_parts";
|
|
|
|
/**
|
|
Deprecated, no general replacement at this time. For Elasticsearch, use @code
|
|
db.elasticsearch.node.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Removed, no general replacement at this time. For Elasticsearch, use @code
|
|
db.elasticsearch.node.name @endcode instead.\n", "reason": "obsoleted"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbInstanceId = "db.instance.id";
|
|
|
|
/**
|
|
Removed, no replacement at this time.
|
|
|
|
@deprecated
|
|
{"note": "Removed, no replacement at this time.\n", "reason": "obsoleted"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbJdbcDriverClassname =
|
|
"db.jdbc.driver_classname";
|
|
|
|
/**
|
|
Deprecated, use @code db.collection.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.collection.name @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.collection.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbMongodbCollection =
|
|
"db.mongodb.collection";
|
|
|
|
/**
|
|
Deprecated, SQL Server instance is now populated as a part of @code db.namespace @endcode
|
|
attribute.
|
|
|
|
@deprecated
|
|
{"note": "Removed, no replacement at this time.", "reason": "obsoleted"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbMssqlInstanceName =
|
|
"db.mssql.instance_name";
|
|
|
|
/**
|
|
Deprecated, use @code db.namespace @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.namespace @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.namespace"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbName = "db.name";
|
|
|
|
/**
|
|
The name of the database, fully qualified within the server address and port.
|
|
<p>
|
|
If a database system has multiple namespace components, they SHOULD be concatenated from the most
|
|
general to the most specific namespace component, using @code | @endcode as a separator between
|
|
the components. Any missing components (and their associated separators) SHOULD be omitted.
|
|
Semantic conventions for individual database systems SHOULD document what @code db.namespace
|
|
@endcode means in the context of that system. It is RECOMMENDED to capture the value as provided
|
|
by the application without attempting to do any case normalization.
|
|
*/
|
|
static constexpr const char *kDbNamespace = "db.namespace";
|
|
|
|
/**
|
|
Deprecated, use @code db.operation.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.operation.name @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.operation.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbOperation = "db.operation";
|
|
|
|
/**
|
|
The number of queries included in a batch operation.
|
|
<p>
|
|
Operations are only considered batches when they contain two or more operations, and so @code
|
|
db.operation.batch.size @endcode SHOULD never be @code 1 @endcode.
|
|
*/
|
|
static constexpr const char *kDbOperationBatchSize = "db.operation.batch.size";
|
|
|
|
/**
|
|
The name of the operation or command being executed.
|
|
<p>
|
|
It is RECOMMENDED to capture the value as provided by the application
|
|
without attempting to do any case normalization.
|
|
<p>
|
|
The operation name SHOULD NOT be extracted from @code db.query.text @endcode,
|
|
when the database system supports query text with multiple operations
|
|
in non-batch operations.
|
|
<p>
|
|
If spaces can occur in the operation name, multiple consecutive spaces
|
|
SHOULD be normalized to a single space.
|
|
<p>
|
|
For batch operations, if the individual operations are known to have the same operation name
|
|
then that operation name SHOULD be used prepended by @code BATCH @endcode,
|
|
otherwise @code db.operation.name @endcode SHOULD be @code BATCH @endcode or some other database
|
|
system specific term if more applicable.
|
|
*/
|
|
static constexpr const char *kDbOperationName = "db.operation.name";
|
|
|
|
/**
|
|
A database operation parameter, with @code <key> @endcode being the parameter name, and the
|
|
attribute value being a string representation of the parameter value. <p> For example, a
|
|
client-side maximum number of rows to read from the database MAY be recorded as the @code
|
|
db.operation.parameter.max_rows @endcode attribute. <p>
|
|
@code db.query.text @endcode parameters SHOULD be captured using @code db.query.parameter.<key>
|
|
@endcode instead of @code db.operation.parameter.<key> @endcode.
|
|
*/
|
|
static constexpr const char *kDbOperationParameter = "db.operation.parameter";
|
|
|
|
/**
|
|
A database query parameter, with @code <key> @endcode being the parameter name, and the attribute
|
|
value being a string representation of the parameter value. <p> If a query parameter has no name
|
|
and instead is referenced only by index, then @code <key> @endcode SHOULD be the 0-based index.
|
|
<p>
|
|
@code db.query.parameter.<key> @endcode SHOULD match
|
|
up with the parameterized placeholders present in @code db.query.text @endcode.
|
|
<p>
|
|
@code db.query.parameter.<key> @endcode SHOULD NOT be captured on batch operations.
|
|
<p>
|
|
Examples:
|
|
<ul>
|
|
<li>For a query @code SELECT * FROM users where username = %s @endcode with the parameter @code
|
|
"jdoe" @endcode, the attribute @code db.query.parameter.0 @endcode SHOULD be set to @code "jdoe"
|
|
@endcode.</li> <li>For a query @code "SELECT * FROM users WHERE username = %(username)s; @endcode
|
|
with parameter
|
|
@code username = "jdoe" @endcode, the attribute @code db.query.parameter.username @endcode SHOULD
|
|
be set to @code "jdoe" @endcode.</li>
|
|
</ul>
|
|
*/
|
|
static constexpr const char *kDbQueryParameter = "db.query.parameter";
|
|
|
|
/**
|
|
Low cardinality summary of a database query.
|
|
<p>
|
|
The query summary describes a class of database queries and is useful
|
|
as a grouping key, especially when analyzing telemetry for database
|
|
calls involving complex queries.
|
|
<p>
|
|
Summary may be available to the instrumentation through
|
|
instrumentation hooks or other means. If it is not available, instrumentations
|
|
that support query parsing SHOULD generate a summary following
|
|
<a href="/docs/database/database-spans.md#generating-a-summary-of-the-query">Generating query
|
|
summary</a> section.
|
|
*/
|
|
static constexpr const char *kDbQuerySummary = "db.query.summary";
|
|
|
|
/**
|
|
The database query being executed.
|
|
<p>
|
|
For sanitization see <a
|
|
href="/docs/database/database-spans.md#sanitization-of-dbquerytext">Sanitization of @code
|
|
db.query.text @endcode</a>. For batch operations, if the individual operations are known to have
|
|
the same query text then that query text SHOULD be used, otherwise all of the individual query
|
|
texts SHOULD be concatenated with separator @code ; @endcode or some other database system
|
|
specific separator if more applicable. Parameterized query text SHOULD NOT be sanitized. Even
|
|
though parameterized query text can potentially have sensitive data, by using a parameterized
|
|
query the user is giving a strong signal that any sensitive data will be passed as parameter
|
|
values, and the benefit to observability of capturing the static part of the query text by default
|
|
outweighs the risk.
|
|
*/
|
|
static constexpr const char *kDbQueryText = "db.query.text";
|
|
|
|
/**
|
|
Deprecated, use @code db.namespace @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.namespace @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.namespace"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbRedisDatabaseIndex =
|
|
"db.redis.database_index";
|
|
|
|
/**
|
|
Number of rows returned by the operation.
|
|
*/
|
|
static constexpr const char *kDbResponseReturnedRows = "db.response.returned_rows";
|
|
|
|
/**
|
|
Database response status code.
|
|
<p>
|
|
The status code returned by the database. Usually it represents an error code, but may also
|
|
represent partial success, warning, or differentiate between various types of successful outcomes.
|
|
Semantic conventions for individual database systems SHOULD document what @code
|
|
db.response.status_code @endcode means in the context of that system.
|
|
*/
|
|
static constexpr const char *kDbResponseStatusCode = "db.response.status_code";
|
|
|
|
/**
|
|
Deprecated, use @code db.collection.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.collection.name @endcode, but only if not extracting the value from
|
|
@code db.query.text @endcode.", "reason": "uncategorized"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbSqlTable = "db.sql.table";
|
|
|
|
/**
|
|
The database statement being executed.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.query.text @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.query.text"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbStatement = "db.statement";
|
|
|
|
/**
|
|
The name of a stored procedure within the database.
|
|
<p>
|
|
It is RECOMMENDED to capture the value as provided by the application
|
|
without attempting to do any case normalization.
|
|
<p>
|
|
For batch operations, if the individual operations are known to have the same
|
|
stored procedure name then that stored procedure name SHOULD be used.
|
|
*/
|
|
static constexpr const char *kDbStoredProcedureName = "db.stored_procedure.name";
|
|
|
|
/**
|
|
Deprecated, use @code db.system.name @endcode instead.
|
|
|
|
@deprecated
|
|
{"note": "Replaced by @code db.system.name @endcode.", "reason": "renamed", "renamed_to":
|
|
"db.system.name"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbSystem = "db.system";
|
|
|
|
/**
|
|
The database management system (DBMS) product as identified by the client instrumentation.
|
|
<p>
|
|
The actual DBMS may differ from the one identified by the client. For example, when using
|
|
PostgreSQL client libraries to connect to a CockroachDB, the @code db.system.name @endcode is set
|
|
to @code postgresql @endcode based on the instrumentation's best knowledge.
|
|
*/
|
|
static constexpr const char *kDbSystemName = "db.system.name";
|
|
|
|
/**
|
|
Deprecated, no replacement at this time.
|
|
|
|
@deprecated
|
|
{"note": "Removed, no replacement at this time.", "reason": "obsoleted"}
|
|
*/
|
|
OPENTELEMETRY_DEPRECATED static constexpr const char *kDbUser = "db.user";
|
|
|
|
namespace DbCassandraConsistencyLevelValues
|
|
{
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kAll = "all";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kEachQuorum = "each_quorum";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kQuorum = "quorum";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kLocalQuorum = "local_quorum";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kOne = "one";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kTwo = "two";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kThree = "three";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kLocalOne = "local_one";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kAny = "any";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kSerial = "serial";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kLocalSerial = "local_serial";
|
|
|
|
} // namespace DbCassandraConsistencyLevelValues
|
|
|
|
namespace DbClientConnectionStateValues
|
|
{
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kIdle = "idle";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kUsed = "used";
|
|
|
|
} // namespace DbClientConnectionStateValues
|
|
|
|
namespace DbClientConnectionsStateValues
|
|
{
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kIdle = "idle";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kUsed = "used";
|
|
|
|
} // namespace DbClientConnectionsStateValues
|
|
|
|
namespace DbCosmosdbConnectionModeValues
|
|
{
|
|
/**
|
|
Gateway (HTTP) connection.
|
|
*/
|
|
static constexpr const char *kGateway = "gateway";
|
|
|
|
/**
|
|
Direct connection.
|
|
*/
|
|
static constexpr const char *kDirect = "direct";
|
|
|
|
} // namespace DbCosmosdbConnectionModeValues
|
|
|
|
namespace DbCosmosdbConsistencyLevelValues
|
|
{
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kStrong = "Strong";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kBoundedStaleness = "BoundedStaleness";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kSession = "Session";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kEventual = "Eventual";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kConsistentPrefix = "ConsistentPrefix";
|
|
|
|
} // namespace DbCosmosdbConsistencyLevelValues
|
|
|
|
namespace DbCosmosdbOperationTypeValues
|
|
{
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kBatch = "batch";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kCreate = "create";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kDelete = "delete";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kExecute = "execute";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kExecuteJavascript = "execute_javascript";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kInvalid = "invalid";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kHead = "head";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kHeadFeed = "head_feed";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kPatch = "patch";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kQuery = "query";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kQueryPlan = "query_plan";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kRead = "read";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kReadFeed = "read_feed";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kReplace = "replace";
|
|
|
|
/**
|
|
none
|
|
*/
|
|
static constexpr const char *kUpsert = "upsert";
|
|
|
|
} // namespace DbCosmosdbOperationTypeValues
|
|
|
|
namespace DbSystemValues
|
|
{
|
|
/**
|
|
Some other SQL database. Fallback only. See notes.
|
|
*/
|
|
static constexpr const char *kOtherSql = "other_sql";
|
|
|
|
/**
|
|
Adabas (Adaptable Database System)
|
|
*/
|
|
static constexpr const char *kAdabas = "adabas";
|
|
|
|
/**
|
|
Deprecated, use @code intersystems_cache @endcode instead.
|
|
*/
|
|
static constexpr const char *kCache = "cache";
|
|
|
|
/**
|
|
InterSystems Caché
|
|
*/
|
|
static constexpr const char *kIntersystemsCache = "intersystems_cache";
|
|
|
|
/**
|
|
Apache Cassandra
|
|
*/
|
|
static constexpr const char *kCassandra = "cassandra";
|
|
|
|
/**
|
|
ClickHouse
|
|
*/
|
|
static constexpr const char *kClickhouse = "clickhouse";
|
|
|
|
/**
|
|
Deprecated, use @code other_sql @endcode instead.
|
|
*/
|
|
static constexpr const char *kCloudscape = "cloudscape";
|
|
|
|
/**
|
|
CockroachDB
|
|
*/
|
|
static constexpr const char *kCockroachdb = "cockroachdb";
|
|
|
|
/**
|
|
Deprecated, no replacement at this time.
|
|
*/
|
|
static constexpr const char *kColdfusion = "coldfusion";
|
|
|
|
/**
|
|
Microsoft Azure Cosmos DB
|
|
*/
|
|
static constexpr const char *kCosmosdb = "cosmosdb";
|
|
|
|
/**
|
|
Couchbase
|
|
*/
|
|
static constexpr const char *kCouchbase = "couchbase";
|
|
|
|
/**
|
|
CouchDB
|
|
*/
|
|
static constexpr const char *kCouchdb = "couchdb";
|
|
|
|
/**
|
|
IBM Db2
|
|
*/
|
|
static constexpr const char *kDb2 = "db2";
|
|
|
|
/**
|
|
Apache Derby
|
|
*/
|
|
static constexpr const char *kDerby = "derby";
|
|
|
|
/**
|
|
Amazon DynamoDB
|
|
*/
|
|
static constexpr const char *kDynamodb = "dynamodb";
|
|
|
|
/**
|
|
EnterpriseDB
|
|
*/
|
|
static constexpr const char *kEdb = "edb";
|
|
|
|
/**
|
|
Elasticsearch
|
|
*/
|
|
static constexpr const char *kElasticsearch = "elasticsearch";
|
|
|
|
/**
|
|
FileMaker
|
|
*/
|
|
static constexpr const char *kFilemaker = "filemaker";
|
|
|
|
/**
|
|
Firebird
|
|
*/
|
|
static constexpr const char *kFirebird = "firebird";
|
|
|
|
/**
|
|
Deprecated, use @code other_sql @endcode instead.
|
|
*/
|
|
static constexpr const char *kFirstsql = "firstsql";
|
|
|
|
/**
|
|
Apache Geode
|
|
*/
|
|
static constexpr const char *kGeode = "geode";
|
|
|
|
/**
|
|
H2
|
|
*/
|
|
static constexpr const char *kH2 = "h2";
|
|
|
|
/**
|
|
SAP HANA
|
|
*/
|
|
static constexpr const char *kHanadb = "hanadb";
|
|
|
|
/**
|
|
Apache HBase
|
|
*/
|
|
static constexpr const char *kHbase = "hbase";
|
|
|
|
/**
|
|
Apache Hive
|
|
*/
|
|
static constexpr const char *kHive = "hive";
|
|
|
|
/**
|
|
HyperSQL DataBase
|
|
*/
|
|
static constexpr const char *kHsqldb = "hsqldb";
|
|
|
|
/**
|
|
InfluxDB
|
|
*/
|
|
static constexpr const char *kInfluxdb = "influxdb";
|
|
|
|
/**
|
|
Informix
|
|
*/
|
|
static constexpr const char *kInformix = "informix";
|
|
|
|
/**
|
|
Ingres
|
|
*/
|
|
static constexpr const char *kIngres = "ingres";
|
|
|
|
/**
|
|
InstantDB
|
|
*/
|
|
static constexpr const char *kInstantdb = "instantdb";
|
|
|
|
/**
|
|
InterBase
|
|
*/
|
|
static constexpr const char *kInterbase = "interbase";
|
|
|
|
/**
|
|
MariaDB
|
|
*/
|
|
static constexpr const char *kMariadb = "mariadb";
|
|
|
|
/**
|
|
SAP MaxDB
|
|
*/
|
|
static constexpr const char *kMaxdb = "maxdb";
|
|
|
|
/**
|
|
Memcached
|
|
*/
|
|
static constexpr const char *kMemcached = "memcached";
|
|
|
|
/**
|
|
MongoDB
|
|
*/
|
|
static constexpr const char *kMongodb = "mongodb";
|
|
|
|
/**
|
|
Microsoft SQL Server
|
|
*/
|
|
static constexpr const char *kMssql = "mssql";
|
|
|
|
/**
|
|
Deprecated, Microsoft SQL Server Compact is discontinued.
|
|
*/
|
|
static constexpr const char *kMssqlcompact = "mssqlcompact";
|
|
|
|
/**
|
|
MySQL
|
|
*/
|
|
static constexpr const char *kMysql = "mysql";
|
|
|
|
/**
|
|
Neo4j
|
|
*/
|
|
static constexpr const char *kNeo4j = "neo4j";
|
|
|
|
/**
|
|
Netezza
|
|
*/
|
|
static constexpr const char *kNetezza = "netezza";
|
|
|
|
/**
|
|
OpenSearch
|
|
*/
|
|
static constexpr const char *kOpensearch = "opensearch";
|
|
|
|
/**
|
|
Oracle Database
|
|
*/
|
|
static constexpr const char *kOracle = "oracle";
|
|
|
|
/**
|
|
Pervasive PSQL
|
|
*/
|
|
static constexpr const char *kPervasive = "pervasive";
|
|
|
|
/**
|
|
PointBase
|
|
*/
|
|
static constexpr const char *kPointbase = "pointbase";
|
|
|
|
/**
|
|
PostgreSQL
|
|
*/
|
|
static constexpr const char *kPostgresql = "postgresql";
|
|
|
|
/**
|
|
Progress Database
|
|
*/
|
|
static constexpr const char *kProgress = "progress";
|
|
|
|
/**
|
|
Redis
|
|
*/
|
|
static constexpr const char *kRedis = "redis";
|
|
|
|
/**
|
|
Amazon Redshift
|
|
*/
|
|
static constexpr const char *kRedshift = "redshift";
|
|
|
|
/**
|
|
Cloud Spanner
|
|
*/
|
|
static constexpr const char *kSpanner = "spanner";
|
|
|
|
/**
|
|
SQLite
|
|
*/
|
|
static constexpr const char *kSqlite = "sqlite";
|
|
|
|
/**
|
|
Sybase
|
|
*/
|
|
static constexpr const char *kSybase = "sybase";
|
|
|
|
/**
|
|
Teradata
|
|
*/
|
|
static constexpr const char *kTeradata = "teradata";
|
|
|
|
/**
|
|
Trino
|
|
*/
|
|
static constexpr const char *kTrino = "trino";
|
|
|
|
/**
|
|
Vertica
|
|
*/
|
|
static constexpr const char *kVertica = "vertica";
|
|
|
|
} // namespace DbSystemValues
|
|
|
|
namespace DbSystemNameValues
|
|
{
|
|
/**
|
|
Some other SQL database. Fallback only.
|
|
*/
|
|
static constexpr const char *kOtherSql = "other_sql";
|
|
|
|
/**
|
|
<a href="https://documentation.softwareag.com/?pf=adabas">Adabas (Adaptable Database System)</a>
|
|
*/
|
|
static constexpr const char *kSoftwareagAdabas = "softwareag.adabas";
|
|
|
|
/**
|
|
<a href="https://www.actian.com/databases/ingres/">Actian Ingres</a>
|
|
*/
|
|
static constexpr const char *kActianIngres = "actian.ingres";
|
|
|
|
/**
|
|
<a href="https://aws.amazon.com/pm/dynamodb/">Amazon DynamoDB</a>
|
|
*/
|
|
static constexpr const char *kAwsDynamodb = "aws.dynamodb";
|
|
|
|
/**
|
|
<a href="https://aws.amazon.com/redshift/">Amazon Redshift</a>
|
|
*/
|
|
static constexpr const char *kAwsRedshift = "aws.redshift";
|
|
|
|
/**
|
|
<a href="https://learn.microsoft.com/azure/cosmos-db">Azure Cosmos DB</a>
|
|
*/
|
|
static constexpr const char *kAzureCosmosdb = "azure.cosmosdb";
|
|
|
|
/**
|
|
<a href="https://www.intersystems.com/products/cache/">InterSystems Caché</a>
|
|
*/
|
|
static constexpr const char *kIntersystemsCache = "intersystems.cache";
|
|
|
|
/**
|
|
<a href="https://cassandra.apache.org/">Apache Cassandra</a>
|
|
*/
|
|
static constexpr const char *kCassandra = "cassandra";
|
|
|
|
/**
|
|
<a href="https://clickhouse.com/">ClickHouse</a>
|
|
*/
|
|
static constexpr const char *kClickhouse = "clickhouse";
|
|
|
|
/**
|
|
<a href="https://www.cockroachlabs.com/">CockroachDB</a>
|
|
*/
|
|
static constexpr const char *kCockroachdb = "cockroachdb";
|
|
|
|
/**
|
|
<a href="https://www.couchbase.com/">Couchbase</a>
|
|
*/
|
|
static constexpr const char *kCouchbase = "couchbase";
|
|
|
|
/**
|
|
<a href="https://couchdb.apache.org/">Apache CouchDB</a>
|
|
*/
|
|
static constexpr const char *kCouchdb = "couchdb";
|
|
|
|
/**
|
|
<a href="https://db.apache.org/derby/">Apache Derby</a>
|
|
*/
|
|
static constexpr const char *kDerby = "derby";
|
|
|
|
/**
|
|
<a href="https://www.elastic.co/elasticsearch">Elasticsearch</a>
|
|
*/
|
|
static constexpr const char *kElasticsearch = "elasticsearch";
|
|
|
|
/**
|
|
<a href="https://www.firebirdsql.org/">Firebird</a>
|
|
*/
|
|
static constexpr const char *kFirebirdsql = "firebirdsql";
|
|
|
|
/**
|
|
<a href="https://cloud.google.com/spanner">Google Cloud Spanner</a>
|
|
*/
|
|
static constexpr const char *kGcpSpanner = "gcp.spanner";
|
|
|
|
/**
|
|
<a href="https://geode.apache.org/">Apache Geode</a>
|
|
*/
|
|
static constexpr const char *kGeode = "geode";
|
|
|
|
/**
|
|
<a href="https://h2database.com/">H2 Database</a>
|
|
*/
|
|
static constexpr const char *kH2database = "h2database";
|
|
|
|
/**
|
|
<a href="https://hbase.apache.org/">Apache HBase</a>
|
|
*/
|
|
static constexpr const char *kHbase = "hbase";
|
|
|
|
/**
|
|
<a href="https://hive.apache.org/">Apache Hive</a>
|
|
*/
|
|
static constexpr const char *kHive = "hive";
|
|
|
|
/**
|
|
<a href="https://hsqldb.org/">HyperSQL Database</a>
|
|
*/
|
|
static constexpr const char *kHsqldb = "hsqldb";
|
|
|
|
/**
|
|
<a href="https://www.ibm.com/db2">IBM Db2</a>
|
|
*/
|
|
static constexpr const char *kIbmDb2 = "ibm.db2";
|
|
|
|
/**
|
|
<a href="https://www.ibm.com/products/informix">IBM Informix</a>
|
|
*/
|
|
static constexpr const char *kIbmInformix = "ibm.informix";
|
|
|
|
/**
|
|
<a href="https://www.ibm.com/products/netezza">IBM Netezza</a>
|
|
*/
|
|
static constexpr const char *kIbmNetezza = "ibm.netezza";
|
|
|
|
/**
|
|
<a href="https://www.influxdata.com/">InfluxDB</a>
|
|
*/
|
|
static constexpr const char *kInfluxdb = "influxdb";
|
|
|
|
/**
|
|
<a href="https://www.instantdb.com/">Instant</a>
|
|
*/
|
|
static constexpr const char *kInstantdb = "instantdb";
|
|
|
|
/**
|
|
<a href="https://mariadb.org/">MariaDB</a>
|
|
*/
|
|
static constexpr const char *kMariadb = "mariadb";
|
|
|
|
/**
|
|
<a href="https://memcached.org/">Memcached</a>
|
|
*/
|
|
static constexpr const char *kMemcached = "memcached";
|
|
|
|
/**
|
|
<a href="https://www.mongodb.com/">MongoDB</a>
|
|
*/
|
|
static constexpr const char *kMongodb = "mongodb";
|
|
|
|
/**
|
|
<a href="https://www.microsoft.com/sql-server">Microsoft SQL Server</a>
|
|
*/
|
|
static constexpr const char *kMicrosoftSqlServer = "microsoft.sql_server";
|
|
|
|
/**
|
|
<a href="https://www.mysql.com/">MySQL</a>
|
|
*/
|
|
static constexpr const char *kMysql = "mysql";
|
|
|
|
/**
|
|
<a href="https://neo4j.com/">Neo4j</a>
|
|
*/
|
|
static constexpr const char *kNeo4j = "neo4j";
|
|
|
|
/**
|
|
<a href="https://opensearch.org/">OpenSearch</a>
|
|
*/
|
|
static constexpr const char *kOpensearch = "opensearch";
|
|
|
|
/**
|
|
<a href="https://www.oracle.com/database/">Oracle Database</a>
|
|
*/
|
|
static constexpr const char *kOracleDb = "oracle.db";
|
|
|
|
/**
|
|
<a href="https://www.postgresql.org/">PostgreSQL</a>
|
|
*/
|
|
static constexpr const char *kPostgresql = "postgresql";
|
|
|
|
/**
|
|
<a href="https://redis.io/">Redis</a>
|
|
*/
|
|
static constexpr const char *kRedis = "redis";
|
|
|
|
/**
|
|
<a href="https://www.sap.com/products/technology-platform/hana/what-is-sap-hana.html">SAP HANA</a>
|
|
*/
|
|
static constexpr const char *kSapHana = "sap.hana";
|
|
|
|
/**
|
|
<a href="https://maxdb.sap.com/">SAP MaxDB</a>
|
|
*/
|
|
static constexpr const char *kSapMaxdb = "sap.maxdb";
|
|
|
|
/**
|
|
<a href="https://www.sqlite.org/">SQLite</a>
|
|
*/
|
|
static constexpr const char *kSqlite = "sqlite";
|
|
|
|
/**
|
|
<a href="https://www.teradata.com/">Teradata</a>
|
|
*/
|
|
static constexpr const char *kTeradata = "teradata";
|
|
|
|
/**
|
|
<a href="https://trino.io/">Trino</a>
|
|
*/
|
|
static constexpr const char *kTrino = "trino";
|
|
|
|
} // namespace DbSystemNameValues
|
|
|
|
} // namespace db
|
|
} // namespace semconv
|
|
OPENTELEMETRY_END_NAMESPACE
|