-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat] IBM DB2 Module #13106
Comments
@sorantis I would like to help but I don't have DB2 to test. Do you think I can use this image? |
I think we can use ODBC in this case to avoid CGO. I wrote this test but I need help to construct a query to select tablespace data.
Files:
Output:
|
@amandahla thanks for initiating this! |
I'm not sure if we can do this here/now but my husband(@rikatz ) gave me the suggestion to do something generic to collect from any ODBC connection. So you can set any query to get values. Would be something like this:
Output:
|
The SQL module can collect metrics and other data with custom queries, using the database drivers included in Metricbeat. (cherry picked from commit a3136a4)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
keep it open |
News here? I did a quick search and unfortunately didn't find a go-native way to connect with DB2 like the others databases, all drivers uses CGO. Same for ODBC :( |
There's a go driver for DB2, not sure how stable it is though. |
Yes, but it seems that it uses CGO also, not native. :( |
For oracle we use a driver that also uses cgo, so maybe we can do something similar for db2. @sayden what do you think? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
As ancient as it might sound, IBM DB2 is a widely used database engine, that's currently ranked 6 in the DB engines ranking. Today DB2 represents a family of data management products with a focus on AI powered features.
Recently IBM introduced a free version of the database to boost developer engagement. (Download options can be found here).
Today Metricbeat already provides integrations with many database engines, however IBM DB2 is not yet supported. There is a workaround that suggests our users to use the JDBC input with Logstash and collect DB2 metrics. This workaround is not straightforward and requires prior knowledge of configuring JDBS inputs on the user side. Having a Metricbeat module for IBM DB2 would remove this complexity and significantly increase user experience.
User Story:
As a user I want to use Metricbeat for monitoring my DB2 instances so that I could easily observe the state and performance of the DB2 databases.
Suggested targets:
The text was updated successfully, but these errors were encountered: