Description
I have several DBs. When some of the DBs are on maintenance, there are ORA-errors and its OK. But when maintenance ends and Exporter is expected to open connection to DB - i get an error - time=2025-12-14T23:20:33.157Z level=WARN source=collector.go:240 msg="Invalid database configuration, will not attempt reconnection" database=DB_NAME
This error goes all along until I restart service in my Docker Swarm without any changes in configuration. After restart connection establishes properly.
A bit of logs are attached. Thanks in advance!
Steps to Reproduce
- Start Exporter
- Shut DB down
- Start DB after maintenance
Expected Behavior
Exporter establishes the connection to DB
Actual Behavior
Connection doesn't establish, getting error time=2025-12-14T23:20:33.157Z level=WARN source=collector.go:240 msg="Invalid database configuration, will not attempt reconnection" database=DB_NAME
Environment
- Docker Swarm
- Exporter version: 2.2.0 with go-ora driver
Screenshots / Logs
attached logs
logs_ghub.txt