Skip to content

Configuration

DP³ configuration is split across multiple files. You can browse them by filename below, but if you need to configure a specific aspect of the platform, start with these task-oriented groups. For step-by-step workflows, see the How-to guides.

How to configure the platform and required services

Use these pages when wiring DP³ to MongoDB, RabbitMQ, Redis, and the basic API/runtime settings needed to get the platform running. The supplied Docker Compose setup already starts MongoDB, RabbitMQ, and Redis for local development, but their connection details and runtime knobs are still configured in these files.

How to configure the data model and entity lifecycle

Use these pages to define entities and attributes, decide how long entities should live, and understand how cleanup settings affect them. Entities are immortal by default, so most applications should review lifetime and cleanup settings explicitly.

How to configure snapshots

Snapshot behavior spans several files: whether an entity supports snapshots, when snapshots are created, how long they are kept, how they are stored, and whether they can be triggered manually.

How to configure data retention, cleanup, and archival

Use these pages when deciding how long datapoints and snapshots are kept, when old data is aggregated or deleted, and whether raw datapoints are archived.

How to configure modules, new attributes, and periodic jobs

Use these pages when enabling modules, adding module-specific configuration, scheduling periodic updates, or rolling out a newly emitted attribute. If a module or external producer starts sending a new attribute, define it in db_entities first, validate the configuration with dp3 check, and then reload the affected API and worker processes.

Reference by file

DP³ configuration folder consists of these files and folders:

The details of their meaning and usage are explained on their respective pages.

Example configuration

Example configuration is included config/ folder in DP³ repository.