You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Licensed under the Apache License, Version 2.0 (the "License");
5
+
* you may not use this file except in compliance with the License.
6
+
* You may obtain a copy of the License at
7
+
*
8
+
* https://www.apache.org/licenses/LICENSE-2.0
9
+
*
10
+
* Unless required by applicable law or agreed to in writing, software
11
+
* distributed under the License is distributed on an "AS IS" BASIS,
12
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+
* See the License for the specific language governing permissions and
14
+
* limitations under the License.
15
+
*
16
+
* Copyright (c) 2024, Oracle and/or its affiliates.
17
+
* */
18
+
19
+
/**
20
+
* The database management system (DBMS) product as identified
21
+
* by the client instrumentation.
22
+
*
23
+
*/
24
+
exportconstATTR_DB_SYSTEM='db.system.name';
25
+
26
+
/**
27
+
* The name of the database, fully qualified within the server address and port.
28
+
*
29
+
* @example FREEPDB1
30
+
* @example XEPDB1
31
+
*
32
+
* @note If a database system has multiple namespace components, they **SHOULD** be concatenated (potentially using database system specific conventions) from most general to most specific namespace component, and more specific namespaces **SHOULD NOT** be captured without the more general namespaces, to ensure that "startswith" queries for the more general namespaces will be valid.
33
+
* Semantic conventions for individual database systems **SHOULD** document what `db.namespace` means in the context of that system.
34
+
* It is **RECOMMENDED** to capture the value as provided by the application without attempting to do any case normalization.
35
+
* This attribute has stability level RELEASE CANDIDATE.
36
+
*
37
+
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
38
+
*/
39
+
exportconstATTR_DB_NAMESPACE='db.namespace';
40
+
41
+
/**
42
+
* The name of the operation or command being executed.
43
+
*
44
+
* @example INSERT
45
+
* @example COMMIT
46
+
* @example SELECT
47
+
*
48
+
* @note It is **RECOMMENDED** to capture the value as provided by the application without attempting to do any case normalization.
49
+
* If the operation name is parsed from the query text, it **SHOULD** be the first operation name found in the query.
50
+
* For batch operations, if the individual operations are known to have the same operation name then that operation name **SHOULD** be used prepended by `BATCH `, otherwise `db.operation.name` **SHOULD** be `BATCH` or some other database system specific term if more applicable.
51
+
* This attribute has stability level RELEASE CANDIDATE.
52
+
*
53
+
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
0 commit comments