Modes of operation
Flowstate provides two modes of operation for a workcell:
developoperate
When to use each mode
The develop mode should be used while a solution is under development. Use the operate
mode when a solution is finalized and running in
a production environment. operate mode is more tuned to work under production
environment constraints like weak internet connectivity.
Detailed description of modes
- In
operatemode, only critical data is sent to the cloud. More specifically, text logs only atERRORandFATALlevels are collected. Platform operational metrics are also not collected. - In
developmode, text logs at all levels are collected. Platform operational metrics are collected as well.
Features such as recordings are available in both modes to extract and send specified structured logs to the cloud.
By default, a workcell is in develop mode until explicitly toggled to operate.
Viewing and changing the current mode
Use the following command to view the current mode:
inctl cluster mode get --org ${INTRINSIC_ORGANIZATION} --cluster <workcell_name>
Use the following command to change the current mode:
inctl cluster mode set \
--target=<develop|operate> \
--org ${INTRINSIC_ORGANIZATION} \
--cluster <workcell_name>
The value of the --target parameter can be develop or operate.