[monitor] Add the monitor example.