Skip to content
Snippets Groups Projects
Commit 14bd47b8 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

prometheus: Scrap Prometheus

parent e9f7c970
No related branches found
No related tags found
1 merge request!368Add dashboards.archlinux.org for public Grafana dashboards
......@@ -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']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment