MirrorNest
← すべてのガイド

Prometheus

Open-source metrics collection and alerting engine — the standard data source behind most self-hosted Grafana dashboards.

このガイドは上記リンク先にあるPrometheus公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  1. 1Download the latest release

    Check the official downloads page for the current version number and correct architecture before running this.

  2. 2Extract and run

    tar xvfz prometheus-*.tar.gz
    cd prometheus-*/
    ./prometheus --config.file=prometheus.yml

    For a permanent setup, run this as a systemd service rather than in a foreground terminal — the official docs' "Running as a service" section covers the unit file.

  3. 3Open the UI

    http://your-server-ip:9090 — this is also the endpoint Grafana points at as a data source.