Replies: 1 comment 2 replies
-
Hi @dinu111, several points so far:
So in the end, your target configuration should be like below:
Please have a look and let me know. 👍 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, im a bit of a newbe when it comes to this sql exporter so I would appreciate any help.
Ok here it goes, im trying on my local machine to make this work but im using an oracle db and from what I read this is ok and can use any database as long as it has a go driver so in this sense I set up an oracle db that is working fine via a docker compose, nothing extraordinary, just some simple stuff:
Then I set this go driver in the "drivers_gen.go" file like so:
All good until now so I continued with building the image and testing if the driver is there and from the output it seems to be there, looks a bit weird but it seems fine.
Now I tried a configuration so I created a simple sql_exporter.yml that looks like so and would do a simple test on the database:
When I execute the command:
/bin/sql_exporter --config.file=sql_exporter.yml --log.level=debug
I get this error and I dont understand why?
Am I misusing the configuration somehow or am I missing some configuration or maybe the driver is not correct, I am not sure.
I would appreciate any help. Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions