File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515# $tags
1616# Optional array of tags
1717#
18+ # $use_fastcgi
19+ # Use fastcgi to get stats. Default: false
20+ #
1821# Sample Usage:
1922#
2023# class { 'datadog_agent::integrations::php_fpm' :
2932 $ping_reply = ' pong' ,
3033 $http_host = undef ,
3134 $tags = [],
32- $instances = undef
35+ $instances = undef ,
36+ $use_fastcgi = ' false'
3337) inherits datadog_agent::params {
3438 include datadog_agent
3539
4044 ' ping_url' => $ping_url ,
4145 ' ping_reply' => $ping_reply ,
4246 ' tags' => $tags ,
47+ ' use_fastcgi' => $use_fastcgi ,
4348 }]
4449 } else {
4550 $_instances = $instances
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ instances:
66<%- (Array(@_instances)).each do |instance| -%>
77 - # Get metrics from your FPM pool with this URL
88 status_url: <%= instance['status_url'] %>
9+ # Get metrics using fastcgi
10+ use_fastcgi: <%= instance['use_fastcgi'] %>
911 # Get a reliable service check of your FPM pool with that one
1012 ping_url: <%= instance['ping_url'] %>
1113 # Set the expected reply to the ping.
You can’t perform that action at this time.
0 commit comments