Skip to content

Commit

Permalink
Add basic auth settings to the application level metrics scraping
Browse files Browse the repository at this point in the history
  • Loading branch information
LDiazN committed Feb 14, 2025
1 parent 9376ed1 commit bbce398
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ansible/roles/prometheus/templates/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,9 @@ scrape_configs:
- job_name: "ecs-tasks"
scrape_interval: 5s
scheme: https
basic_auth:
username: 'prom'
password: '{{ prometheus_metrics_password_dev }}'
file_sd_configs:
- files:
- '/var/lib/prometheus/file_discovery/*.json'
Expand Down

0 comments on commit bbce398

Please sign in to comment.