]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/development/monitoring.md
Add monitoring dev doc
[github/Chocobozzz/PeerTube.git] / support / doc / development / monitoring.md
diff --git a/support/doc/development/monitoring.md b/support/doc/development/monitoring.md
new file mode 100644 (file)
index 0000000..8b637e0
--- /dev/null
@@ -0,0 +1,17 @@
+# Monitoring
+
+## Client modules
+
+To open a report of client build:
+
+```
+$ npm run build -- --analyze-bundle && npm run client-report
+```
+
+## API benchmark
+
+To benchmark the REST API and save result in `benchmark.json`:
+
+```
+$ node dist/scripts/benchmark.js benchmark.json
+```