Skip to main content

Compute

POST 

/v2/metrics/

Compute a metric on a single datum.

Parameters:

  • metric: The metric name and arguments to compute.

Returns:

  • The computed metric value.

Raises:

  • HTTPException 400: If there is an error computing the metric.
  • HTTPException 500: If there is an error computing the metric.

Request

Body

required

    metric Metric (string)required
    kwargs objectrequired

Responses

Successful Response

Schema

    any

Loading...