Versions Compared

Key

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

...

Example:
A metric shows top-N tickets creators with a specific ticket type, created after a certain date and set limit of output data.

For the metric we have to create 3 types of parameters:

  • for the ticket type (Dropdown list type) - $type$

  • for created after (Date field type) - $created_after$

  • for limit (Input field type) - $n$

PerfQL:

select reported_by, count(*)
from Ticket
where type in $type$
and created > $created_after$
group by reported_by
order by count desc
limit $n$

...

Edit

...

Parameter

The added/configured parameters are possible to Edit on the ‘Create New Metric’ or ‘Edit Metric’ custom metric stepper.

...

  1. On the ‘Edit Parameters’ form make changes and click the Save button for updating the Parameter.

...

Note

Please do not forget to update PerfQL for the changed parameter in PerfQL if necessary.

Delete Parameter

The added/configured parameters are possible to Delete on the ‘Create New Metric’ or ‘Edit Metric’ custom metric stepper.

  1. Hover on a Parameter and click the Bin button

...

Note

Please do not forget to update PerfQL for the deleted parameter if necessary.