This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/oracledbreceiver.md.

Oracle DB Receiver

OpenTelemetry Collector receiver · contrib distribution

This receiver periodically queries an Oracle Database host to collect metrics.

  • Component ID: contrib-oracledbreceiver
  • Name: oracledbreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
alphametrics
developmentlogs

Attributes

AttributeTypeDescription
client.addressstringHostname or address of the client.
client.portintTCP port used by the client.
db.namespacestringThe database name.
db.query.comment_tagsstringFiltered SQL query comments extracted from leading block comments. Contains comma-separated key=value pairs for keys specified in allowed_comment_keys configuration. Used for correlation with APM traces.
db.query.textstringThe text of the database query being executed.
db.server.namestringThe name of the server hosting the database.
db.system.namestringThe database management system (DBMS) product as identified by the client instrumentation.
destination.typestringType of the SQL*Net destination endpoint (client application or remote database link).
disk.io.block_sizestringMulti-block vs single-block (all) I/O request grouping.
disk.io.directionstringDirection of the storage I/O operation.
disk.io.typestringWhether the I/O bytes are buffered (cache-mediated) or total (raw transfer count).
network.io.directionstringDirection of the SQL*Net network transfer.
network.peer.addressstringIP address of the peer client.
network.peer.portintTCP port used by the peer client.
oracle.db.servicestringThe Oracle service name associated with the database connection.
oracledb.application_wait_timedoubleThe total time (in seconds) a query spent waiting on the application before it could proceed with execution (reporting delta).
oracledb.blocking.blocker.root_sidstringThe session ID (SID) of the root/head blocker at the top of the blocking chain. Empty string when there is no blocking.
oracledb.blocking.blocker.sidstringThe session ID (SID) of the immediate blocker of this session. Empty string when the session is not blocked.
oracledb.blocking.blocker.statestringThe status of the blocking session relationship (e.g. VALID, NOT IN WAIT, GLOBAL, NO HOLDER, UNKNOWN).
oracledb.blocking.lock.modestringThe lock mode being requested by the blocked session (e.g., ROW SHARE, ROW EXCLUSIVE, SHARE, SHARE ROW EXCLUSIVE, EXCLUSIVE). Empty when not waiting on a lock.
oracledb.blocking.lock.typestringThe type of enqueue lock the session is waiting on, extracted from the wait event (e.g., TX for row lock, TM for table lock). Empty when not waiting on a lock.
oracledb.blocking.object.namestringThe name of the database object the session is waiting to lock. Empty when no object lock wait is active.
oracledb.blocking.object.ownerstringThe owner (schema) of the database object the session is waiting to lock. Empty when no object lock wait is active.
oracledb.blocking.start_timestringEstimated UTC timestamp of when the blocking wait began, derived from SYSDATE - SECONDS_IN_WAIT. RFC3339 format.
oracledb.blocking.wait_durationintThe number of seconds this session has been waiting for the current wait event.
oracledb.buffer.statestringThe state of a buffer encountered while inspecting the LRU queue for a reusable buffer (free = a reusable buffer that was skipped; dirty = a dirty buffer found).
oracledb.buffer_getsintNumber of logical reads (i.e., buffer cache accesses) performed by a query (reporting delta).
oracledb.call.typestringType of call reported by Oracle.
oracledb.child_addressstringAddress of the child cursor.
oracledb.child_numberstringThe child number of the query.
oracledb.cluster_wait_timedoubleTotal time (in seconds) that a query waited due to Oracle Real Application Clusters (RAC) coordination (reporting delta).
oracledb.command_typeintCommand type of the query.
oracledb.concurrency_wait_timedoubleTotal time (in seconds) a query spent waiting on concurrency-related events (reporting delta).
oracledb.cpu_timedoubleTotal time (in seconds) that the CPU spent actively processing a query, excluding time spent waiting (reporting delta).
oracledb.direct_readsintThe number of direct path reads performed by a query — i.e., data blocks read directly from disk into the session’s memory (reporting delta).
oracledb.direct_writesintThe number of direct path write operations, where data is written directly to disk from user memory (reporting delta).
oracledb.disk_readsintThe number of physical reads a query performs — that is, the number of data blocks read from disk (reporting delta).
oracledb.duration_secdoubleTotal time taken by a database query to execute.
oracledb.elapsed_timedoubleThe total time (in seconds) taken by a query from start to finish, including CPU time and all types of waits (reporting delta).
oracledb.enqueue.typestringType of enqueue (lock) operation reported by Oracle.
oracledb.eventstringThe specific wait event that a query or session is currently experiencing.
oracledb.executionsintThe number of times a specific SQL query has been executed (reporting delta).
oracledb.modulestringLogical module name of the client application that initiated a query or session.
oracledb.osuserstringName of the operating system user that initiated or is running the Oracle database session.
oracledb.parse.resultstringResult of a parse operation (e.g., failure).
oracledb.parse.typestringType of parse operation (e.g., soft).
oracledb.physical_read_bytesintThe total number of bytes read from disk by a query (reporting delta).
oracledb.physical_read_requestsintThe number of physical I/O read operations performed by a query (reporting delta).
oracledb.physical_write_bytesintThe total number of bytes written to disk by a query (reporting delta).
oracledb.physical_write_requestsintThe number of times a query requested to write data to disk (reporting delta).
oracledb.plan.first_loadstringTime at which the plan was first loaded into the library cache, in the server's local timezone. Format: YYYY-MM-DD/HH:MM:SS
oracledb.plan.last_loadstringPlan load time in the server's local timezone. Format: YYYY-MM-DD/HH:MM:SS
oracledb.plan_hash_valuestringBinary hash value calculated on the query execution plan and used to identify similar query execution plans, reported in the HEX format.
oracledb.procedure_execution_countintThe number of times the stored procedure has been executed, derived from the minimum statement execution count across all statements in the procedure (reporting delta). Please note, this is best effort and may not be accurate in some scenarios. Use with caution.
oracledb.procedure_idintThe identifier of the stored procedure or function being executed by the query.
oracledb.procedure_namestringName of the database object that a query is accessing.
oracledb.procedure_typestringType of the database object that a query is accessing.
oracledb.processstringThe operating system process ID (PID) associated with a session.
oracledb.programstringName of the client program or tool that initiated the Oracle database session.
oracledb.query.startedstringThe timestamp when the SQL statement started execution, in ISO 8601 format (UTC).
oracledb.query.wait_timedoubleThe wait time in seconds. If the session is currently waiting, the value is the time spent waiting in the current wait. Returns 0 if the session is not currently waiting.
oracledb.query_planstringThe query execution plan used by the SQL Server.
oracledb.redo.request.typestringThe type of redo log buffer space request.
oracledb.redo.retry.typestringThe type of redo buffer allocation retry.
oracledb.redo.typestringThe phase of the redo pipeline that a redo time measurement is attributed to.
oracledb.rows_processedintThe total number of rows that a query has read, returned, or affected during its execution (reporting delta).
oracledb.scan.modestringExecution mode of the scan reported by Oracle.
oracledb.scan.typestringType of scan operation reported by Oracle.
oracledb.schemanamestringOracle schema under which SQL statements are being executed
oracledb.serialstringSerial number associated with a session.
oracledb.session.durationdoubleThe total time in seconds that the session has been connected.
oracledb.session.startedstringThe timestamp when the session logged on, in ISO 8601 format (UTC).
oracledb.session.typestringClass of session the database time is attributed to.
oracledb.sidstringID of the Oracle Server session.
oracledb.sort.typestringType of sort operation (e.g., memory, disk).
oracledb.sql_idstringThe SQL ID of the query.
oracledb.statestringCurrent state of the query or the session executing it.
oracledb.statusstringExecution state or result of a database query or session.
oracledb.user_io_wait_timedoubleThe total time (in seconds) a query spent waiting for user I/O operations—such as reading or writing data to disk or network file systems (reporting delta).
oracledb.wait.countintTotal number of waits for the wait event across all sessions.
oracledb.wait.durationdoubleTotal time waited in seconds for the wait event.
oracledb.wait_classstringThe category of wait events a query or session is currently experiencing in Oracle Database.
session_statusstringSession status
session_typestringSession type
tablespace_namestringTablespace name
user.namestringDatabase user name under which a session is connected to

Data

  • JSON: /data/collector/components/contrib-oracledbreceiver/contrib-oracledbreceiver-557d8506730a.json
  • Explore: /collector/components/contrib/oracledbreceiver