MetricDefinition

This structure defines a metric that is being used to evaluate the variations during a launch or experiment.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The entity, such as a user or session, that does an action that causes a metric value to be recorded.

Link copied to clipboard

The EventBridge event pattern that defines how the metric is recorded.

Link copied to clipboard
val name: String?

The name of the metric.

Link copied to clipboard

The label for the units that the metric is measuring.

Link copied to clipboard

The value that is tracked to produce the metric.

Functions

Link copied to clipboard
inline fun copy(block: MetricDefinition.Builder.() -> Unit = {}): MetricDefinition
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String