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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128
|
/*
* 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
{
static constexpr const char *kAll = "all";
static constexpr const char *kEachQuorum = "each_quorum";
static constexpr const char *kQuorum = "quorum";
static constexpr const char *kLocalQuorum = "local_quorum";
static constexpr const char *kOne = "one";
static constexpr const char *kTwo = "two";
static constexpr const char *kThree = "three";
static constexpr const char *kLocalOne = "local_one";
static constexpr const char *kAny = "any";
static constexpr const char *kSerial = "serial";
static constexpr const char *kLocalSerial = "local_serial";
} // namespace DbCassandraConsistencyLevelValues
namespace DbClientConnectionStateValues
{
static constexpr const char *kIdle = "idle";
static constexpr const char *kUsed = "used";
} // namespace DbClientConnectionStateValues
namespace DbClientConnectionsStateValues
{
static constexpr const char *kIdle = "idle";
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
{
static constexpr const char *kStrong = "Strong";
static constexpr const char *kBoundedStaleness = "BoundedStaleness";
static constexpr const char *kSession = "Session";
static constexpr const char *kEventual = "Eventual";
static constexpr const char *kConsistentPrefix = "ConsistentPrefix";
} // namespace DbCosmosdbConsistencyLevelValues
namespace DbCosmosdbOperationTypeValues
{
static constexpr const char *kBatch = "batch";
static constexpr const char *kCreate = "create";
static constexpr const char *kDelete = "delete";
static constexpr const char *kExecute = "execute";
static constexpr const char *kExecuteJavascript = "execute_javascript";
static constexpr const char *kInvalid = "invalid";
static constexpr const char *kHead = "head";
static constexpr const char *kHeadFeed = "head_feed";
static constexpr const char *kPatch = "patch";
static constexpr const char *kQuery = "query";
static constexpr const char *kQueryPlan = "query_plan";
static constexpr const char *kRead = "read";
static constexpr const char *kReadFeed = "read_feed";
static constexpr const char *kReplace = "replace";
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.
@deprecated
{"note": "Replaced by @code intersystems_cache @endcode.", "reason": "renamed", "renamed_to":
"intersystems_cache"}
*/
OPENTELEMETRY_DEPRECATED 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.
@deprecated
{"note": "Replaced by @code other_sql @endcode.", "reason": "renamed", "renamed_to": "other_sql"}
*/
OPENTELEMETRY_DEPRECATED static constexpr const char *kCloudscape = "cloudscape";
/**
CockroachDB
*/
static constexpr const char *kCockroachdb = "cockroachdb";
/**
Deprecated, no replacement at this time.
@deprecated
{"note": "Obsoleted.", "reason": "obsoleted"}
*/
OPENTELEMETRY_DEPRECATED 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.
@deprecated
{"note": "Replaced by @code other_sql @endcode.", "reason": "renamed", "renamed_to": "other_sql"}
*/
OPENTELEMETRY_DEPRECATED 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.
@deprecated
{"note": "Replaced by @code other_sql @endcode.", "reason": "renamed", "renamed_to": "other_sql"}
*/
OPENTELEMETRY_DEPRECATED 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
|