Protected
innerAdd another extra key to a RecordedEvent object.
The key to add.
The value of the key.
Sets this metrics value.
The value to set.
Validates that a given value is in the correct format for this metrics internal representation.
This function should only check for validations that would prevent a metric from being recorded.
The value to verify.
Whether or not validation was successful.
Static
Private
withGenerated using TypeDoc
The Metric class describes the shared behaviour amongst concrete metrics.
A concrete metric will always have two possible representations:
InternalRepresentation
PayloadRepresentation