Commit e8d2b26e authored by Bernhard Geier's avatar Bernhard Geier
Browse files

Repariere Performance-Grafiken

Setze Retention-Policy
Erwzinge Neuberechung wenn Scale geändert wird
parent 20482b06
# Ansible managed
[default_average]
pattern = .*
xFilesFactor = 0.1
aggregationMethod = average
- name: whisper-resize
become: yes
become_user: _graphite
shell: /usr/bin/whisper-auto-resize --doit /var/lib/graphite/whisper/icinga2 /etc/carbon
- name: reload apache2
service:
name: apache2.service
......
......@@ -11,12 +11,23 @@
name: [ "graphite-carbon", "graphite-web" ]
update_cache: yes
- name: Set up Carbon storage-schemas
- name: Set up Carbon storage-schemas.conf
copy:
src: 'carbon/storage-schemas.conf'
dest: '/etc/carbon/storage-schemas.conf'
mode: "0644"
notify: restart carbon-cache
notify:
- whisper-resize
- restart carbon-cache
- name: Set up storage-aggregation.conf
copy:
src: 'carbon/storage-aggregation.conf'
dest: '/etc/carbon/storage-aggregation.conf'
mode: "0644"
notify:
- whisper-resize
- restart carbon-cache
- name: Limit carbon-cache LINE_RECEIVER_INTERFACE to 127.0.0.1
lineinfile:
......@@ -39,14 +50,6 @@
line: 'PICKLE_RECEIVER_PORT = 0'
notify: restart carbon-cache
- name: Create empty storage-aggregation to silence log warnings
copy:
content: ""
dest: '/etc/carbon/storage-aggregation.conf'
force: no
mode: "0644"
notify: restart carbon-cache
- name: Configure Graphite - set SECRET_KEY
lineinfile:
path: '/etc/graphite/local_settings.py'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment