From: Zack Cerza Date: Wed, 28 Jun 2017 22:33:56 +0000 (-0600) Subject: Set WHISPER_AUTOFLUSH to True X-Git-Tag: v1.0~53^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f7ed4b4652eaffad8c1ee83e21b1d2412252ee32;p=cephmetrics.git Set WHISPER_AUTOFLUSH to True Related to https://github.com/ceph/cephmetrics/issues/45 Signed-off-by: Zack Cerza --- diff --git a/ansible/roles/ceph-grafana/tasks/configure_carbon.yml b/ansible/roles/ceph-grafana/tasks/configure_carbon.yml index e51a3d6..f5a7b23 100644 --- a/ansible/roles/ceph-grafana/tasks/configure_carbon.yml +++ b/ansible/roles/ceph-grafana/tasks/configure_carbon.yml @@ -1,4 +1,13 @@ --- +- name: Set WHISPER_AUTOFLUSH to True + lineinfile: + dest: /etc/carbon/carbon.conf + regexp: "^WHISPER_AUTOFLUSH = .*" + insertafter: "^#.*buffering writes from the kernel.*" + line: "WHISPER_AUTOFLUSH = True" + notify: + - Restart carbon-cache + - name: Set whisper_retention set_fact: # Changing collectd_interval is not supported at this time