Updated monitoringSample with 2.0.1 framework