Create PHP Information Points
However, for PHP, the information point is defined in JSON syntax, and there are a few limits on configuration options. For one, class matching is limited to classname-based matches only. (Superclass matching or annotation matching are not available.) Also, you can only define a single match condition on a matched method. (A match condition refines the match of a method by testing a parameter or return value.)
If you do not configure a custom metric, the information point captures the generic KPIs for a matched method (response time, calls and calls per minute, errors an errors per minute). Custom metrics extend the information point by capturing the return or parameter value of a method, or the value of an invoked object.
To create an information point for PHP:- Define the information point using JSON notation.
- In the definition, specify the method for the information point
- Optional: Specify a point in the code that you want to capture as a custom metric, such as a parameter value or return value.
- Navigate to and add an information point.
- Choose PHP as the agent type and then paste the definition into the information point text box.