Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Ceratto committed Jul 7, 2020
1 parent ca3d45c commit 5ad8345
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
5 changes: 0 additions & 5 deletions ansible/deploy-postgres-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@
roles:
- role: postgresql11


# etckeeper
# netdata
# firewall

#- name: install prometheus-postgres-exporter
# apt:
# cache_valid_time: 86400
Expand Down
19 changes: 9 additions & 10 deletions ansible/roles/prometheus/templates/prometheus.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ scrape_configs:
{% for host in (groups.have_netdata|sort) %}
- {{ host }}:9100
{% endfor %}
- ams-pg.ooni.nu:9100

- job_name: 'raw-netdata'
scrape_interval: 5s
Expand All @@ -166,15 +165,15 @@ scrape_configs:
- targets:
- ams-pg.ooni.nu:19999

- job_name: 'raw postgres-exporter'
scrape_interval: 5s
scheme: https
metrics_path: /api/v1/allmetrics
params:
format: [prometheus]
static_configs:
- targets:
- ams-pg.ooni.nu:9187
# - job_name: 'raw postgres-exporter'
# scrape_interval: 5s
# scheme: https
# metrics_path: /api/v1/allmetrics
# params:
# format: [prometheus]
# static_configs:
# - targets:
# - ams-pg.ooni.nu:9187

- job_name: 'gorush'
scrape_interval: 5s
Expand Down

0 comments on commit 5ad8345

Please sign in to comment.