Create Metric Definition

Creates a custom metric definition

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
applies_tolist of enumsRequired
The list of object types on which the metric can be applied.
Allowed values:
namestringRequiredformat: "text">=1 character<=64 characters
A unique human readable name of the metric.
descriptionstringOptionalformat: "text"<=1024 characters
Description of the purpose and operation of the metric.

Response

Success.
metric_definitionobject

Errors