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/mysqlreceiver.md.

MySQL Receiver

OpenTelemetry Collector receiver · contrib distribution

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

Stability

LevelSignals
betametrics
developmentlogs

Attributes

AttributeTypeDescription
buffer_pool_datastringThe status of buffer pool data.
buffer_pool_operationsstringThe buffer pool operations types.
buffer_pool_pagesstringThe buffer pool pages types.
cache_statusstringThe status of cache access.
client.addressstringHostname or address of the client.
client.portintTCP port used by the client.
commandstringThe command types.
connection_errorstringThe connection error type.
connection_statusstringThe connection status.
db.namespacestringThe default database for the thread, or empty if none has been selected (originally processlist_db).
db.query.textstringThe SQL statement text for the event.
db.system.namestringThe name of the database system.
digeststringDigest.
digest_textstringText before digestion.
directionstringThe name of the transmission direction.
double_writesstringThe doublewrite types.
event_statestringPossible event states.
handlerstringThe handler types.
index_namestringThe name of the index.
io_waits_operationsstringThe io_waits operation type.
join_kindstringThe kind of join.
locksstringThe table locks type.
log_operationsstringThe log operation types. 'fsyncs' aren't available in MariaDB 10.8 or later.
mysql.event_idintThe thread associated with the event and the thread current event number when the event starts.
mysql.events_statements_current.digeststringThe statement digest SHA-256 value as a string of 64 hexadecimal characters, or empty if the statements_digest consumer is no.
mysql.events_statements_current.timer_waitdoubleElapsed time the current statement has been executing, in seconds.
mysql.events_statements_summary_by_digest.count_starintThe number of times the statement was executed, report in delta value.
mysql.events_statements_summary_by_digest.digeststringThe statement digest SHA-256 value as a string of 64 hexadecimal characters, or empty if the statements_digest consumer is no.
mysql.events_statements_summary_by_digest.sum_timer_waitdoubleThe total time spent executing the statement, report in delta seconds.
mysql.events_waits_current.timer_waitdoubleTiming information for the event, indicating elapsed time the event waited in seconds.
mysql.query_planstringThe query plan for the statement, if available.
mysql.query_plan.hashstringThis attribute is set to the same value as mysql.events_statements_summary_by_digest.digest (query digest) by design.
mysql.session.idintThe unique identifier for the session associated with the event.
mysql.session.statusstringSimplified session status, either 'waiting', 'running' or 'other'.
mysql.threads.processlist_commandstringThe type of command the thread is executing on behalf of the client for foreground threads, or Sleep if the session is idle.
mysql.threads.processlist_statestringAn action, event, or state that indicates what the thread is doing.
mysql.threads.thread_idintThe unique identifier for the thread executing the statement.
mysql.wait_typestringThe name of the instrument that produced the event.
mysqlx_threadsstringThe worker thread count kind.
network.peer.addressstringIP address of the peer client.
network.peer.portintTCP port used by the peer client.
opened_resourcesstringThe kind of the resource.
operationsstringThe operation types.
page_operationsstringThe page operation types.
prepared_statements_commandstringThe prepare statement command types.
read_lock_typestringRead operation types.
row_locksstringThe row lock type.
row_operationsstringThe row operation type.
schemastringThe schema of the object.
sortsstringThe sort count type.
table_namestringTable name for event or process.
table_size_typestringThe table size types.
threadsstringThe thread count type.
tmp_resourcestringThe kind of temporary resources.
user.namestringThe user associated with a foreground thread, empty for a background thread (originally processlist_user).
write_lock_typestringWrite operation types.

Data

  • JSON: /data/collector/components/contrib-mysqlreceiver/contrib-mysqlreceiver-5dc34c70d127.json
  • Explore: /collector/components/contrib/mysqlreceiver