Features
Usage Overview
On the Usage Overview tab, you can view the usage metrics of the Shadow Service.
Memory Usage
- Check the total memory and the used memory.
- The system will occupy about 10MB of storage by default.
- The amount is the average usage of the last hour and updates every hour.
Monthly Invocations
The invocation includes every message published from the device or client and every API call. The message subscribed from the device side will not be counted.
Usage Statistics
The statistics are real-time usage for coordinate point times. In 1 hour chart, it will show the system invocations which is invoked in every 5 minutes for connection check. The system invocations will not be counted in billed invocations.
Shadow Models
In the Shadow Models list, you can create, edit, and delete shadow models, and import custom's shadow models in bulk via CSV files.
Add Shadow Model
Click the Add button to create a new shadow model.
Field | Necessity | Note |
---|---|---|
Name | Required | 3 to 50 characters, and can only contain letters, numbers, "-", "_", "." |
ID | Required | ID is a globally unique identifier for the shadow model that will be used in Topic and API, with a minimum of 8 bits and a maximum of 64 bits, and can only contain letters, numbers, "_", and "-". If not filled in it will be automatically generated. |
Note | Conditional | Put a note |
Topic for publishing | Generated | Automatically generated, the topic is based on ID for message publishing. |
Topic for subscription | Generated | Automatically generated, the topic is based on ID for message subscription. |
Shadow Model Detail
Click the Shadow Model ID in the list, or click the "edit" icon in the Actions column to view the shadow model detail. On this page, you can view and modify the name and notes of the current shadow. You can also see the latest data of the payload JSON. And you can modify the JSON from the pop-up window.
TIP
Once a shadow model is created, the ID cannot be modified anymore.
Learn more about the publishing topics and the subscription topics from Communication.