Options
An option passed tomanifest() replaces its environment variable. The SDK
starts once per process, so a new configuration needs a restart. In PHP, a
second manifest() call does update the key, the address and the callback.
The Hermes plugin reads
MNFST_KEY and MNFST_URL. HERMES_TRACE_DIR sets
the folder where the plugin writes its log.
The callback
The callback is a function of yours that the SDK runs after each recoverable request. It receives one event with six fields:url, status_code,
heal_status, replay_status_code, heal_ms and operations. Node and PHP
write the names in camelCase.
With
patched or unverified, a replay_status_code of None in Python or
null in Node and PHP means the SDK could not send the retry. Your app then
received the original error.