Skip to content

Commit

Permalink
Updated default config part
Browse files Browse the repository at this point in the history
  • Loading branch information
UnderGreen committed Jul 28, 2016
1 parent 1eb9b57 commit b5f7f3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions tasks/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
owner: "{{ prometheus_user }}"
group: "{{ prometheus_group }}"
mode: 0644
delimiter: '\n### START FRAGMENT ###'
validate: "{{ prometheus_bin_dir }}/promtool check-config %s"
notify:
- reload prometheus
Expand Down
6 changes: 0 additions & 6 deletions templates/etc/prometheus/prometheus.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,3 @@ rule_files:

# A list of scrape configurations.
scrape_configs:

- job_name: 'prometheus'
scrape_interval: {{ prometheus_self_scrape_interval }}
scrape_timeout: {{ prometheus_self_evaluation_interval }}
static_configs:
- targets: ['localhost:9090']

0 comments on commit b5f7f3d

Please sign in to comment.