-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathCassandraIncubatingAttributes.java
More file actions
88 lines (65 loc) · 2.89 KB
/
CassandraIncubatingAttributes.java
File metadata and controls
88 lines (65 loc) · 2.89 KB
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
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.semconv.incubating;
import static io.opentelemetry.api.common.AttributeKey.booleanKey;
import static io.opentelemetry.api.common.AttributeKey.longKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import io.opentelemetry.api.common.AttributeKey;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class CassandraIncubatingAttributes {
/**
* 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>.
*/
public static final AttributeKey<String> CASSANDRA_CONSISTENCY_LEVEL =
stringKey("cassandra.consistency.level");
/** The data center of the coordinating node for a query. */
public static final AttributeKey<String> CASSANDRA_COORDINATOR_DC =
stringKey("cassandra.coordinator.dc");
/** The ID of the coordinating node for a query. */
public static final AttributeKey<String> CASSANDRA_COORDINATOR_ID =
stringKey("cassandra.coordinator.id");
/** The fetch size used for paging, i.e. how many rows will be returned at once. */
public static final AttributeKey<Long> CASSANDRA_PAGE_SIZE = longKey("cassandra.page.size");
/** Whether or not the query is idempotent. */
public static final AttributeKey<Boolean> CASSANDRA_QUERY_IDEMPOTENT =
booleanKey("cassandra.query.idempotent");
/**
* The number of times a query was speculatively executed. Not set or {@code 0} if the query was
* not executed speculatively.
*/
public static final AttributeKey<Long> CASSANDRA_SPECULATIVE_EXECUTION_COUNT =
longKey("cassandra.speculative_execution.count");
// Enum definitions
/** Values for {@link #CASSANDRA_CONSISTENCY_LEVEL}. */
public static final class CassandraConsistencyLevelIncubatingValues {
/** all. */
public static final String ALL = "all";
/** each_quorum. */
public static final String EACH_QUORUM = "each_quorum";
/** quorum. */
public static final String QUORUM = "quorum";
/** local_quorum. */
public static final String LOCAL_QUORUM = "local_quorum";
/** one. */
public static final String ONE = "one";
/** two. */
public static final String TWO = "two";
/** three. */
public static final String THREE = "three";
/** local_one. */
public static final String LOCAL_ONE = "local_one";
/** any. */
public static final String ANY = "any";
/** serial. */
public static final String SERIAL = "serial";
/** local_serial. */
public static final String LOCAL_SERIAL = "local_serial";
private CassandraConsistencyLevelIncubatingValues() {}
}
private CassandraIncubatingAttributes() {}
}