summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2017-04-21 16:16:38 -0400
committerAlex Schultz <aschultz@redhat.com>2017-06-09 15:33:31 +0000
commit688d7febea8bb7cb6bb6e1dfe491d1500b05e307 (patch)
treee29c176fe5237969ee6be98c37b6b937aaafa7e2
parent0eb81a20ce0976642324814e83b9af211b48c9c7 (diff)
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 e33e76684c9b60b9ce50ad7996529ed49dddd9d9)
Notes
Notes (review): Code-Review+2: Alex Schultz <aschultz@redhat.com> Workflow+1: Alex Schultz <aschultz@redhat.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 09 Jun 2017 18:57:36 +0000 Reviewed-on: https://review.openstack.org/469226 Project: openstack/tripleo-heat-templates Branch: refs/heads/stable/newton
-rw-r--r--puppet/services/gnocchi-base.yaml5
-rw-r--r--releasenotes/notes/expose-metric-processing-delay-0c098d7ec0af0728.yaml3
2 files changed, 8 insertions, 0 deletions
diff --git a/puppet/services/gnocchi-base.yaml b/puppet/services/gnocchi-base.yaml
index e898629..dc6a465 100644
--- a/puppet/services/gnocchi-base.yaml
+++ b/puppet/services/gnocchi-base.yaml
@@ -22,6 +22,10 @@ parameters:
22 default: 'mysql' 22 default: 'mysql'
23 description: The short name of the Gnocchi indexer backend to use. 23 description: The short name of the Gnocchi indexer backend to use.
24 type: string 24 type: string
25 MetricProcessingDelay:
26 default: 30
27 description: Delay between processing metrics.
28 type: number
25 GnocchiPassword: 29 GnocchiPassword:
26 description: The password for the gnocchi service and db account. 30 description: The password for the gnocchi service and db account.
27 type: string 31 type: string
@@ -70,6 +74,7 @@ outputs:
70 - '?bind_address=' 74 - '?bind_address='
71 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}" 75 - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}"
72 gnocchi::db::sync::extra_opts: '--skip-storage --create-legacy-resource-types' 76 gnocchi::db::sync::extra_opts: '--skip-storage --create-legacy-resource-types'
77 gnocchi::storage::metric_processing_delay: {get_param: MetricProcessingDelay}
73 gnocchi::storage::swift::swift_user: 'service:gnocchi' 78 gnocchi::storage::swift::swift_user: 'service:gnocchi'
74 gnocchi::storage::swift::swift_auth_version: 2 79 gnocchi::storage::swift::swift_auth_version: 2
75 gnocchi::storage::swift::swift_key: {get_param: GnocchiPassword} 80 gnocchi::storage::swift::swift_key: {get_param: GnocchiPassword}
diff --git a/releasenotes/notes/expose-metric-processing-delay-0c098d7ec0af0728.yaml b/releasenotes/notes/expose-metric-processing-delay-0c098d7ec0af0728.yaml
new file mode 100644
index 0000000..1fc4f10
--- /dev/null
+++ b/releasenotes/notes/expose-metric-processing-delay-0c098d7ec0af0728.yaml
@@ -0,0 +1,3 @@
1---
2fixes:
3 - Expose metric_processing_delay to tweak gnocchi performance.