Use Fact Optimization is introduced with workgroup server version 10.5.0.42 and is available in all the future updates. This option is present in general tab of workgroup server properties. Screenshot is attached below for reference.
If WGS fact optimization is enabled, then workgroup server subscribes to the list of facts used by sensors and publishes only these facts. By doing this, WGS dynamically recognises & publishes only the facts required for business use cases, while effectively reducing the system resource utilization. This helps to improve performance of the product and reduce latency delays, out of memory conditions and other such related issues.
If there is a requirement, where we want workgroup server to publish new facts that are not being subscribed by any policy/sensor, users need to add java property apwmq.apnet.facts to node.properties file and define the additional facts with a comma separated list. Generally, this file is located at $AUTOPILOT_HOME/localhost directory. Example below is for publishing EMS queue pending message count, MQ queue current depth, even if they are not being used in any sensor.
property apwmq.apnet.facts=CURDEPTH,PNDNGMSGCOUNT