-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathDbIncubatingAttributes.java
More file actions
1061 lines (868 loc) · 35 KB
/
DbIncubatingAttributes.java
File metadata and controls
1061 lines (868 loc) · 35 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* 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.doubleKey;
import static io.opentelemetry.api.common.AttributeKey.longKey;
import static io.opentelemetry.api.common.AttributeKey.stringArrayKey;
import static io.opentelemetry.api.common.AttributeKey.stringKey;
import static io.opentelemetry.semconv.AttributeKeyTemplate.stringKeyTemplate;
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.semconv.AttributeKeyTemplate;
import java.util.List;
// DO NOT EDIT, this is an Auto-generated file from
// buildscripts/templates/registry/incubating_java/IncubatingSemanticAttributes.java.j2
@SuppressWarnings("unused")
public final class DbIncubatingAttributes {
/**
* Deprecated, use {@code cassandra.consistency.level} instead.
*
* @deprecated Replaced by {@code cassandra.consistency.level}.
*/
@Deprecated
public static final AttributeKey<String> DB_CASSANDRA_CONSISTENCY_LEVEL =
stringKey("db.cassandra.consistency_level");
/**
* Deprecated, use {@code cassandra.coordinator.dc} instead.
*
* @deprecated Replaced by {@code cassandra.coordinator.dc}.
*/
@Deprecated
public static final AttributeKey<String> DB_CASSANDRA_COORDINATOR_DC =
stringKey("db.cassandra.coordinator.dc");
/**
* Deprecated, use {@code cassandra.coordinator.id} instead.
*
* @deprecated Replaced by {@code cassandra.coordinator.id}.
*/
@Deprecated
public static final AttributeKey<String> DB_CASSANDRA_COORDINATOR_ID =
stringKey("db.cassandra.coordinator.id");
/**
* Deprecated, use {@code cassandra.query.idempotent} instead.
*
* @deprecated Replaced by {@code cassandra.query.idempotent}.
*/
@Deprecated
public static final AttributeKey<Boolean> DB_CASSANDRA_IDEMPOTENCE =
booleanKey("db.cassandra.idempotence");
/**
* Deprecated, use {@code cassandra.page.size} instead.
*
* @deprecated Replaced by {@code cassandra.page.size}.
*/
@Deprecated
public static final AttributeKey<Long> DB_CASSANDRA_PAGE_SIZE = longKey("db.cassandra.page_size");
/**
* Deprecated, use {@code cassandra.speculative_execution.count} instead.
*
* @deprecated Replaced by {@code cassandra.speculative_execution.count}.
*/
@Deprecated
public static final AttributeKey<Long> DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT =
longKey("db.cassandra.speculative_execution_count");
/**
* Deprecated, use {@code db.collection.name} instead.
*
* @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated
public static final AttributeKey<String> DB_CASSANDRA_TABLE = stringKey("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}, {@code server.port}, and {@code db.namespace}, formatted as {@code
* server.address:server.port/db.namespace}. Instrumentations that generate connection pool name
* following different patterns SHOULD document it.
*/
public static final AttributeKey<String> DB_CLIENT_CONNECTION_POOL_NAME =
stringKey("db.client.connection.pool.name");
/** The state of a connection in the pool */
public static final AttributeKey<String> DB_CLIENT_CONNECTION_STATE =
stringKey("db.client.connection.state");
/**
* Deprecated, use {@code db.client.connection.pool.name} instead.
*
* @deprecated Replaced by {@code db.client.connection.pool.name}.
*/
@Deprecated
public static final AttributeKey<String> DB_CLIENT_CONNECTIONS_POOL_NAME =
stringKey("db.client.connections.pool.name");
/**
* Deprecated, use {@code db.client.connection.state} instead.
*
* @deprecated Replaced by {@code db.client.connection.state}.
*/
@Deprecated
public static final AttributeKey<String> DB_CLIENT_CONNECTIONS_STATE =
stringKey("db.client.connections.state");
/**
* The name of a collection (table, container) within the database.
*
* <p>Notes:
*
* <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}, 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.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_COLLECTION_NAME} attribute.
*/
@Deprecated
public static final AttributeKey<String> DB_COLLECTION_NAME = stringKey("db.collection.name");
/**
* Deprecated, use {@code server.address}, {@code server.port} attributes instead.
*
* @deprecated Replaced by {@code server.address} and {@code server.port}.
*/
@Deprecated
public static final AttributeKey<String> DB_CONNECTION_STRING = stringKey("db.connection_string");
/**
* Deprecated, use {@code azure.client.id} instead.
*
* @deprecated Replaced by {@code azure.client.id}.
*/
@Deprecated
public static final AttributeKey<String> DB_COSMOSDB_CLIENT_ID =
stringKey("db.cosmosdb.client_id");
/**
* Deprecated, use {@code azure.cosmosdb.connection.mode} instead.
*
* @deprecated Replaced by {@code azure.cosmosdb.connection.mode}.
*/
@Deprecated
public static final AttributeKey<String> DB_COSMOSDB_CONNECTION_MODE =
stringKey("db.cosmosdb.connection_mode");
/**
* Deprecated, use {@code cosmosdb.consistency.level} instead.
*
* @deprecated Replaced by {@code azure.cosmosdb.consistency.level}.
*/
@Deprecated
public static final AttributeKey<String> DB_COSMOSDB_CONSISTENCY_LEVEL =
stringKey("db.cosmosdb.consistency_level");
/**
* Deprecated, use {@code db.collection.name} instead.
*
* @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated
public static final AttributeKey<String> DB_COSMOSDB_CONTAINER =
stringKey("db.cosmosdb.container");
/**
* Deprecated, no replacement at this time.
*
* @deprecated Removed, no replacement at this time.
*/
@Deprecated
public static final AttributeKey<String> DB_COSMOSDB_OPERATION_TYPE =
stringKey("db.cosmosdb.operation_type");
/**
* Deprecated, use {@code azure.cosmosdb.operation.contacted_regions} instead.
*
* @deprecated Replaced by {@code azure.cosmosdb.operation.contacted_regions}.
*/
@Deprecated
public static final AttributeKey<List<String>> DB_COSMOSDB_REGIONS_CONTACTED =
stringArrayKey("db.cosmosdb.regions_contacted");
/**
* Deprecated, use {@code azure.cosmosdb.operation.request_charge} instead.
*
* @deprecated Replaced by {@code azure.cosmosdb.operation.request_charge}.
*/
@Deprecated
public static final AttributeKey<Double> DB_COSMOSDB_REQUEST_CHARGE =
doubleKey("db.cosmosdb.request_charge");
/**
* Deprecated, use {@code azure.cosmosdb.request.body.size} instead.
*
* @deprecated Replaced by {@code azure.cosmosdb.request.body.size}.
*/
@Deprecated
public static final AttributeKey<Long> DB_COSMOSDB_REQUEST_CONTENT_LENGTH =
longKey("db.cosmosdb.request_content_length");
/**
* Deprecated, use {@code db.response.status_code} instead.
*
* @deprecated Use {@code db.response.status_code} instead.
*/
@Deprecated
public static final AttributeKey<Long> DB_COSMOSDB_STATUS_CODE =
longKey("db.cosmosdb.status_code");
/**
* Deprecated, use {@code azure.cosmosdb.response.sub_status_code} instead.
*
* @deprecated Replaced by {@code azure.cosmosdb.response.sub_status_code}.
*/
@Deprecated
public static final AttributeKey<Long> DB_COSMOSDB_SUB_STATUS_CODE =
longKey("db.cosmosdb.sub_status_code");
/**
* Deprecated, use {@code db.namespace} instead.
*
* @deprecated Replaced by {@code db.namespace}.
*/
@Deprecated
public static final AttributeKey<String> DB_ELASTICSEARCH_CLUSTER_NAME =
stringKey("db.elasticsearch.cluster.name");
/**
* Deprecated, use {@code elasticsearch.node.name} instead.
*
* @deprecated Replaced by {@code elasticsearch.node.name}.
*/
@Deprecated
public static final AttributeKey<String> DB_ELASTICSEARCH_NODE_NAME =
stringKey("db.elasticsearch.node.name");
/**
* Deprecated, use {@code db.operation.parameter} instead.
*
* @deprecated Replaced by {@code db.operation.parameter}.
*/
@Deprecated
public static final AttributeKeyTemplate<String> DB_ELASTICSEARCH_PATH_PARTS =
stringKeyTemplate("db.elasticsearch.path_parts");
/**
* Deprecated, no general replacement at this time. For Elasticsearch, use {@code
* db.elasticsearch.node.name} instead.
*
* @deprecated Removed, no general replacement at this time. For Elasticsearch, use {@code
* db.elasticsearch.node.name} instead.
*/
@Deprecated public static final AttributeKey<String> DB_INSTANCE_ID = stringKey("db.instance.id");
/**
* Removed, no replacement at this time.
*
* @deprecated Removed, no replacement at this time.
*/
@Deprecated
public static final AttributeKey<String> DB_JDBC_DRIVER_CLASSNAME =
stringKey("db.jdbc.driver_classname");
/**
* Deprecated, use {@code db.collection.name} instead.
*
* @deprecated Replaced by {@code db.collection.name}.
*/
@Deprecated
public static final AttributeKey<String> DB_MONGODB_COLLECTION =
stringKey("db.mongodb.collection");
/**
* Deprecated, SQL Server instance is now populated as a part of {@code db.namespace} attribute.
*
* @deprecated Removed, no replacement at this time.
*/
@Deprecated
public static final AttributeKey<String> DB_MSSQL_INSTANCE_NAME =
stringKey("db.mssql.instance_name");
/**
* Deprecated, use {@code db.namespace} instead.
*
* @deprecated Replaced by {@code db.namespace}.
*/
@Deprecated public static final AttributeKey<String> DB_NAME = stringKey("db.name");
/**
* The name of the database, fully qualified within the server address and port.
*
* <p>Notes:
*
* <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 |} 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}
* 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.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_NAMESPACE} attribute.
*/
@Deprecated public static final AttributeKey<String> DB_NAMESPACE = stringKey("db.namespace");
/**
* Deprecated, use {@code db.operation.name} instead.
*
* @deprecated Replaced by {@code db.operation.name}.
*/
@Deprecated public static final AttributeKey<String> DB_OPERATION = stringKey("db.operation");
/**
* The number of queries included in a batch operation.
*
* <p>Notes:
*
* <p>Operations are only considered batches when they contain two or more operations, and so
* {@code db.operation.batch.size} SHOULD never be {@code 1}.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_OPERATION_BATCH_SIZE} attribute.
*/
@Deprecated
public static final AttributeKey<Long> DB_OPERATION_BATCH_SIZE =
longKey("db.operation.batch.size");
/**
* The name of the operation or command being executed.
*
* <p>Notes:
*
* <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}, 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 }, otherwise {@code
* db.operation.name} SHOULD be {@code BATCH} or some other database system specific term if more
* applicable.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_OPERATION_NAME} attribute.
*/
@Deprecated
public static final AttributeKey<String> DB_OPERATION_NAME = stringKey("db.operation.name");
/**
* A database operation parameter, with {@code <key>} being the parameter name, and the attribute
* value being a string representation of the parameter value.
*
* <p>Notes:
*
* <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} attribute.
*
* <p>{@code db.query.text} parameters SHOULD be captured using {@code db.query.parameter.<key>}
* instead of {@code db.operation.parameter.<key>}.
*/
public static final AttributeKeyTemplate<String> DB_OPERATION_PARAMETER =
stringKeyTemplate("db.operation.parameter");
/**
* A database query parameter, with {@code <key>} being the parameter name, and the attribute
* value being a string representation of the parameter value.
*
* <p>Notes:
*
* <p>If a query parameter has no name and instead is referenced only by index, then {@code <key>}
* SHOULD be the 0-based index.
*
* <p>{@code db.query.parameter.<key>} SHOULD match up with the parameterized placeholders present
* in {@code db.query.text}.
*
* <p>It is RECOMMENDED to capture the value as provided by the application without attempting to
* do any case normalization.
*
* <p>{@code db.query.parameter.<key>} SHOULD NOT be captured on batch operations.
*
* <p>Examples:
*
* <ul>
* <li>For a query {@code SELECT * FROM users where username = %s} with the parameter {@code
* "jdoe"}, the attribute {@code db.query.parameter.0} SHOULD be set to {@code "jdoe"}.
* <li>For a query {@code "SELECT * FROM users WHERE username = %(userName)s;} with parameter
* {@code userName = "jdoe"}, the attribute {@code db.query.parameter.userName} SHOULD be
* set to {@code "jdoe"}.
* </ul>
*/
public static final AttributeKeyTemplate<String> DB_QUERY_PARAMETER =
stringKeyTemplate("db.query.parameter");
/**
* Low cardinality summary of a database query.
*
* <p>Notes:
*
* <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/db/database-spans.md#generating-a-summary-of-the-query">Generating query
* summary</a> section.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_QUERY_SUMMARY} attribute.
*/
@Deprecated
public static final AttributeKey<String> DB_QUERY_SUMMARY = stringKey("db.query.summary");
/**
* The database query being executed.
*
* <p>Notes:
*
* <p>For sanitization see <a
* href="/docs/db/database-spans.md#sanitization-of-dbquerytext">Sanitization of {@code
* db.query.text}</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 ; } 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.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_QUERY_TEXT} attribute.
*/
@Deprecated public static final AttributeKey<String> DB_QUERY_TEXT = stringKey("db.query.text");
/**
* Deprecated, use {@code db.namespace} instead.
*
* @deprecated
*/
@Deprecated
public static final AttributeKey<Long> DB_REDIS_DATABASE_INDEX =
longKey("db.redis.database_index");
/** Number of rows returned by the operation. */
public static final AttributeKey<Long> DB_RESPONSE_RETURNED_ROWS =
longKey("db.response.returned_rows");
/**
* Database response status code.
*
* <p>Notes:
*
* <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} means in the context of that system.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_RESPONSE_STATUS_CODE} attribute.
*/
@Deprecated
public static final AttributeKey<String> DB_RESPONSE_STATUS_CODE =
stringKey("db.response.status_code");
/**
* Deprecated, use {@code db.collection.name} instead.
*
* @deprecated Replaced by {@code db.collection.name}, but only if not extracting the value from
* {@code db.query.text}.
*/
@Deprecated public static final AttributeKey<String> DB_SQL_TABLE = stringKey("db.sql.table");
/**
* The database statement being executed.
*
* @deprecated Replaced by {@code db.query.text}.
*/
@Deprecated public static final AttributeKey<String> DB_STATEMENT = stringKey("db.statement");
/**
* The name of a stored procedure within the database.
*
* <p>Notes:
*
* <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.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_STORED_PROCEDURE_NAME} attribute.
*/
@Deprecated
public static final AttributeKey<String> DB_STORED_PROCEDURE_NAME =
stringKey("db.stored_procedure.name");
/**
* Deprecated, use {@code db.system.name} instead.
*
* @deprecated Replaced by {@code db.system.name}.
*/
@Deprecated public static final AttributeKey<String> DB_SYSTEM = stringKey("db.system");
/**
* The database management system (DBMS) product as identified by the client instrumentation.
*
* <p>Notes:
*
* <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} is set to
* {@code postgresql} based on the instrumentation's best knowledge.
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes#DB_SYSTEM_NAME} attribute.
*/
@Deprecated public static final AttributeKey<String> DB_SYSTEM_NAME = stringKey("db.system.name");
/**
* Deprecated, no replacement at this time.
*
* @deprecated Removed, no replacement at this time.
*/
@Deprecated public static final AttributeKey<String> DB_USER = stringKey("db.user");
// Enum definitions
/**
* Values for {@link #DB_CASSANDRA_CONSISTENCY_LEVEL}
*
* @deprecated Replaced by {@code cassandra.consistency.level}.
*/
@Deprecated
public static final class DbCassandraConsistencyLevelIncubatingValues {
/** 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 DbCassandraConsistencyLevelIncubatingValues() {}
}
/** Values for {@link #DB_CLIENT_CONNECTION_STATE}. */
public static final class DbClientConnectionStateIncubatingValues {
/** idle. */
public static final String IDLE = "idle";
/** used. */
public static final String USED = "used";
private DbClientConnectionStateIncubatingValues() {}
}
/**
* Values for {@link #DB_CLIENT_CONNECTIONS_STATE}
*
* @deprecated Replaced by {@code db.client.connection.state}.
*/
@Deprecated
public static final class DbClientConnectionsStateIncubatingValues {
/** idle. */
public static final String IDLE = "idle";
/** used. */
public static final String USED = "used";
private DbClientConnectionsStateIncubatingValues() {}
}
/**
* Values for {@link #DB_COSMOSDB_CONNECTION_MODE}
*
* @deprecated Replaced by {@code azure.cosmosdb.connection.mode}.
*/
@Deprecated
public static final class DbCosmosdbConnectionModeIncubatingValues {
/** Gateway (HTTP) connection. */
public static final String GATEWAY = "gateway";
/** Direct connection. */
public static final String DIRECT = "direct";
private DbCosmosdbConnectionModeIncubatingValues() {}
}
/**
* Values for {@link #DB_COSMOSDB_CONSISTENCY_LEVEL}
*
* @deprecated Replaced by {@code azure.cosmosdb.consistency.level}.
*/
@Deprecated
public static final class DbCosmosdbConsistencyLevelIncubatingValues {
/** strong. */
public static final String STRONG = "Strong";
/** bounded_staleness. */
public static final String BOUNDED_STALENESS = "BoundedStaleness";
/** session. */
public static final String SESSION = "Session";
/** eventual. */
public static final String EVENTUAL = "Eventual";
/** consistent_prefix. */
public static final String CONSISTENT_PREFIX = "ConsistentPrefix";
private DbCosmosdbConsistencyLevelIncubatingValues() {}
}
/**
* Values for {@link #DB_COSMOSDB_OPERATION_TYPE}
*
* @deprecated Removed, no replacement at this time.
*/
@Deprecated
public static final class DbCosmosdbOperationTypeIncubatingValues {
/** batch. */
public static final String BATCH = "batch";
/** create. */
public static final String CREATE = "create";
/** delete. */
public static final String DELETE = "delete";
/** execute. */
public static final String EXECUTE = "execute";
/** execute_javascript. */
public static final String EXECUTE_JAVASCRIPT = "execute_javascript";
/** invalid. */
public static final String INVALID = "invalid";
/** head. */
public static final String HEAD = "head";
/** head_feed. */
public static final String HEAD_FEED = "head_feed";
/** patch. */
public static final String PATCH = "patch";
/** query. */
public static final String QUERY = "query";
/** query_plan. */
public static final String QUERY_PLAN = "query_plan";
/** read. */
public static final String READ = "read";
/** read_feed. */
public static final String READ_FEED = "read_feed";
/** replace. */
public static final String REPLACE = "replace";
/** upsert. */
public static final String UPSERT = "upsert";
private DbCosmosdbOperationTypeIncubatingValues() {}
}
/**
* Values for {@link #DB_SYSTEM}
*
* @deprecated Replaced by {@code db.system.name}.
*/
@Deprecated
public static final class DbSystemIncubatingValues {
/** Some other SQL database. Fallback only. See notes. */
public static final String OTHER_SQL = "other_sql";
/** Adabas (Adaptable Database System) */
public static final String ADABAS = "adabas";
/**
* Deprecated, use {@code intersystems_cache} instead.
*
* @deprecated Replaced by {@code intersystems_cache}.
*/
@Deprecated public static final String CACHE = "cache";
/** InterSystems Caché */
public static final String INTERSYSTEMS_CACHE = "intersystems_cache";
/** Apache Cassandra */
public static final String CASSANDRA = "cassandra";
/** ClickHouse */
public static final String CLICKHOUSE = "clickhouse";
/**
* Deprecated, use {@code other_sql} instead.
*
* @deprecated Replaced by {@code other_sql}.
*/
@Deprecated public static final String CLOUDSCAPE = "cloudscape";
/** CockroachDB */
public static final String COCKROACHDB = "cockroachdb";
/**
* Deprecated, no replacement at this time.
*
* @deprecated Obsoleted.
*/
@Deprecated public static final String COLDFUSION = "coldfusion";
/** Microsoft Azure Cosmos DB */
public static final String COSMOSDB = "cosmosdb";
/** Couchbase */
public static final String COUCHBASE = "couchbase";
/** CouchDB */
public static final String COUCHDB = "couchdb";
/** IBM Db2 */
public static final String DB2 = "db2";
/** Apache Derby */
public static final String DERBY = "derby";
/** Amazon DynamoDB */
public static final String DYNAMODB = "dynamodb";
/** EnterpriseDB */
public static final String EDB = "edb";
/** Elasticsearch */
public static final String ELASTICSEARCH = "elasticsearch";
/** FileMaker */
public static final String FILEMAKER = "filemaker";
/** Firebird */
public static final String FIREBIRD = "firebird";
/**
* Deprecated, use {@code other_sql} instead.
*
* @deprecated Replaced by {@code other_sql}.
*/
@Deprecated public static final String FIRSTSQL = "firstsql";
/** Apache Geode */
public static final String GEODE = "geode";
/** H2 */
public static final String H2 = "h2";
/** SAP HANA */
public static final String HANADB = "hanadb";
/** Apache HBase */
public static final String HBASE = "hbase";
/** Apache Hive */
public static final String HIVE = "hive";
/** HyperSQL DataBase */
public static final String HSQLDB = "hsqldb";
/** InfluxDB */
public static final String INFLUXDB = "influxdb";
/** Informix */
public static final String INFORMIX = "informix";
/** Ingres */
public static final String INGRES = "ingres";
/** InstantDB */
public static final String INSTANTDB = "instantdb";
/** InterBase */
public static final String INTERBASE = "interbase";
/** MariaDB */
public static final String MARIADB = "mariadb";
/** SAP MaxDB */
public static final String MAXDB = "maxdb";
/** Memcached */
public static final String MEMCACHED = "memcached";
/** MongoDB */
public static final String MONGODB = "mongodb";
/** Microsoft SQL Server */
public static final String MSSQL = "mssql";
/**
* Deprecated, Microsoft SQL Server Compact is discontinued.
*
* @deprecated Replaced by {@code other_sql}.
*/
@Deprecated public static final String MSSQLCOMPACT = "mssqlcompact";
/** MySQL */
public static final String MYSQL = "mysql";
/** Neo4j */
public static final String NEO4J = "neo4j";
/** Netezza */
public static final String NETEZZA = "netezza";
/** OpenSearch */
public static final String OPENSEARCH = "opensearch";
/** Oracle Database */
public static final String ORACLE = "oracle";
/** Pervasive PSQL */
public static final String PERVASIVE = "pervasive";
/** PointBase */
public static final String POINTBASE = "pointbase";
/** PostgreSQL */
public static final String POSTGRESQL = "postgresql";
/** Progress Database */
public static final String PROGRESS = "progress";
/** Redis */
public static final String REDIS = "redis";
/** Amazon Redshift */
public static final String REDSHIFT = "redshift";
/** Cloud Spanner */
public static final String SPANNER = "spanner";
/** SQLite */
public static final String SQLITE = "sqlite";
/** Sybase */
public static final String SYBASE = "sybase";
/** Teradata */
public static final String TERADATA = "teradata";
/** Trino */
public static final String TRINO = "trino";
/** Vertica */
public static final String VERTICA = "vertica";
private DbSystemIncubatingValues() {}
}
/** Values for {@link #DB_SYSTEM_NAME}. */
public static final class DbSystemNameIncubatingValues {
/** Some other SQL database. Fallback only. */
public static final String OTHER_SQL = "other_sql";
/**
* <a href="https://documentation.softwareag.com/?pf=adabas">Adabas (Adaptable Database
* System)</a>
*/
public static final String SOFTWAREAG_ADABAS = "softwareag.adabas";
/** <a href="https://www.actian.com/databases/ingres/">Actian Ingres</a> */
public static final String ACTIAN_INGRES = "actian.ingres";
/** <a href="https://aws.amazon.com/pm/dynamodb/">Amazon DynamoDB</a> */
public static final String AWS_DYNAMODB = "aws.dynamodb";
/** <a href="https://aws.amazon.com/redshift/">Amazon Redshift</a> */
public static final String AWS_REDSHIFT = "aws.redshift";
/** <a href="https://learn.microsoft.com/azure/cosmos-db">Azure Cosmos DB</a> */
public static final String AZURE_COSMOSDB = "azure.cosmosdb";
/** <a href="https://www.intersystems.com/products/cache/">InterSystems Caché</a> */
public static final String INTERSYSTEMS_CACHE = "intersystems.cache";
/** <a href="https://cassandra.apache.org/">Apache Cassandra</a> */
public static final String CASSANDRA = "cassandra";
/** <a href="https://clickhouse.com/">ClickHouse</a> */
public static final String CLICKHOUSE = "clickhouse";
/** <a href="https://www.cockroachlabs.com/">CockroachDB</a> */
public static final String COCKROACHDB = "cockroachdb";
/** <a href="https://www.couchbase.com/">Couchbase</a> */
public static final String COUCHBASE = "couchbase";
/** <a href="https://couchdb.apache.org/">Apache CouchDB</a> */
public static final String COUCHDB = "couchdb";
/** <a href="https://db.apache.org/derby/">Apache Derby</a> */
public static final String DERBY = "derby";
/** <a href="https://www.elastic.co/elasticsearch">Elasticsearch</a> */
public static final String ELASTICSEARCH = "elasticsearch";
/** <a href="https://www.firebirdsql.org/">Firebird</a> */
public static final String FIREBIRDSQL = "firebirdsql";
/** <a href="https://cloud.google.com/spanner">Google Cloud Spanner</a> */
public static final String GCP_SPANNER = "gcp.spanner";
/** <a href="https://geode.apache.org/">Apache Geode</a> */
public static final String GEODE = "geode";
/** <a href="https://h2database.com/">H2 Database</a> */
public static final String H2DATABASE = "h2database";
/** <a href="https://hbase.apache.org/">Apache HBase</a> */
public static final String HBASE = "hbase";
/** <a href="https://hive.apache.org/">Apache Hive</a> */
public static final String HIVE = "hive";
/** <a href="https://hsqldb.org/">HyperSQL Database</a> */
public static final String HSQLDB = "hsqldb";
/** <a href="https://www.ibm.com/db2">IBM Db2</a> */
public static final String IBM_DB2 = "ibm.db2";
/** <a href="https://www.ibm.com/products/informix">IBM Informix</a> */
public static final String IBM_INFORMIX = "ibm.informix";
/** <a href="https://www.ibm.com/products/netezza">IBM Netezza</a> */
public static final String IBM_NETEZZA = "ibm.netezza";
/** <a href="https://www.influxdata.com/">InfluxDB</a> */
public static final String INFLUXDB = "influxdb";
/** <a href="https://www.instantdb.com/">Instant</a> */
public static final String INSTANTDB = "instantdb";
/**
* <a href="https://mariadb.org/">MariaDB</a>
*
* @deprecated deprecated in favor of stable {@link
* io.opentelemetry.semconv.DbAttributes.DbSystemNameValues#MARIADB} value.
*/
@Deprecated public static final String MARIADB = "mariadb";
/** <a href="https://memcached.org/">Memcached</a> */
public static final String MEMCACHED = "memcached";
/** <a href="https://www.mongodb.com/">MongoDB</a> */