Merge "Add a sampling method to pull gauge when condition changes to true." into pi-dev