A compute rule to compute metrics or timeseries. In the response, the result of each rule is keyed c0, c1, and so on, in the order of the compute list.

Hierarchy

  • RUMCompute

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any

An aggregation function. count counts events and needs no metric. cardinality counts the distinct values of the metric. sum, min, max, avg, median, and the percentiles (pc75 to pc99) apply to a numeric metric such as @view.loading_time.

interval?: string

The time buckets' size, for example 5m, 1h, or 1d (only used for type=timeseries). Defaults to a resolution of 150 points over the queried time range.

metric?: string

The attribute to aggregate, for example @view.loading_time. Required for all aggregations except count.

The type of compute. total returns one value per bucket. timeseries returns a list of time points per bucket.

Generated using TypeDoc