@@ -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
6363the ``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
7777configuration 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