Openprofiling Packages
@openprofiling/exporter-gcs
This exporter is advised when profiling distributed applications where retrieving from each container file system can be hard. It will just write the profile to a remote S3-compatible server, the file name in each bucket will follow the following format:
@openprofiling/inspector-cpu-profiler
This profiler is the recomended one to profile the CPU usage of your NodeJS application. It has a almost-zero impact on performance and specially suited for long-lived application.
@openprofiling/inspector-heap-profiler
This profiler is the recomended one to profile the memory usage per function of your NodeJS application. It has a almost-zero impact on performance and specially suited for long-lived application.
@openprofiling/inspector-trace-events
This one isn't really a profier, more like a collector. As defined in the [official documentation](https://nodejs.org/dist/latest-v10.x/docs/api/tracing.html): > Trace Event provides a mechanism to centralize tracing information generated by V8, Node.js c
@openprofiling/gateway-ws-client
TODO
@openprofiling/trigger-signal
This trigger is most probably the easier to use because you just need to send a signal to the process (which is generally straightforward even with containers).
@openprofiling/exporter-file
This exporter is the simplest one, it will just write the profile to the disk, you can configure the path if needed. The file name will follow the following format:
@openprofiling/exporter-s3
This exporter is advised when profiling distributed applications where retrieving from each container file system can be hard. It will just write the profile to a remote S3-compatible server, the file name in each bucket will follow the following format:
@openprofiling/gateway-ws
This package is intented to be used as a standalone
@openprofiling/inspector-heapsnapshot
This profiler is not advised to run in production (see drawbacks) but can help a lot debuging memory leak in production. It allows taking a snapshot of all the memory current allocated in your application. You will be able to see which type of object are