Optional requestFactory: RumMetricsApiRequestFactoryOptional responseProcessor: RumMetricsApiResponseProcessorPrivate configurationPrivate requestPrivate responseThe request object
Optional options: ConfigurationDelete a specific RUM-based metric from your organization. Metric data that was already generated is not deleted. Deleting a metric cannot be undone.
The request object
Optional options: ConfigurationGet a specific RUM-based metric from your organization.
The metric_id is the metric name returned in data.id by ListRumMetrics and CreateRumMetric.
The request object
Optional options: ConfigurationGet the list of all RUM-based metrics configured for your organization, with their definitions.
The list is not paginated.
Metrics whose stored definition cannot be converted to the RUM format are omitted from the list.
To retrieve a single metric, use GetRumMetric.
Optional options: ConfigurationUpdate a specific RUM-based metric from your organization.
Only filter, group_by, and compute.include_percentiles can be updated. event_type, uniqueness, compute.aggregation_type, compute.path, and the metric name are immutable. To change them, delete the metric and create a new one.
Omitted attributes keep their current value. When provided, filter.query replaces the whole filter query (an empty query is ignored) and group_by replaces the whole list of group by rules.
data.id is required and must match the metric_id path parameter, otherwise the request returns a 409 Conflict error.
The request also returns a 409 Conflict error when compute.include_percentiles is set on a metric whose aggregation_type is not distribution.
Returns the updated RUM-based metric when the request is successful.
The request object
Optional options: ConfigurationGenerated using TypeDoc
Create a metric based on your organization's RUM data. The metric name is set in
data.id, is unique within your organization, and cannot be changed after creation. Theevent_type,compute, anduniquenesssettings cannot be changed after creation either. Onlyfilter,group_by, andcompute.include_percentilescan be changed withUpdateRumMetric.uniquenessis required whenevent_typeissessionorview, and must be omitted for any other event type. Whenaggregation_typeisdistribution,include_percentilesis required. When it iscount,include_percentilesandpathmust be omitted. Returns the created RUM-based metric when the request is successful. The request returns a409 Conflicterror if a metric with the same name already exists.