Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.15 KB

File metadata and controls

38 lines (27 loc) · 1.15 KB

Repository Quickstart

These steps configure a host to consume the Prometheus RPM repository published at https://rpms.thesystem.dev/.

1. Import the signing key

Import the GPG public key to verify package signatures and ensure packages haven't been tampered with:

sudo rpm --import https://rpms.thesystem.dev/RPM-GPG-KEY-thesystem-dev

2. Add the repository configuration

sudo tee /etc/yum.repos.d/prometheus-rpm.repo > /dev/null <<'EOF'
[prometheus-rpm]
name=Prometheus RPM Repository
baseurl=https://rpms.thesystem.dev/prometheus-rpm/el$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://rpms.thesystem.dev/RPM-GPG-KEY-thesystem-dev
EOF

3. Refresh metadata and install packages

sudo dnf clean all
sudo dnf makecache --repo prometheus-rpm
sudo dnf install prometheus

Replace prometheus with any package listed in docs/exporters.md.

4. Service overrides (optional)

All services ship with systemd units. Customise flags or environment variables using drop-in overrides under /etc/systemd/system/<service>.d/*.conf. See docs/service-overrides.md for examples.