Skip to content

Commit

Permalink
Bump prometheus to 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestas-poskus committed Jun 2, 2017
1 parent 5d58846 commit 9f419c1
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ prometheus_alert_manager_config_dir: "{{ prometheus_config_dir }}/alertmanager"
prometheus_alert_manager_templates_dir: "{{ prometheus_config_dir }}/alertmanager/templates"

# Prometheus
prometheus_version: '1.5.2'
prometheus_version: '1.6.3'
prometheus_platform_architecture: 'linux-amd64'

# Node exporter
Expand All @@ -68,7 +68,7 @@ prometheus_config_rule_files:

# Prometheus alert manager rules
# since Ansible uses double curly braces as well as Prometheus for
# variable interpolation in alerts use square brackets, those will be
# variable interpolation in alerts use square brackets, those will be
# replaced by curly braces in task
prometheus_rules:
- name: instancedown
Expand Down Expand Up @@ -186,6 +186,12 @@ prometheus_storage__local__series_sync_strategy: "adaptive"
# but reduces the risk of data loss in case of an OS crash. With the
# 'adaptive' strategy, series files are sync'd for as long as the storage
# is not too much behind on chunk persistence.
prometheus_storage__local__target_heap_size: 2147483648
# The metrics storage attempts to limit its own memory usage such
# that the total heap size approaches this value. Note that this is not a
# hard limit. Actual heap size might be temporarily or permanently higher
# for a variety of reasons. The default value is a relatively safe setting
# to not use more than 3 GiB physical memory.
prometheus_storage__remote__graphite_address:
# The host:port of the remote Graphite server to send samples to.
# None, if empty.
Expand Down
8 changes: 7 additions & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ prometheus_alert_manager_config_dir: "{{ prometheus_config_dir }}/alertmanager"
prometheus_alert_manager_templates_dir: "{{ prometheus_config_dir }}/alertmanager/templates"

# Prometheus
prometheus_version: '1.5.2'
prometheus_version: '1.6.3'
prometheus_platform_architecture: 'linux-amd64'

# Node exporter
Expand Down Expand Up @@ -158,6 +158,12 @@ prometheus_storage__local__series_sync_strategy: "adaptive"
# but reduces the risk of data loss in case of an OS crash. With the
# 'adaptive' strategy, series files are sync'd for as long as the storage
# is not too much behind on chunk persistence.
prometheus_storage__local__target_heap_size: 2147483648
# The metrics storage attempts to limit its own memory usage such
# that the total heap size approaches this value. Note that this is not a
# hard limit. Actual heap size might be temporarily or permanently higher
# for a variety of reasons. The default value is a relatively safe setting
# to not use more than 3 GiB physical memory.
prometheus_storage__remote__graphite_address:
# The host:port of the remote Graphite server to send samples to.
# None, if empty.
Expand Down
1 change: 1 addition & 0 deletions vars/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ prometheus_service_config:
storage.local.retention: "{{ prometheus_storage__local__retention }}"
storage.local.series-file-shrink-ratio: "{{ prometheus_storage__local__series_file_shrink_ratio }}"
storage.local.series-sync-strategy: "{{ prometheus_storage__local__series_sync_strategy }}"
storage.local.target-heap-size: "{{ prometheus_storage__local__target_heap_size }}"
storage.remote.graphite-address: "{{ prometheus_storage__remote__graphite_address }}"
storage.remote.graphite-prefix: "{{ prometheus_storage__remote__graphite_prefix }}"
storage.remote.graphite-transport: "{{ prometheus_storage__remote__graphite_transport }}"
Expand Down

0 comments on commit 9f419c1

Please sign in to comment.