-
Notifications
You must be signed in to change notification settings - Fork 261
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
support for instances and http_host #299
Conversation
Nice @obi11235! It's so great to see the contributions making many of the integrations multi-instance. Very much appreciated. Could you please rebase to the latest Thanks! 🙇 |
Merged master in, all tests passing now. |
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.
Other than the small nit, this looks good to go. If you could make that small change, that'd be great. @obi11235 if you don't have the time let me know and I'll fix it myself.
@@ -21,12 +21,25 @@ | |||
# | |||
|
|||
class datadog_agent::integrations::php_fpm( | |||
$http_host = undef, |
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.
Small nit (since all parameters are essentially optional, it doesn't make much of a difference), we probably want to http_host
to be placed after ping_url
, just to resemble the YAML structure and the fact that it really can be undef
whereas the other two are a must.
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.
No worries, it's such a small change I don't want to bother you with it. I'll take care of it! Thanks!
* support for instances and http_host * cleanup * cleanup
This will allow datadog's agent to monitor more than one instance of phpfpm on a machine as well as adding support for the http_host parameter to the check.