oracle-db-appdev-monitoring
oracle-db-appdev-monitoring copied to clipboard
Connect as SYSDBA user
Hi,
Is there a possibility to connect as sysdba user? Option sysdba=true
As described in https://pkg.go.dev/github.com/godror/godror
Thanks for your suggestion, I will take a look at it and get back to you.
Hi, I am adding a new DB_ROLE environment variable that you may set to either SYSDBA or SYSOPER, and the exporter will connect with the requested role. This is an optional env var, and it can be ignored if you don't need any role.
This will be available in release 1.3.0, should be in the next day or two.
Thanks again for yoru suggestion.
@markxnelson was just thinking maybe it shouldn't be an env var and should be a config/connection param... I believe this is what godror does/takes anyway and then it's also less global and more dynamic/runtime.
fixed in https://github.com/oracle/oracle-db-appdev-monitoring/releases/tag/1.3.0