omni::telemetry::kSeekTagNameLeaf

Defined in omni/structuredlog/Telemetry.h

constexpr const char *const omni::telemetry::kSeekTagNameLeaf = "seekTagName"

This setting is an optional member of the kTransmitterSetting object.

The tag name that will be used to record how much of the file was processed. Unless kResendEventsSetting is set to true, the seek tags are used to tell the transmitter how much of the log has been processed so far so that it won’t try to send old events again. The default value of this is “seek”. You may want to change the seek tag name if you need to send data to multiple telemetry endpoints with separate transmitter processes.

Note

The telemetry log files have a 256 byte header. Each seek tag will add 13 bytes to the header + the length of the tag name. When the log header space is exhausted, the header will not be updated, which is equivalent to having kResendEventsSetting is set to true. Please avoid long tag names to avoid this risk.