EosMetrics.EventRecorder.prototype.start_aggregate_timer

function start_aggregate_timer(event_id: String, auxiliary_payload: GLib.Variant): EosMetrics.AggregateTimer {
    // Gjs wrapper for emtr_event_recorder_start_aggregate_timer()
}
  

Requests the metrics daemon to create an aggregate timer.

event_id

an RFC 4122 UUID representing the type of event that took place

auxiliary_payload

miscellaneous data to associate with the events. Must not contain maybe variants as they are not compatible with D-Bus.

Returns

a EosMetrics.AggregateTimer