Click a Blocklet on the Blocklet Management page to arrive on the configuration page for the respective Blocklet. The page provides details about the installed Blocklet. The page allows you to control Blocklet operation and update its configuration.
On the details page, there is a row of operation buttons on the top right:
Reload: Reload the configuration
Remove(as stated earlier, you will be prompted to choose whether to delete the blocklet data as well)
There are the following three tabs that provide further details about the Blocklet
The Overview tab provides details like version, status, location, source, etc, for the installed Blocklet binary. It also captures basic usage metrics like uptime, CPU, and memory usage.
The page also shows different data locations for the different types of files used by the Blocklet.
- APP Directory: The location to store Blocklet binary.
- Data Directory: The location to store all data processed by a Blocklet.
- Log Directory: The location for the logs generated by the Blocklet
- Cache Directory: The location used for caching data by the blocklet.
You may prefer to monitor the logs and backup all data for the required directories.
The Access URLs tab provides various access locations for a running Blocklet.
These URL are specified by the interfaces provided in the Blocklet configuration.
The Configuration tab displays different user defined, Blocklet defined and Blocklet Server defined environment variables.
The Blocklet uses the user-defined variables to customize its behavior as per the provided configuration. These variables are defined by the Blocklet developer and updated by the user as per the required usecase. Please refer to Blocklet documents to determine the supported user-defined variables.
The following variables are from kitchen Sink blocklet.
User defined variables can be updated by clicking the corresponding
pencil(edit) icon. This converts the value field into an editable text box. The value updates are not auto saved, and a user must confirm or reject the changes by clicking the
tick or the
These variables area defined by Blocklet Server to specify an installed blocklet configuration. Most of these variables are immutable. Only a few of these variables can be updated to configure blocklets.
BLOCKLET_PORT: Blocklet port
BLOCKLET_APP_DIR: Blocklet application directory
BLOCKLET_MAIN_DIR: Blocklet main directory
BLOCKLET_DATA_DIR: Blocklet data directory
BLOCKLET_LOG_DIR: Blocklet log directory
BLOCKLET_CACHE_DIR: Blocklet cache directory
BLOCKLET_APP_SK: Blocklet app sk
BLOCKLET_APP_ID: Blocklet app id
BLOCKLET_BASE_URL: Blocklet base URL
BLOCKLET_REAL_DID: Blocklet prefix
BLOCKLET_DID: Blocklet prefix
BLOCKLET_APP_NAME: Blocklet prefix
BLOCKLET_APP_DESCRIPTION: Blocklet prefix
These are immutable variables that provide Blocklet Server related information.
ABT_NODE_DID: Blocklet Server did
ABT_NODE_PK: Blocklet Server pk
ABT_NODE: Blocklet Server Version
ABT_NODE_PORT: Blocklet Server port
ABT_NODE_SERVICE_PORT: Blocklet Server service port
ABT_NODE_EVENT_PORT: Blocklet Server Event port