mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-05 09:24:12 +01:00
0c97667925
This will be our backend for a Grafana-based APM. It is sorely required for gaining insights into why application such as aurweb are slow. We currently only enable the OTLP receiver as it seems to be the most modern and best supported one. We connect directly to the prometheus at localhost for the generated metrics. We're also using just storing traces locally in files instead of something like S3.
22 lines
625 B
YAML
22 lines
625 B
YAML
- name: Setup prometheus server
|
|
hosts: monitoring.archlinux.org
|
|
remote_user: root
|
|
roles:
|
|
- { role: firewalld }
|
|
- { role: wireguard }
|
|
- { role: common }
|
|
- { role: sshd }
|
|
- { role: root_ssh }
|
|
- { role: hardening }
|
|
- { role: borg_client, tags: ["borg"], when: "'borg_clients' in group_names" }
|
|
- { role: prometheus }
|
|
- { role: alertmanager }
|
|
- { role: prometheus_exporters }
|
|
- { role: loki }
|
|
- { role: promtail }
|
|
- { role: tempo }
|
|
- { role: certbot }
|
|
- { role: nginx }
|
|
- { role: grafana, grafana_domain: 'monitoring.archlinux.org' }
|
|
- { role: fail2ban }
|