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
Copy file name to clipboardExpand all lines: plugins/node/opentelemetry-instrumentation-oracledb/src/semconv.ts
+46-6Lines changed: 46 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -24,14 +24,15 @@
24
24
exportconstATTR_DB_SYSTEM='db.system.name';
25
25
26
26
/**
27
-
* The servicename associated with the connection.
27
+
* The database associated with the connection, qualified by the instance name, database name and service name.
28
28
*
29
-
* @exampleFREEPDB1
30
-
* @exampleinventory.example.org
29
+
* @exampleORCL1|PDB1|db_high.adb.oraclecloud.com
30
+
* @exampleORCL1|DB1|db_low.adb.oraclecloud.com
31
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.
32
+
* @note It **SHOULD** be set to the combination of instance name, database name and
33
+
* service name following the `{instance_name}|{database_name}|{service_name}` pattern.
34
+
* For CDB architecture, database name would be pdb name. For Non-CDB, it would be
35
+
* **DB_NAME** parameter.
35
36
* This attribute has stability level RELEASE CANDIDATE.
36
37
*
37
38
* @experimental This attribute is experimental and is subject to breaking changes in minor releases of `@opentelemetry/semantic-conventions`.
0 commit comments