1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
unleash.unleash/src/lib
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
..
__snapshots__ feat: add capability to write heap snapshot. (#2611) 2022-12-08 11:25:39 +01:00
addons Docs(fix): add more (missing) redirects, fix links (#2592) 2022-12-06 09:32:42 +01:00
db Fix PATCH variants (old endpoint) when variants per environment are enabled (#2591) 2022-12-06 09:47:54 +00:00
error Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
middleware Fix/cors expose ETag (#2594) 2022-12-05 10:04:35 +01:00
openapi Favorite project (#2569) 2022-11-30 13:41:53 +02:00
proxy Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
routes feat: add capability to write heap snapshot. (#2611) 2022-12-08 11:25:39 +01:00
schema feat: Add variants per env (#2471) 2022-11-21 10:37:16 +01:00
services Fix PATCH variants (old endpoint) when variants per environment are enabled (#2591) 2022-12-06 09:47:54 +00:00
types feat: add capability to write heap snapshot. (#2611) 2022-12-08 11:25:39 +01:00
util ui flags replaced in index.html (#2617) 2022-12-07 14:31:27 +02:00
app.test.ts
app.ts fix: adds cors caching (#2522) 2022-11-24 16:14:47 +01:00
create-config.test.ts If baseUriPath is set format it, but if it's not, don't override default with empty string (#2118) 2022-11-08 15:29:14 +01:00
create-config.ts feat: add capability to write heap snapshot. (#2611) 2022-12-08 11:25:39 +01:00
default-custom-auth-deny-all.ts refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
event-hook.test.ts
event-hook.ts
internals.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
logger.test.ts fix: convert more tests to typescript 2021-09-14 20:30:37 +02:00
logger.ts
metric-events.ts
metrics.test.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
metrics.ts Feat/stats service (#2211) 2022-10-25 13:10:27 +02:00
server-impl.test.ts fix: Do not call store function in constructor 2022-09-15 09:48:14 +02:00
server-impl.ts add back removed permissions and eventType from module exports (#2476) 2022-11-21 10:42:43 +02:00