Merge "Adjust default polling interval"
This commit is contained in:
commit
ea4e7e2a7b
@ -61,7 +61,7 @@
|
|||||||
#
|
#
|
||||||
# [*polling_interval*]
|
# [*polling_interval*]
|
||||||
# (Optional) Number of seconds between polling cycle
|
# (Optional) Number of seconds between polling cycle
|
||||||
# Defaults to 600 seconds, used only if manage_polling is true.
|
# Defaults to 300 seconds, used only if manage_polling is true.
|
||||||
#
|
#
|
||||||
# [*polling_meters*]
|
# [*polling_meters*]
|
||||||
# (Optional) Array of strings with meters to add to
|
# (Optional) Array of strings with meters to add to
|
||||||
@ -103,7 +103,7 @@ class ceilometer::agent::polling (
|
|||||||
$resource_update_interval = $facts['os_service_default'],
|
$resource_update_interval = $facts['os_service_default'],
|
||||||
$resource_cache_expiry = $facts['os_service_default'],
|
$resource_cache_expiry = $facts['os_service_default'],
|
||||||
Boolean $manage_polling = false,
|
Boolean $manage_polling = false,
|
||||||
$polling_interval = 600,
|
$polling_interval = 300,
|
||||||
Array[String[1]] $polling_meters = $::ceilometer::params::polling_meters,
|
Array[String[1]] $polling_meters = $::ceilometer::params::polling_meters,
|
||||||
Optional[Hash] $polling_config = undef,
|
Optional[Hash] $polling_config = undef,
|
||||||
$cfg_file = $facts['os_service_default'],
|
$cfg_file = $facts['os_service_default'],
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
Default value of ``ceilometer::agent::polling::polling_interval`` has been
|
||||||
|
updated from 600 to 300.
|
@ -212,7 +212,7 @@ describe 'ceilometer::agent::polling' do
|
|||||||
:content => '---
|
:content => '---
|
||||||
sources:
|
sources:
|
||||||
- name: some_pollsters
|
- name: some_pollsters
|
||||||
interval: 600
|
interval: 300
|
||||||
meters:
|
meters:
|
||||||
- cpu
|
- cpu
|
||||||
- cpu_l3_cache
|
- cpu_l3_cache
|
||||||
|
Loading…
Reference in New Issue
Block a user