-
Notifications
You must be signed in to change notification settings - Fork 291
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
Embedding existing jmx integrations with git submodule #639
Conversation
@@ -0,0 +1,5 @@ | |||
activemq.yaml |
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.
Could you please add readme file in this directory explaining its contents and where those files are coming from?
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.
Done. Does the new readme look ok?
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.
Just a minor comment
LGTM |
Can't merge this until we get a new version of jmxfetch. |
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.
Can we come up with a more automated way to pull these files in? Generally I'd like to be able to specify a sha/tag in integrations-core and get the matching jxm files into the build or into our repo. If we copy-paste it will be tricky to track down the integrations-core version these files originated from.
We can sync up offline and I can take you through a potential solution.
@realark That was fully my intention. This was just intended to demonstrate the flow after those files were brought in and to validate the changes I made to jmxfetch. Sorry if that wasn't more clear. |
@tylerbenson Oh sure. I'll remove my review in that case. |
Using copy/paste from integrations-core. Will depend on a new jmxfetch release with DataDog/jmxfetch#205 before this will work.
5a9fbf8
to
8e5fc48
Compare
8e5fc48
to
3696337
Compare
3696337
to
f63d40f
Compare
task submodulesUpdate(type:Exec) { | ||
group 'Build Setup' | ||
description 'Initializes and updates integrations-core git submodule' | ||
commandLine 'git', 'submodule', 'update', '--init', 'integrations-core' |
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.
Update here just means populating the directory with the repo contents, it doesn't change the commit the submodule is based off of.
This includes the ability to load config from resources.
@mar-kolya This is ready for review now that we have the proper version of jmxfetch. |
Now uses a git submodule to load the integrations from
integrations-core
.Will depend on a new jmxfetch release with DataDog/jmxfetch#205 before this will work.