This content is for SDK V4. App and App ID are now called Database and Database ID in SDK v5 and the Ditto Portal. The SDK v4 API names and the environment variable names used by the v4 quickstarts are unchanged. For the latest version, see the V5 documentation.
system:system_info that exposes diagnostic and observability data about your Ditto instance. This collection logs key-value pairs with timestamps, allowing you to query runtime information, configuration, and performance metrics.
The
system:system_info collection is available in Ditto SDK version 4.13.0 and later.Querying system information
Query the collection using standard DQL:Available information
Thesystem:system_info collection tracks various categories of information organized by namespace.
SDK metadata
SDK version, commit hash, language, and platform information.
Example response:
Filesystem metrics
Total device storage and available space, plus storage usage broken down by component.Transport configuration
Complete snapshot of enabled transports and their settings.System parameters
Non-default configuration parameters and collection sync scopes.
Example:
Store metrics
Document counts per collection.
Example:
Active subscriptions
Local observer subscriptions currently registered.
Example:
Connectivity
Active peer connections by transport type and cloud connection status.Logging configuration
Current logging settings.Tombstone reaper
Information about deleted document cleanup.Use cases
Thesystem:system_info collection is useful for:
- Debugging: Understand your Ditto instance configuration at runtime
- Monitoring storage usage: Track disk space consumption by component
- Verifying configuration: Confirm transport settings and system parameters
- Observability: Monitor connection counts and sync status
- Diagnostics: Gather information for troubleshooting issues
Related documentation
- Remote Observability - Device dashboard and small peer info
- SDK Logging - Configure logging settings
- Troubleshooting - Debug common issues