NOTE: The steps in this article will not work with Controller v20.4.0; It is currently in active revision.
Use information points to define custom metrics based on methods you configure. Information points are similar to data collectors. However, while data collectors show application data in the context of a business transaction, information points reflect data state across all invocations of a method, independently of business transactions.
Steps to follow:
Log out of the Controller
Launch the following URL and login with the following credentials
1) Information point 1: Name = MetricDataInserter.doMetricDataInsertWithSort Class = com.singularity.ee.controller.beans.agent.db.MetricDataInserter Method = doMetricDataInsertWithSort Custom Metric = metric count (see attached doMetricDataInsertWithSort_count.png )
2) Information point 2: Name = Metric Upload Queue Wait Time Class = com.singularity.ee.controller.beans.agent.db.MetricUploadProcessorBean Method = reportMetricUploadQueueWaitTime Custom Metric = reportMetricUploadQueueWaitTime.waitTimeMS (see attached reportMetricUploadQueueWaitTime.waitTimeMS.png)
3) Custom POJO BT Match rule: Left Menu -> Configuration -> Instrumentation -> Select application (or App Server Tier if it shows green tick mark at this) -> Custom Match Rule -> Create new POJO rule Name = MetricUploadProcessorBean.handleSingleRequestBackground Match Class equals = com.singularity.ee.controller.beans.agent.db.MetricUploadProcessorBean Method equals = handleSingleRequestBackground