Expose metric delay processing metric

For performance reasons we might want to tweak this param
lets expose this via tripleo. The puppet changes were
added in this patch I5de5283d1b14e0bba63d6d9a440611914ba86ca4

Change-Id: I72f1fe3a47060fe37602a70b8a74fba72209127c
(cherry picked from commit e33e76684c)
This commit is contained in:
Pradeep Kilambi 2017-04-21 16:16:38 -04:00 committed by Alex Schultz
parent 0eb81a20ce
commit 688d7febea
2 changed files with 8 additions and 0 deletions

View File

@ -22,6 +22,10 @@ parameters:
default: 'mysql'
description: The short name of the Gnocchi indexer backend to use.
type: string
MetricProcessingDelay:
default: 30
description: Delay between processing metrics.
type: number
GnocchiPassword:
description: The password for the gnocchi service and db account.
type: string
@ -70,6 +74,7 @@ outputs:
- '?bind_address='
- "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
gnocchi::db::sync::extra_opts: '--skip-storage --create-legacy-resource-types'
gnocchi::storage::metric_processing_delay: {get_param: MetricProcessingDelay}
gnocchi::storage::swift::swift_user: 'service:gnocchi'
gnocchi::storage::swift::swift_auth_version: 2
gnocchi::storage::swift::swift_key: {get_param: GnocchiPassword}

View File

@ -0,0 +1,3 @@
---
fixes:
- Expose metric_processing_delay to tweak gnocchi performance.