LaunchMetricDefinitionObject

data class LaunchMetricDefinitionObject(val entityIdKey: String, val eventPattern: String? = null, val metricName: String, val unitLabel: String? = null, val valueKey: String)

Constructors

Link copied to clipboard
constructor(entityIdKey: String, eventPattern: String? = null, metricName: String, unitLabel: String? = null, valueKey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The JSON path to reference the entity id in the event.

Link copied to clipboard
val eventPattern: String? = null

Event patterns have the same structure as the events they match. Rules use event patterns to select events. An event pattern either matches an event or it doesn't.

Link copied to clipboard

A name for the metric. It can include up to 255 characters.

Link copied to clipboard
val unitLabel: String? = null

A label for the units that the metric is measuring.

Link copied to clipboard

The JSON path to reference the numerical metric value in the event.