feat(rtcstats): add rtcstats support (#2116)
* feat(rtcstats): add rtcstats support * chore(rtcstats): update users.json to use placeholder password * chore(rtcstats): update RTCSTATS_STORE_LOGS in env.example * chore(rtcstats): add expose ports * feat(rtcstats): add mongodb support * docs(rtcstats): add readme for mongodb integration * chore(rtcstats): fix readme * feat(rtcstats): add grafana dashboard for prometheus metrics * chore(rtcstats): update readme * chore(rtcstats): fix readme * chore(rtcstats): add troubleshooting to localstack readme * fix(rtcstats): improve accuracy of dashboard graphs * fix(rtcstats): fix typo in dashboard display name * fix(rtcstats): simplify and clean up localstack configuration * docs(rtcstats): improve localstack readme --------- Co-authored-by: Andrei Gavrilescu <51706180+andrei-gavrilescu@users.noreply.github.com>
This commit is contained in:
29
rtcstats/mongodb/README.md
Normal file
29
rtcstats/mongodb/README.md
Normal file
@@ -0,0 +1,29 @@
|
||||
## Using MongoDB
|
||||
|
||||
This section describes how to use MongoDB for rtcstats.
|
||||
|
||||
### Setup
|
||||
|
||||
|
||||
1. **Configure Environment Variables**
|
||||
|
||||
Edit the MongoDB environment variables in `rtcstats/.env`:
|
||||
```
|
||||
# Set the service type. Can be "AWS" or "MongoDB".
|
||||
RTCSTATS_SERVICE_TYPE=MongoDB
|
||||
|
||||
...
|
||||
|
||||
# For MongoDB
|
||||
RTCSTATS_MONGODB_URI=mongodb://root:root@mongodb.meet.jitsi:27017
|
||||
RTCSTATS_MONGODB_NAME=rtcstats-db
|
||||
RTCSTATS_METADATA_COLLECTION=rtcstats-meta-collection
|
||||
RTCSTATS_GRIDFS_BUCKET=rtcstats-dump-file-bucket
|
||||
```
|
||||
|
||||
2. **Run Docker Compose with MongoDB**
|
||||
|
||||
From your `docker-jitsi-meet` directory, run the following command to start all services, including Jitsi Meet, rtcstats, and Localstack.
|
||||
```shell
|
||||
docker compose -f docker-compose.yml -f rtcstats.yml -f ./rtcstats/mongodb/mongodb.yml up -d
|
||||
```
|
||||
Reference in New Issue
Block a user