bloomreach / docs-feedback

1 stars 0 forks source link

Curl Example: Download Heap Dump #115

Closed MPriess closed 1 year ago

MPriess commented 1 year ago

In the current example with curl the parameter -o is missing so that the heapdump can be saved to disk.

Could you please add -o heapdump.hprof:

curl -X GET \
  https://api.<stackname>.bloomreach.cloud/v3/environments/<env-id>/heapdump/oomcreated \
  -H 'Accept-Encoding: gzip' \
  -H 'Authorization: Bearer <auth-token>' \
  -H 'cache-control: no-cache' \
  -d '{
  "fileId": ""
}' \
-o heapdump.hprof

https://xmdocumentation.bloomreach.com/bloomreach-cloud/reference-documentation/monitor-and-analyze-jvm-memory.html

nvankampenhout commented 1 year ago

Good suggestion, done. Thanks @MPriess !