1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src
Ivar Conradi Østhus d9d9f01b37
feat: add capability to write heap snapshot. (#2611)
Is protected behind a config option called `enableHeapSnapshotEnpoint`.
When API endpoint is triggered it will write a heapSnapshot to disk.

Steps to create heap snapshot:

1. Add env variable `ENABLE_HEAP_SNAPSHOT_ENPOINT=true`. 
2. Call this endpoint: `/internal-backstage/heapSnapshot`
3. Download the created heapdump from the server. 

The snapshot can be loaded in the chrome dev-tool to analysis.
2022-12-08 11:25:39 +01:00
..
lib feat: add capability to write heap snapshot. (#2611) 2022-12-08 11:25:39 +01:00
mailtemplates refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
migrations Fix error in migration when updating feature_environments (#2607) 2022-12-06 14:57:54 +02:00
test Fix PATCH variants (old endpoint) when variants per environment are enabled (#2591) 2022-12-06 09:47:54 +00:00
migrator.ts
server-dev.ts feat: add capability to write heap snapshot. (#2611) 2022-12-08 11:25:39 +01:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00