1. Metrics
  2. Action Count

Metrics

Action Count

Tracks the number of times an action has been executed on a stub..

Basic usage

Track the number of times an action has been executed on a stub.

{
metrictype
:
action_count
params
:
{
category
:
counters
fieldname
:
{{stubpost.action_name}}_run_count

Parameters

metrictype
required
string

Metric type to be used.


params.category
optional
string

This is a grouping of metric within the stub.metrics root.


params.fieldname
required
string

This is the fieldname to which the data will be written to in stub.metrics.