File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ This project demonstrates how to use rtcstats with Jitsi Meet to gather detailed
3939 docker-jitsi-meet/rtcstats$ cp ./rtc-visualizer/env.example ./rtc-visualizer/.env
4040 ```
4141
42- Next, edit `rtc-visualizer/.data/users.json` to add your users. The default credential is `admin:admin `.
42+ Next, edit `rtc-visualizer/.data/users.json` to add your users. The default credential is `admin:CHANGE_ME `.
4343 ```json
4444 {
4545 "Alice": "XXX",
@@ -61,3 +61,23 @@ This project demonstrates how to use rtcstats with Jitsi Meet to gather detailed
6161
6262 Open [https://localhost:8443/rtc-visualizer](https://localhost:8443/rtc-visualizer) (or `PUBLIC_URL/rtc-visualizer`) in your browser.
6363
64+ ## Monitoring with Prometheus
65+
66+ 1 . ** Update Prometheus Configuration**
67+
68+ Add the rtcstats-server endpoint to `prometheus/prometheus.yml`.
69+ ```yml
70+ scrape_configs:
71+ - job_name: "prometheus"
72+ # ... other configurations
73+ static_configs:
74+ - targets: ["...","rtcstats-server:8095"]
75+ ```
76+
77+ 2 . ** Run Docker Compose**
78+
79+ Restart your environment with the `prometheus.yml` and `grafana.yml` files to launch the monitoring services.
80+
81+ ```shell
82+ docker compose -f docker-compose.yml -f rtcstats.yml -f prometheus.yml -f grafana.yml up -d
83+ ```
You can’t perform that action at this time.
0 commit comments