Profiler Log
Vault’s SDK Request Profiler allows developers to create SDK request profiling sessions, which allow developers to troubleshoot and improve custom SDK code quality by analyzing results at the SDK request level. Through Vault API, developers can create profiling sessions that capture all SDK requests that occur while the session is active. Profiling sessions can be configured for either one specific user, or for all users.
Users with the Admin: Logs: Vault Java SDK permission can create profiling sessions. When created, profiling sessions begin immediately and run for either 20 minutes or up to 10,000 SDK requests, whichever comes first. To end a session early, developers can use the End Session endpoint. Once ended, a session’s status is processing__sys while Vault prepares the data, which may take about 15 minutes. Once the status is complete__sys, the data is available for download with the Download Profiling Session Results endpoint.
Profiler logs expire after 30 days. At the end of 30 days, Vault deletes the log and all log files.
The Profiler Log is also available in the Vault UI from Admin > Logs > Developer Logs. Learn more about the Profiler Log in Vault Help
Log Data
Section link for Log DataAdmins can download profiling results as a CSV through the Vault Admin UI and Vault API, which includes one row per SDK request with the following data:
- Timestamp, in UTC
- Initiating user ID and Username
- Execution ID
- Total gross memory, in bytes
- Elapsed time, in milliseconds
- CPU time, in nanoseconds
For more specific information about the log data, see the Download Profiling Session Results API request.