Custom service detection

Custom service detection allows you to define your own service-detection rules on top of the default set of detection rules, enabling you to:

  • Adding granularity when one process provides a number of different services that should be tracked as individual services
  • Extending service detection to include batch jobs

Requirements

  • OneAgent version 1.133 or later

Define custom service detection

  1. Go to Settings > Server-side service monitoring > Custom service detection.

  2. Select the PHP services tab.

  3. Click Define PHP services and then click Define entry point manually.

  4. Define the entry point:

    • Name your the service
    • File name
    • Optional Fully qualified class name
    • Method
  5. Save your changes.

Each time the specified method is called within a request, the request will be associated with this defined service.

This newly defined service will be displayed in: