Resolution: ========= Metrics behaves like concepts. Whatever restrictions apply to concepts also apply to metrics. You can create metrics but not modify or delete existing metrics in the preprocessor.
Please refer to the following documentation for detailed information:
BE documentation --> Architect's Guide --> Channels and Events --> Event Preprocessors --> Preprocessor Use Guidelines
Issue/Introduction
Is computing metrics in an event preprocessor allowed?