/* * 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 cassandra { /** The consistency level of the query. Based on consistency values from CQL. */ static constexpr const char *kCassandraConsistencyLevel = "cassandra.consistency.level"; /** The data center of the coordinating node for a query. */ static constexpr const char *kCassandraCoordinatorDc = "cassandra.coordinator.dc"; /** The ID of the coordinating node for a query. */ static constexpr const char *kCassandraCoordinatorId = "cassandra.coordinator.id"; /** The fetch size used for paging, i.e. how many rows will be returned at once. */ static constexpr const char *kCassandraPageSize = "cassandra.page.size"; /** Whether or not the query is idempotent. */ static constexpr const char *kCassandraQueryIdempotent = "cassandra.query.idempotent"; /** The number of times a query was speculatively executed. Not set or @code 0 @endcode if the query was not executed speculatively. */ static constexpr const char *kCassandraSpeculativeExecutionCount = "cassandra.speculative_execution.count"; namespace CassandraConsistencyLevelValues { /** 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 CassandraConsistencyLevelValues } // namespace cassandra } // namespace semconv OPENTELEMETRY_END_NAMESPACE