Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .chloggen/oracledbreceiver-cdb-first-load-time-format.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
change_type: bug_fix

component: receiver/oracledb

note: Format the `oracledb.plan.first_load` and `oracledb.plan.last_load` attributes on `db.server.top_query` events as ISO 8601 UTC timestamps when connected to a CDB root, matching the fix already applied to the non-CDB query path.

issues: [50951]

subtext:

change_logs: []
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
CASE WHEN P.OBJECT_ID IS NOT NULL THEN P.OWNER || '.' || P.OBJECT_NAME END AS PROCEDURE_NAME,
COALESCE(PE.PROC_EXECUTIONS, 0) AS PROCEDURE_EXECUTIONS,
S.COMMAND_TYPE,
S.FIRST_LOAD_TIME,
S.LAST_LOAD_TIME,
TO_CHAR(SYS_EXTRACT_UTC(FROM_TZ(TO_TIMESTAMP(S.FIRST_LOAD_TIME, 'YYYY-MM-DD/HH24:MI:SS'), DBTIMEZONE)), 'YYYY-MM-DD"T"HH24:MI:SS"Z"') AS FIRST_LOAD_TIME,
TO_CHAR(SYS_EXTRACT_UTC(FROM_TZ(TO_TIMESTAMP(S.LAST_LOAD_TIME, 'YYYY-MM-DD/HH24:MI:SS'), DBTIMEZONE)), 'YYYY-MM-DD"T"HH24:MI:SS"Z"') AS LAST_LOAD_TIME,
S.PLAN_HASH_VALUE
FROM
V$SQL S
Expand Down
Loading