The type of aggregation to use.
Allowed enum values: count,distribution
include_percentiles
boolean
Toggle to include or exclude percentile aggregations for distribution metrics.
Only present when the aggregation_type is distribution.
path
string
The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
event_type
enum
The type of RUM events to filter on.
Allowed enum values: session,view,action,error,resource,long_task,vital
filter
object
The rum-based metric filter. RUM events matching this filter will be aggregated in this metric.
query
string
The search query - following the RUM search syntax.
group_by
[object]
The rules for the group by.
path
string
The path to the value the rum-based metric will be aggregated over.
tag_name
string
Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
uniqueness
object
The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
when
enum
When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
Allowed enum values: match,end
id
string
The name of the rum-based metric.
type
enum
The type of the resource. The value should always be rum_metrics.
Allowed enum values: rum_metrics
default: rum_metrics
{"data":[{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"service:web* AND @http.status_code:[200 TO 299]"},"group_by":[{"path":"@http.status_code","tag_name":"status_code"}],"uniqueness":{"when":"match"}},"id":"rum.sessions.webui.count","type":"rum_metrics"}]}
The type of aggregation to use.
Allowed enum values: count,distribution
include_percentiles
boolean
Toggle to include or exclude percentile aggregations for distribution metrics.
Only present when the aggregation_type is distribution.
path
string
The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
event_type
enum
The type of RUM events to filter on.
Allowed enum values: session,view,action,error,resource,long_task,vital
filter
object
The rum-based metric filter. RUM events matching this filter will be aggregated in this metric.
query
string
The search query - following the RUM search syntax.
group_by
[object]
The rules for the group by.
path
string
The path to the value the rum-based metric will be aggregated over.
tag_name
string
Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
uniqueness
object
The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
when
enum
When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
Allowed enum values: match,end
id
string
The name of the rum-based metric.
type
enum
The type of the resource. The value should always be rum_metrics.
Allowed enum values: rum_metrics
default: rum_metrics
{"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"service:web* AND @http.status_code:[200 TO 299]"},"group_by":[{"path":"@http.status_code","tag_name":"status_code"}],"uniqueness":{"when":"match"}},"id":"rum.sessions.webui.count","type":"rum_metrics"}}
The type of aggregation to use.
Allowed enum values: count,distribution
include_percentiles
boolean
Toggle to include or exclude percentile aggregations for distribution metrics.
Only present when the aggregation_type is distribution.
path
string
The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
event_type
enum
The type of RUM events to filter on.
Allowed enum values: session,view,action,error,resource,long_task,vital
filter
object
The rum-based metric filter. RUM events matching this filter will be aggregated in this metric.
query
string
The search query - following the RUM search syntax.
group_by
[object]
The rules for the group by.
path
string
The path to the value the rum-based metric will be aggregated over.
tag_name
string
Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
uniqueness
object
The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
when
enum
When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
Allowed enum values: match,end
id
string
The name of the rum-based metric.
type
enum
The type of the resource. The value should always be rum_metrics.
Allowed enum values: rum_metrics
default: rum_metrics
{"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"service:web* AND @http.status_code:[200 TO 299]"},"group_by":[{"path":"@http.status_code","tag_name":"status_code"}],"uniqueness":{"when":"match"}},"id":"rum.sessions.webui.count","type":"rum_metrics"}}
The type of aggregation to use.
Allowed enum values: count,distribution
include_percentiles
boolean
Toggle to include or exclude percentile aggregations for distribution metrics.
Only present when the aggregation_type is distribution.
path
string
The path to the value the rum-based metric will aggregate on (only used if the aggregation type is a "distribution").
event_type
enum
The type of RUM events to filter on.
Allowed enum values: session,view,action,error,resource,long_task,vital
filter
object
The rum-based metric filter. RUM events matching this filter will be aggregated in this metric.
query
string
The search query - following the RUM search syntax.
group_by
[object]
The rules for the group by.
path
string
The path to the value the rum-based metric will be aggregated over.
tag_name
string
Eventual name of the tag that gets created. By default, the path attribute is used as the tag name.
uniqueness
object
The rule to count updatable events. Is only set if "event_type" is "sessions" or "views".
when
enum
When to count updatable events. "match" when the event is first seen, or "end" when the event is complete.
Allowed enum values: match,end
id
string
The name of the rum-based metric.
type
enum
The type of the resource. The value should always be rum_metrics.
Allowed enum values: rum_metrics
default: rum_metrics
{"data":{"attributes":{"compute":{"aggregation_type":"distribution","include_percentiles":true,"path":"@duration"},"event_type":"session","filter":{"query":"service:web* AND @http.status_code:[200 TO 299]"},"group_by":[{"path":"@http.status_code","tag_name":"status_code"}],"uniqueness":{"when":"match"}},"id":"rum.sessions.webui.count","type":"rum_metrics"}}