Internal audit sink policy - monitor performance
search cancel

Internal audit sink policy - monitor performance

book

Article ID: 258077

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

As message preparation logic and JMS/MQ activity usages are very common in Internal Audit Sink policy, do you know a good approach to measure the performance of that policy? 

Environment

Release : 10.1

Resolution

If you want to audit the audit sink policy you could use the ${assertion.latency.ms} context variable to log the routing latency for the JMS or MQ routing assertions. You can find information on using this  variable for capturing assertion latency  in the docs:
https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/congw-10-1/policy-assertions/assertion-latency.html

You can also use ${request.elapsedTime) to record timings at specific points and then calculate the difference between them in post processing. One could use XPath to calculate the delta during processing but that just adds a bunch of latency.