Cloud Hot Folder Monitoring Actions

You can monitor the end-to-end processes associated with Cloud Hot Folders. When platform monitoring is enabled, logging information, metrics, and type system information is available.

The following table includes monitoring actions and additional information regarding each action.

Action

Additional Information

Downloaded

The specific remote storage implementation handles the download. The cloudcommons or cloudhotfolder extension is not responsible for download.

The Microsoft Azure Blob Storage implementation provides information on how long the file took to download along with the size of the file.

File routed

If a file is routed successfully, this action is not recorded. For files that are not routed successfully, a warning is recorded.

File Unzipped

This action records the time it took to unzip the file staged for processing.

Header Setup

This action records the time it took to set up the BatchHeader/ZipBatchHeader.

Header Initialized

This action records the time it took to initialize the BatchHeader/ZipBatchHeader.

Header Transformed

This action records the time it took to transform raw CSVs to Impex in the BatchHeader/ZipBatchHeader.

Header Executed

This action records the time it took to execute all the Impex files in the BatchHeader/ZipBatchHeader. It also records the time required for each Impex run as a separate action and displays the results.

Header Cleanup

This action records the time it took to clean up any converted files and also move the original files into the archive directory.

The following properties enable you to control specific monitoring. The properties shown here represent current defaults, which can be modified, either through the SAP Commerce Cloud Administration Console, or by editing your code.

Property

Purpose

cloud.commons.monitoring.metric.counter.enabled=true Reports in numerical form how many instances of individual steps were completed.
cloud.commons.monitoring.metric.histogram.enabled=true Reports in histogram form how many instances of individual steps were completed.
cloud.commons.monitoring.metric.timer.enabled=true Enables the duration of each step to be reported.
cloud.commons.monitoring.logging.enabled=true Enables logs to be saved to Kibana.
cloud.commons.monitoring.database.enabled=true Enables MonitorHistoryData to be saved to SAP Commerce Cloud.
cloud.commons.monitoring.job .cleanup.successful.threshold=7 Defines the number of successful MonitorHistoryData instances that are retained by SAP Commerce Cloud before being deleted.
cloud.commons.monitoring.job .cleanup.unsuccessful.threshold=21 Defines the number of unsuccessful MonitorHistoryData instances that are retained by SAP Commerce Cloud before being deleted.

For additional monitoring and metrics solutions, refer to AOP Monitoring.