collect
Add collector for statistics information. It will be activated in prepareStatistics function if it has not been removed from StatisticsProvider.
Create with StatisticsProvider function
Parameters
id
unique ID for collector
collector
collector for SharedFlow based on STAT_COLLECTOR_SCOPE
See also
Statistics Provider Instance