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

Commit a23d8e5

Browse files
Update oracledb-receiver.rst
1 parent 5813e0d commit a23d8e5

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

gdi/opentelemetry/components/oracledb-receiver.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ configuration file, as shown in the following example:
5757
receivers:
5858
oracledb:
5959
# Refer to Oracle Go Driver go_ora documentation for full connection string options
60-
datasource: "oracle://<user>:<password>@<host>:<port>/<database>"
60+
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"
6161
6262
To add more than one instance of Oracle Database, add as many entries of
6363
the ``oracledb`` receiver as needed. For example:
@@ -67,11 +67,11 @@ the ``oracledb`` receiver as needed. For example:
6767
receivers:
6868
oracledb/aninstance:
6969
# Refer to Oracle Go Driver go_ora documentation for full connection string options
70-
datasource: "oracle://<user>:<password>@<host>:<port>/<database>"
70+
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"
7171
7272
oracledb/anotherinstance:
7373
# Refer to Oracle Go Driver go_ora documentation for full connection string options
74-
datasource: "oracle://<user>:<password>@<host>:<port>/<database>"
74+
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"
7575
7676
To complete the configuration, include the receiver in the ``metrics`` pipeline of the ``service`` section of your
7777
configuration file. For example:
@@ -84,6 +84,15 @@ configuration file. For example:
8484
receivers:
8585
- oracledb
8686
87+
To configure the Oracle Database receiver in case for high availability, use the syntax as shown in the following example:
88+
89+
.. code:: yaml
90+
91+
receivers:
92+
oracledb:
93+
# Refer to Oracle Go Driver go_ora documentation for full connection string options
94+
datasource: "oracle://<username>:<password>@<host>:<port>/<service_name>?<server>=<host>:<port>"
95+
8796
Settings
8897
======================
8998

0 commit comments

Comments
 (0)