This adds the parsing of a second event, MedianUpdated (from SortedOracles), which acts as a health check/heartbeat for the cloud function, as it's a frequently emitted event that can serve as an indicator of quicknode working properly.
The parsing of the event results in a single console.log of the action, which will then be used for creating a metric on Google Cloud Monitoring around how many heartcheck logs are present in a given timespan.
This adds the parsing of a second event, MedianUpdated (from SortedOracles), which acts as a health check/heartbeat for the cloud function, as it's a frequently emitted event that can serve as an indicator of quicknode working properly.
The parsing of the event results in a single console.log of the action, which will then be used for creating a metric on Google Cloud Monitoring around how many heartcheck logs are present in a given timespan.