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.
Readinng the documentarion, I think it is a count of all attributes from all info() method calls?
So the result is correct if only one method call returns one value.
Counting invocations was possible in the "old" appmon tool, but I think it is missing in Dynatrace )-;