Send "metric" event via IPC from setMetric method
Emit "milestone" event for certain metrics