omni::telemetry::kUploadAllAndExitSetting

Defined in omni/structuredlog/Telemetry.h

constexpr const char *omni::telemetry::kUploadAllAndExitSetting = "/telemetry/uploadAllAndExit"

When this setting is set to true, it will cause the transmitter to try to upload all the events that are currently stored and exit once there are no remaining events.

This is used in tests and use cases where the transmitter is run as a one-shot operation after a given process has exited.

This defaults to false.

Note

This setting overrides the behavior of kStayAliveSetting when enabled.