24kushang 27150a2955 feat(prometheus): Docker Daemon scraping for monitoring (#1865) 9 hónapja
..
README.md 27150a2955 feat(prometheus): Docker Daemon scraping for monitoring (#1865) 9 hónapja
prometheus.yml 27150a2955 feat(prometheus): Docker Daemon scraping for monitoring (#1865) 9 hónapja

README.md

Prometheus Scraping & Grafana Dashboard for Jitsi

Overview

This project aims to integrate Prometheus and Grafana with Jitsi to monitor and visualize performance metrics.

Features

  • Prometheus Integration: Collects metrics from Jitsi containers.
  • Grafana Dashboards: Visualizes the metrics for easy analysis.

Installation

Prerequisites

  • Docker
  • Docker Compose

Steps

  1. Setup Jitsi with Docker Compose

Follow the Jitsi Docker setup instructions.
Also, you could follow Self - Hosting guide of Jitsi Meet: Jitsi handbook

  1. Configure Prometheus

Edit /prometheus/prometheus.yml with any Port / Container name changes are there to scrape metrics from Jitsi containers:

   scrape_configs:
     - job_name: "jitsi"
       static_configs:
         - targets: ["prosody:5280", "jvb:8080", "jicofo:8888", "otel:9464"]
  1. Run Docker Compose

The following command turns up the Jitsi Meet:

   docker-compose up -d

If you want to add the Prometheus and Grafana for monitoring purpose. Use the following command:

   docker-compose -f docker-compose.yml -f prometheus.yml -f grafana.yml up -d

To monitor Docker Engine we need to enable Open Telemetry service, which can be turned up from log-analyser.yml. Use the following command:

   docker-compose -f docker-compose.yml -f prometheus.yml -f grafana.yml -f log-analyser.yml up -d

Usage

  1. View the Prometheus Targets

Open http://localhost:9090 in your browser.

  1. Access Grafana Dashboard

Open http://localhost:3000 in your browser.

  1. Import Dashboard

Import the provided JSON file in Grafana to visualize Jitsi metrics.

Contributer

@24kushang.