$this->checkAsserts( $params );
+ $stats = $this->getContext()->getStats();
+ $statsPath = 'api.modules.' . strtr( $module->getModulePath(), '+', '.' );
+ $metric = $stats->increment( $statsPath );
+ $metric->setSampleRate( 0.001 );
+
// Execute
- $this->getContext()->getStats()->increment(
- 'api.modules.' . strtr( $module->getModulePath(), '+', '.' ) );
$module->execute();
+
Hooks::run( 'APIAfterExecute', array( &$module ) );
$this->reportUnusedParams();