0aee614a7e
Change-Id: Ie312a86e5c87c6dc02bf25228d530a25b132555e
42 lines
1.3 KiB
Puppet
42 lines
1.3 KiB
Puppet
# == Class: ceilometer::dispatcher::gnocchi
|
|
#
|
|
# Configure Gnocchi dispatcher for Ceilometer
|
|
#
|
|
# === Parameters:
|
|
#
|
|
# [*filter_service_activity*]
|
|
# (Optional) Filter out samples generated by Gnocchi service activity.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*filter_project*]
|
|
# (Optional) Gnocchi project used to filter out samples
|
|
# generated by Gnocchi service activity
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*archive_policy*]
|
|
# (Optional) The archive policy to use when the dispatcher
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
# [*resources_definition_file*]
|
|
# (Optional) The Yaml file that defines mapping between samples
|
|
# and gnocchi resources/metrics.
|
|
# Defaults to $::os_service_default.
|
|
#
|
|
class ceilometer::dispatcher::gnocchi (
|
|
$filter_service_activity = $::os_service_default,
|
|
$filter_project = $::os_service_default,
|
|
$archive_policy = $::os_service_default,
|
|
$resources_definition_file = $::os_service_default,
|
|
) {
|
|
|
|
include ::ceilometer::deps
|
|
|
|
ceilometer_config {
|
|
'dispatcher_gnocchi/filter_service_activity': value => $filter_service_activity;
|
|
'dispatcher_gnocchi/filter_project': value => $filter_project;
|
|
'dispatcher_gnocchi/archive_policy': value => $archive_policy;
|
|
'dispatcher_gnocchi/resources_definition_file': value => $resources_definition_file;
|
|
}
|
|
|
|
}
|