You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11
Original file line number
Diff line number
Diff line change
@@ -482,6 +482,7 @@ Now, you provide the connection details using these variables:
482
482
-`DB_USERNAME` is the database username, e.g., `pdbadmin`
483
483
-`DB_PASSWORD` is the password for that user, e.g., `Welcome12345`
484
484
-`DB_CONNECT_STRING` is the connection string, e.g., `devdb_tp?TNS_ADMIN=/wallet`
485
+
-`DB_ROLE` (Optional) can be set to `SYSDBA` or `SYSOPER` if you want to connect with one of those roles, however Oracle recommends that you connect with the lowest possible privileges and roles necessary for the exporter to run.
485
486
-`ORACLE_HOME` is the location of the Oracle Instant Client, i.e., `/lib/oracle/21/client64/lib`. If you built your own container image, the path may be different.
486
487
487
488
To run the exporter in a container and expose the port, use a command like this, with the appropriate values for the environment variables, and mounting your `wallet` directory as `/wallet` in the container to provide access to the wallet:
@@ -656,6 +657,14 @@ Usage of oracledb_exporter:
656
657
657
658
```
658
659
660
+
You may provide the connection details using these variables:
661
+
662
+
- `DB_USERNAME` is the database username, e.g., `pdbadmin`
663
+
- `DB_PASSWORD` is the password for that user, e.g., `Welcome12345`
664
+
- `DB_CONNECT_STRING` is the connection string, e.g., `devdb_tp?TNS_ADMIN=/wallet`
665
+
- `DB_ROLE` (Optional) can be set to `SYSDBA` or `SYSOPER`if you want to connect with one of those roles, however Oracle recommends that you connect with the lowest possible privileges and roles necessary for the exporter to run.
666
+
- `ORACLE_HOME` is the location of the Oracle Instant Client, e.g., `/lib/oracle/21/client64/lib`.
667
+
659
668
### Using OCI Vault
660
669
661
670
The exporter will read the password from a secret stored in OCI Vault if you set these two environment
@@ -664,6 +673,8 @@ variables:
664
673
- `VAULT_ID` should be set to the OCID of the OCI vault that you wish to use
665
674
- `VAULT_SECRET_NAME` should be set to the name of the secret in the OCI vault which contains the database password
666
675
676
+
Note that the process must be running under a user that has the OCI CLI installed and configured correctly to access the desired tenancy and region.
677
+
667
678
## Custom metrics
668
679
669
680
The exporter allows definition of arbitrary custom metrics in one or more TOML files. To specify this file to the
0 commit comments