File: cassandra_attributes.h

package info (click to toggle)
opentelemetry-cpp 1.23.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,372 kB
  • sloc: cpp: 96,239; sh: 1,766; makefile: 36; python: 31
file content (116 lines) | stat: -rw-r--r-- 2,433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
/*
 * 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 <a
  href="https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/dml/dmlConfigConsistency.html">CQL</a>.
 */
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
{
/**
  All
 */
static constexpr const char *kAll = "all";

/**
  Each Quorum
 */
static constexpr const char *kEachQuorum = "each_quorum";

/**
  Quorum
 */
static constexpr const char *kQuorum = "quorum";

/**
  Local Quorum
 */
static constexpr const char *kLocalQuorum = "local_quorum";

/**
  One
 */
static constexpr const char *kOne = "one";

/**
  Two
 */
static constexpr const char *kTwo = "two";

/**
  Three
 */
static constexpr const char *kThree = "three";

/**
  Local One
 */
static constexpr const char *kLocalOne = "local_one";

/**
  Any
 */
static constexpr const char *kAny = "any";

/**
  Serial
 */
static constexpr const char *kSerial = "serial";

/**
  Local Serial
 */
static constexpr const char *kLocalSerial = "local_serial";

}  // namespace CassandraConsistencyLevelValues

}  // namespace cassandra
}  // namespace semconv
OPENTELEMETRY_END_NAMESPACE