Skip to content

Commit

Permalink
Change server_puppetserver_metrics default to true
Browse files Browse the repository at this point in the history
The default in Puppetserver is actually `true`, not `false`.

(IMO, `server_puppetserver_metrics` isn't a great parameter name as its
actual purpose is to configure whether http client metrics are
collected, and has no impact on the much greater number of other metrics
still collected when this is set to `false`.)
  • Loading branch information
alexjfisher committed Apr 4, 2022
1 parent 9a18f5a commit 0b9139a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -439,10 +439,10 @@
# Defaults to 30000, using the Jetty default of 30s
#
# $server_puppetserver_metrics:: Enable puppetserver http-client metrics
# Defaults to false because that's the Puppet Inc. default behaviour.
# Defaults to true, matching defaults in Puppetserver 5+.
#
# $server_puppetserver_profiler:: Enable JRuby profiling.
# Defaults to true because that's the Puppet Inc. default behaviour (since Puppetserver 5.0.0).
# Defaults to true, matching defaults in Puppetserver 5+.
# If set to false, compiler and function metrics will not be available, (eg. when enabling graphite metrics)
#
# $server_metrics_jmx_enable:: Enable or disable JMX metrics reporter. Defaults to true
Expand Down Expand Up @@ -708,7 +708,7 @@
Boolean $server_environment_class_cache_enabled = $puppet::params::server_environment_class_cache_enabled,
Boolean $server_allow_header_cert_info = $puppet::params::server_allow_header_cert_info,
Integer[0] $server_web_idle_timeout = $puppet::params::server_web_idle_timeout,
Boolean $server_puppetserver_metrics = false,
Boolean $server_puppetserver_metrics = true,
Boolean $server_puppetserver_profiler = true,
Boolean $server_metrics_jmx_enable = $puppet::params::server_metrics_jmx_enable,
Boolean $server_metrics_graphite_enable = $puppet::params::server_metrics_graphite_enable,
Expand Down

0 comments on commit 0b9139a

Please sign in to comment.