Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 4a6f81a

Browse files
Update sqlquery-receiver.rst
Edits
1 parent 579ccc9 commit 4a6f81a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gdi/opentelemetry/components/sqlquery-receiver.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ Next, include the receiver in the ``metrics`` pipeline of the ``service`` sectio
5050
5151
See :ref:`sql-query-receiver-queries-example` for a complete config example.
5252

53-
Sample configuration following MySQL datasource format using tcp
53+
Sample configuration for a MySQL datasource using TCP
5454
----------------------------------------------------------------
5555

56+
This is an example to connect a MySQL datasource to a database through a socket with autocommit mode enabled with ``user@unix(/mysql/run/mysql.sock)/schema/autocommit=true``:
57+
5658
.. code-block:: yaml
5759
5860
receivers:
@@ -62,8 +64,6 @@ Sample configuration following MySQL datasource format using tcp
6264
queries:
6365
- sql: "your_query"
6466
65-
Example of MySQL datasource to connect to database through socket with autocommit mode enabled ``user@unix(/mysql/run/mysql.sock)/schema/autocommit=true``
66-
6767
Advanced configuration
6868
----------------------------------
6969

0 commit comments

Comments
 (0)