Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions gdi/opentelemetry/components/oracledb-receiver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ configuration file, as shown in the following example:
receivers:
oracledb:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<user>:<password>@<host>:<port>/<database>"
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"

To add more than one instance of Oracle Database, add as many entries of
the ``oracledb`` receiver as needed. For example:
Expand All @@ -67,11 +67,11 @@ the ``oracledb`` receiver as needed. For example:
receivers:
oracledb/aninstance:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<user>:<password>@<host>:<port>/<database>"
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"

oracledb/anotherinstance:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<user>:<password>@<host>:<port>/<database>"
datasource: "oracle://<username>:<password>@<host>:<port>/<database>"

To complete the configuration, include the receiver in the ``metrics`` pipeline of the ``service`` section of your
configuration file. For example:
Expand All @@ -84,6 +84,15 @@ configuration file. For example:
receivers:
- oracledb

To configure the Oracle Database receiver for high availability use:

.. code:: yaml

receivers:
oracledb:
# Refer to Oracle Go Driver go_ora documentation for full connection string options
datasource: "oracle://<username>:<password>@<host>:<port>/<service_name>?<server>=<host>:<port>"

Settings
======================

Expand Down
Loading