oracledb_exporter icon indicating copy to clipboard operation
oracledb_exporter copied to clipboard

Allow using multiple environment variables like DATA_SOURCE_NAME to query different databases

Open jgpATs2w opened this issue 1 year ago • 1 comments

I'm submitting a ...

  • [ ] bug report
  • [ x] feature request

What is the current behavior?

One to one relation between application and environment variable

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

Allow using multiple environment variables like DATA_SOURCE_NAME to query different databases.

What is the motivation / use case for changing the behavior?

Monitor multiple databases.

Please tell us about your environment:

Windows server 19, windows 10

Version: 0.0.0.dev

jgpATs2w avatar Mar 22 '24 06:03 jgpATs2w

Tried to push a branch with the code to fix, but i don't have permissions. Those are the proposed changes: image

jgpATs2w avatar Mar 22 '24 06:03 jgpATs2w