Builder
Properties
This should be stable, secure, unique to your product.
The metadata schema version. Usually constructed as the major plus minor version part without dots. E.g., for both 2061.1 and 2026.1.1 it would be 261. Use 0 for unversioned metadata.
true by default to optimize logging. Set to false for test cases that require synchronous logging.
If false, events are discarded when queued. Default is true, but for production you should use a (potentially dynamic) variable reflecting user consent.
If false, events can go through validation and anonymization but are discarded after. Default is true, but for production you should use a (potentially dynamic) variable reflecting user consent.
If false, the queue is never drained. Should only be true if user consent is given. Default is true, but for production you should use a (potentially dynamic) variable reflecting user consent.
Short letter code stored as a string to identify the product. More information on YouTrack.
Human-readable name of the product.
Version of the product. More information on YouTrack.
Short letter code stored as a string to identify the product's recorder(s). More information on YouTrack.
Version of the product's recorder(s).
If true, metadata is fetched upon startup; otherwise, after 3 minutes. Immediate fetching can impact the startup time of, e.g., IDEs but can be useful for tests or lightweight applications.
Chooses the server for data storage, based on where that data is collected. Use RegionCode.ALL except for data collected in China, which requires RegionCode.CN to comply with Chinese restrictions.