Resource Consumption Event
data class ResourceConsumptionEvent(val nanoTime: Long = System.nanoTime(), val systemTimestamp: Long = System.currentTimeMillis(), val resourceTimestamp: Long? = null, val unit: String, val resource: String, val value: Double) : ResourceEvent
Defines an event describing an ad-hoc resource consumption.
Parameters
unit
The entity managing the reported resources
resource
The name of the resource
value
The value of the resource