~timkuhlman/charms/trusty/prometheus/layer-prometheus-promreg

« back to all changes in this revision

Viewing changes to templates/prometheus.yml.j2

  • Committer: Tim Kuhlman
  • Date: 2016-07-30 00:08:19 UTC
  • Revision ID: timothy.kuhlman@canonical.com-20160730000819-62aa62sarnb9yq6n
Update file_sd_config for the old version of prometheus currently available in the ppa

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
# Prometheus registration
46
46
  - job_name: 'prometheus-registration'
47
47
    file_sd_configs:
48
 
      - files: ['/etc/prometheus/promreg/targets.yaml']
 
48
# After version 0.2.0 files is correct not names
 
49
#      - files: ['/etc/prometheus/promreg/targets.yaml']
 
50
      - names: ['/etc/prometheus/promreg/targets.yaml']
49
51
{%- endif %}
50
52
 
51
53
# federate jobs