Skip to main content
This content is for SDK V4. For the latest version, see the V5 documentation.
Ditto provides a read-only system collection 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.
Observers registered against system:system_info execute every 500ms regardless of whether data has changed. Consider the performance implications before registering observers on system collections, especially on resource-constrained devices.

Querying system information

Query the collection using standard DQL:
You can filter by specific keys or namespaces:

Available information

The system: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

The system: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