-
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] Add Oracle module #11890
[Metricbeat] Add Oracle module #11890
Conversation
1964716
to
94d738f
Compare
94d738f
to
227a8cd
Compare
@sayden, could you please allow connection strings instead of hosts?
This connection string is for a Data Guard environment and supports failover when the primary role switched to the standby server. |
Hey @odbaeu ! Thank you for all your comments! It's amazing to have contributors like you! A couple of questions about the connection strings:
As I mentioned in the issue, we aim to have a very lightweight module with a very curated scope, starting with baby steps, listening the community to get feedback about improvements and moving towards a more full solution so, to clarify, this points will be very useful in any case 🙂 |
For reviewers: Still a couple of things for the CI must be done but everything else can be considered ready for review. |
24aa2d8
to
764f00c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
return | ||
} | ||
} | ||
m.Load(ctx, events, reporter) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
Thanks all for the help ;) |
This is the seed of the Oracle module with a single metricset called
tablespace
. We are aiming to release it as beta until we get some time to change our CI to deal with the implications of this module. However, the module has many unit tests.The steps to do the integration tests manually are the following:
docker run -d --name oracle -p 1521:1521 -p 5500:5500 store/oracle/database-enterprise:12.2.0.1
LD_LIBRARY_PATH
to the proper destination so it can find Instant Client library.go test -tags=integration -data ./...
from thetablespace
folder, ensuring that you have setup the environment variable mentioned above.The
tablespace
Metricset has mainly storage information about the data file and temp files that compose the tablespaces. It also contains summaries of the tablespaces, free space and allocated space to mention a few.