-
-
Notifications
You must be signed in to change notification settings - Fork 68
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does this exporter support IBM DB2 and Oracle DB? #207
Comments
Hi @shingou0120, I'm sorry for the late response - had many things around. Generally, any database that has a driver in golang, supporting Following your case I found next things:
These drivers are rather specific, and aren't available out of the box, but it's not difficult to add them (one of them at the moment):
P.S. You can also create the binary only with custom drivers - populate the list Let me know if you have any questions, I'm happy to assist. 👍 |
Hey @burningalchemist, After installing the binary and adding Do you know what I did wrong? |
Hey @JustNZ, I just tested it, and it works fine. It's also that you need to use Here's a short screencast, hope it helps: Kapture.2023-08-22.at.17.08.40.mp4As for adding I think adding a simple guide to add your own driver is the best option as it gives control and flexibility. |
Hey @burningalchemist , yes seems like the issue was by not using the v2 version of the oracle driver. And keeping this project lightweight does make sense and if there is the possibility to add own drivers then it is more than perfect. Thanks! |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Is your feature request related to a problem? Please describe.
I am looking for a solution to export metrics from DB2 and Oracle database.
Current we use https://github.com/albertodonato/query-exporter as our biz monitor solution.
However, the configuration format in albertodonato/query-exporter is hard to implement to helm chart.
Describe the solution you'd like
The solution I need is to make db, metrics and query sql more flexible and reusable with helm chart
There are many sites in our company such as A site, B site and C site, and we should export the metrics with the same SQL from DB of each site.
For example,
metric:
goods_inventory_count
query:
select count from tbl_inventory where <condition>
Both of those above are the same, and I should deploy 3 sql_exporter in 3 sites to connect different DB.
So, I want to build a helm chart package to form the same metrics and queries.
After I survey overall, sql_exporter seems to fit my needs except that DB2 and oracle are not supported. :(
Describe alternatives you've considered
Currently not. Only if I try to build the config template for query-exporter, and I am sure it's really not easy.
If the DB2 and Oracle could be supported, it's so appreciated, thanks a lot.
The text was updated successfully, but these errors were encountered: