Commit 14bd47b8 authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

prometheus: Scrap Prometheus

parent e9f7c970
......@@ -24,6 +24,23 @@ remote_write:
password: {{ vault_prometheus_passwd }}
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['127.0.0.1:9090']
labels:
instance: "{{ ansible_fqdn }}"
- job_name: prometheus-domain
scheme: https
basic_auth:
username: {{ vault_prometheus_user }}
password: {{ vault_prometheus_passwd }}
static_configs:
- targets: ['{{ prometheus_domain }}:9090']
labels:
job: prometheus
instance: "{{ prometheus_domain }}"
- job_name: loki
static_configs:
- targets: ['127.0.0.1:3100']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment