diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-10 19:02:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-10 19:02:25 +0200 |
commit | bb8f371d376c63a8774c17c2ede69fc065cfd30c (patch) | |
tree | 4b695903e4a876ff577f60c7d3974d8efe87fd39 /support | |
parent | d61515e12a8803a1662d1122a171201622a0ed77 (diff) | |
download | PeerTube-bb8f371d376c63a8774c17c2ede69fc065cfd30c.tar.gz PeerTube-bb8f371d376c63a8774c17c2ede69fc065cfd30c.tar.zst PeerTube-bb8f371d376c63a8774c17c2ede69fc065cfd30c.zip |
Add monitoring dev doc
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/development/monitoring.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/support/doc/development/monitoring.md b/support/doc/development/monitoring.md new file mode 100644 index 000000000..8b637e079 --- /dev/null +++ b/support/doc/development/monitoring.md | |||
@@ -0,0 +1,17 @@ | |||
1 | # Monitoring | ||
2 | |||
3 | ## Client modules | ||
4 | |||
5 | To open a report of client build: | ||
6 | |||
7 | ``` | ||
8 | $ npm run build -- --analyze-bundle && npm run client-report | ||
9 | ``` | ||
10 | |||
11 | ## API benchmark | ||
12 | |||
13 | To benchmark the REST API and save result in `benchmark.json`: | ||
14 | |||
15 | ``` | ||
16 | $ node dist/scripts/benchmark.js benchmark.json | ||
17 | ``` | ||