journey.diagnostics
Overview
Version compatibility
journey.diagnostics
was introduced with version 4.37.0 of the JourneyApps Container.
Returns diagnostics information otherwise only available to the user via the context menu.
Available diagnostics:
getSyncStatus()
lastFullSync
Timestamp of the last full sync that was completed.
See an example below.
attachmentQueue.size
Total size in bytes of attachments to upload.
attachmentQueue.count
Number of attachments to be uploaded.
crudQueue.count
Number of operations in the upload queue.
crudQueue.size
Total size of object data in upload queue.
getStorageStats()
database
Stats for the main on-device object database. Not LocalDB or attachments.
database.dataSize
Total size in bytes of object data.
database.dataCount
Number of objects.
database.indexSize
Total size in bytes of all indexes.
database.indexCount
Number of index entries.
database.storageSize
Total size in bytes of the main database (excluding attachments).
Examples
getSyncStatus()
getSyncStatus()
all()
all()
Last updated