Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Table of Contents

Overview

If standard PERF datasets doesn't meet your requirements, create custom data selection over PERF data using PERF Query Language (PerfQL, based on SQL).

...

Info

PerfQL Rules

  1. Only Select statements.

  2. Only one root statement per query.

  3. Only specified list of functions could be used (list of supported functions).

  4. Only specified list of datasets (tables and fields) could be used (list of alloweddatasets).  

  5. See examples of PerfQL Quries Queries for different cases

In case there are any syntax errors, the area will display an error message.

PerfQL for JSON type of fields

To build a custom metric with data which is stored in JSON form, select nessesary data from JSON in the Delivery Central → Perf → Custom Metrics → Select Data:

  1. Open Developer Tools in your browser and open Network tab;

  2. Insert PerfQL with the JSON field, for example: select custom_fields from Ticket;

  3. Click Reload;

  4. Click on the sample-data in the console;

  5. Open Responce tab.

Response tab has list of all custom fields and their data.

...

Find nessesary field in the Response and copy it name. Then use function json_array_elements(json) and select this field with value as separate column togather with other nessesary fields.

...

Result Preview

To preview data based on your PerfQL request, click the Reload button and you’ll see the result table in the Result Preview area. 

...

If there is no data to calculate (e.g., the data source was not configured or was removed), the area will display "No Data" message.

Note

Note:

 Result preview is read-only and displays only first 100 records but metric will be calculated for all available data.

Insert excerpt
Integrations
Integrations
nameCopyright
nopaneltrue

...