Metrics

Register a new impact metric

Enterprise feature

Registers a new impact metric by pushing 0-values.

post/api/admin/impact-metrics/register

Request body

namestring required

The metric name. Must start with a letter or underscore and contain only alphanumerics, underscores or colons.

type'counter' | 'gauge' | 'histogram' required

The type of metric to register.

Example request

{
  "name": "checkout_completions",
  "type": "counter"
}

Response

This response has no body.

Changes

Changed in 1 of the 7 revisions of this API.1