Merge "Fix an issue with prometheus scraping itself"

This commit is contained in:
Zuul 2023-11-23 02:44:46 +00:00 committed by Gerrit Code Review
commit d6844dc895
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,9 @@ rule_files:
scrape_configs: scrape_configs:
- job_name: prometheus - job_name: prometheus
basic_auth:
username: admin
password: "{{ prometheus_password }}"
static_configs: static_configs:
{% for host in groups['prometheus'] %} {% for host in groups['prometheus'] %}
- targets: - targets:

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes an issue with prometheus scraping itself now that basic auth has
been enabled.