Tenant Profiles
A Tenant profile defines the resource limits, quotas, and operational behavior applied to tenants in ThingsBoard. It provides resource isolation across tenants, allowing System administrators to enforce fair resource usage, maintain predictable performance, and prevent overload in multi-tenant deployments.
Manage Tenant Profiles
Section titled “Manage Tenant Profiles”Create Tenant Profile
Section titled “Create Tenant Profile”- From the sidebar, navigate to Tenant profiles.
- Click + Add tenant profile ⇾ Create new tenant profile.
- Enter the Name of the profile.
- Configure the required limits in the profile configuration section.
- Click Add.
The new profile appears in the Tenant profiles list and is available for assignment to tenants.
Edit Tenant Profile
Section titled “Edit Tenant Profile”- Navigate to Tenant profiles.
- Click the profile name to open its details.
- Click the Edit (pencil) button.
- Update configuration parameters as needed.
- Click Apply changes.
Changes take effect immediately for all tenants assigned to this profile.
Set as Default
Section titled “Set as Default”In the Tenant profiles list, you can mark a profile as the default. The default profile is automatically assigned to newly created tenants unless another profile is explicitly selected.
Import Tenant Profile
Section titled “Import Tenant Profile”- From the sidebar, navigate to Tenant profiles.
- Click + Add tenant profile ⇾ Import tenant profile.
- Upload the profile configuration file.
- Click Import.
Delete Tenant Profile
Section titled “Delete Tenant Profile”- Click the trash icon next to the profile name.
- Confirm deletion.
Profile Configuration
Section titled “Profile Configuration”All configuration parameters are available in the details section of the tenant profile.
Entity Limits
Section titled “Entity Limits”Defines the maximum number of entities a tenant can create:
- Devices maximum number
- Dashboards maximum number
- Assets maximum number
- Users maximum number
- Integrations maximum number
- Scheduler events maximum number
- Reports maximum number
A value of 0 means unlimited.
API Limits & Usage
Section titled “API Limits & Usage”Defines high-level API and processing limits:
- Rule Engine executions maximum number
- Transport messages maximum number
These limits control the total number of processed messages and Rule Engine executions per tenant. When a limit is reached, message processing is restricted.
A value of 0 means unlimited.
Calculated Fields Limits
Section titled “Calculated Fields Limits”Defines limits for calculated fields:
- Calculated fields per entity maximum number
- Arguments per calculated field maximum number
- Max data points number in rolling arguments
A value of 0 means unlimited (except where a specific default value is defined).
Data Retention (TTL)
Section titled “Data Retention (TTL)”Defines data retention policies in days:
- Data points storage days maximum number
- Alarms TTL days
- Storage TTL days by default
- RPC TTL days
- Queue stats TTL days
- Rule Engine exceptions TTL days
- Blob entity TTL days
- Report TTL days
A value of 0 means unlimited retention. See Configure Telemetry TTL for a step-by-step guide.
Alarms and Notifications
Section titled “Alarms and Notifications”Defines notification and alarm quotas:
- SMS enabled (toggle)
- Emails sent maximum number
- Alarms created maximum number
A value of 0 means unlimited. These limits prevent excessive notification generation and alarm flooding.
Debug Settings
Section titled “Debug Settings”- Maximum debug duration (minutes) — limits the duration of debug sessions for the tenant.
File Storage Limits
Section titled “File Storage Limits”Defines file storage limits:
- Maximum total size of resource files (bytes)
- Maximum total size of OTA package files (bytes)
- Maximum resource file size (bytes)
A value of 0 means unlimited. File limits prevent excessive storage consumption by a single tenant.
WebSocket (WS) Limits
Section titled “WebSocket (WS) Limits”Defines WebSocket session and subscription limits:
- Sessions per tenant maximum number
- Subscriptions per tenant maximum number
- Sessions per customer maximum number
- Subscriptions per customer maximum number
A value of 0 means unlimited.
Rate Limits
Section titled “Rate Limits”Controls transport throughput using the following rate limiting parameters:
- Transport tenant messages
- Transport device messages
- Transport tenant telemetry messages
- Transport device telemetry messages
- Transport gateway messages
- Transport gateway device messages
- Transport gateway telemetry messages
- Transport gateway device telemetry messages
If not configured, rate limiting is not applied. Rate limits protect platform stability and ensure predictable performance during peak load.
Isolated Rule Engine Queues
Section titled “Isolated Rule Engine Queues”The profile includes an option to enable isolated Rule Engine queues.
When enabled:
- Each tenant uses dedicated Rule Engine queues.
- Message processing is isolated from other tenants.
- Performance and fault isolation are improved.
Isolated queues can be combined with dedicated Rule Engine instances for enhanced scalability and resource separation.
Assign a Tenant Profile
Section titled “Assign a Tenant Profile”System administrators assign a tenant profile when creating or editing a tenant:
- From the sidebar, navigate to Tenants.
- Open the tenant details or click + Add tenant to create a new one.
- In the Tenant profile field, select the desired profile.
- Save or apply changes.
Once assigned, the profile’s limits and policies take effect immediately.