1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-05 09:24:12 +01:00
infrastructure/playbooks/monitoring.archlinux.org.yml
Sven-Hendrik Haase 0c97667925
Deploy tempo
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.
2024-08-03 22:30:16 +02:00

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 }