Create PHP Information Points

The elements of the definition correspond to configuration options available in the Add Information Point dialog for Java or .NET applications.

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:
  1. Define the information point using JSON notation.
  2. In the definition, specify the method for the information point
  3. Optional: Specify a point in the code that you want to capture as a custom metric, such as a parameter value or return value.
  4. Navigate to More > Information Points and add an information point.
  5. Choose PHP as the agent type and then paste the definition into the information point text box.