Builder

class Builder

Properties

Link copied to clipboard

This field is a map of field paths to dimension names. It defines the dimensions to associate with this metric in CloudWatch The value of this field is used only if the metric destination is CloudWatch. If the metric destination is Evidently, the value of DimensionKeys is ignored.

Link copied to clipboard

The pattern that defines the metric. RUM checks events that happen in a user's session against the pattern, and events that match the pattern are sent to the metric destination.

Link copied to clipboard

The ID of this metric definition.

Link copied to clipboard
var name: String?

The name of the metric that is defined in this structure.

Link copied to clipboard

If this metric definition is for a custom metric instead of an extended metric, this field displays the metric namespace that the custom metric is published to.

Link copied to clipboard

Use this field only if you are sending this metric to CloudWatch. It defines the CloudWatch metric unit that this metric is measured in.

Link copied to clipboard

The field within the event object that the metric value is sourced from.