Can someone provide me with the steps to create a CSM that captures the number of times a particular method is called in a request to a service? I have tried creating a Request Attribute that is scoped to the method (info() logging method) and I have tried using the Occurrences metric but it does not give me the number of info() method calls. Instead it gives me the number of requests that contained at least one info() method call. I need to capture the number of times the method is actually called.
Solved! Go to Solution.