Tenant Profiles
Tenant profile defines resource limits, quotas, and operational behavior applied to tenants in ThingsBoard. It enables resource isolation across multiple tenants and allows platform administrators to enforce fair resource allocation, maintain predictable system performance, and prevent platform overload in multi-tenant deployments.
Tenant profiles are created and managed by the System administrator.
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.
- 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 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”Controls 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 limits are reached, message processing may be restricted to enforce quotas.
A value of 0 means unlimited.
Calculated fields limits
Section titled “Calculated fields limits”Defines limits for calculated telemetry functionality:
- 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 how long debugging sessions can run for the tenant.
File storage limits
Section titled “File storage limits”Defines file-related 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 rate limiting rules. Configurable parameters include:
- 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 set, 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 ThingsBoard 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.