Performance counters
You can enable performance counters to see real time Sitecore Commerce data in the Windows Performance Monitor tool. Four different collections of counters are available:
Command counters - for example:
CommandsRun - number of times a command has been run.
CommandRun - command process time.
CommandRunAverage - average time for a command to run.
CommandRunAverageBase - average time for a command to run base.
Metric counters - for example:
MetricCount - counts of metrics.
MetricAverage - average time for a metric.
MetricAverageBase - average time for a metric base.
List counters - for example:
ListCount - count of items in the Commerce List.
Commerce counters
ListItemProcess - average time for the list item to process.
ListItemProcessBase - average time for a list item to process base.
Installing performance counters
You can create and register the Sitecore Commerce Engine performance counters you want to use.
Two PowerShell scripts are included in the Sitecore Commerce SDK, within the Scripts folder. Use these scripts to add or remove the counters from the operating system.
CreatePerformanceCounters.ps1 – for adding counters to the operating system
DeletePerformanceCounters.ps1 – for removing counters from the operating system
The user account in which performance monitoring will be used must be added to the Performance Monitor Users local group on the operating system where the counters are installed.