dfinity / exchange-rate-canister

The exchange rate canister (XRC) makes use of the HTTP requests feature to provide exchange rates as a service to the IC.
Apache License 2.0
37 stars 10 forks source link

feat: Update the monitor canister to contain a sampling schedule. #171

Closed dfinity-ryancroote closed 1 year ago

dfinity-ryancroote commented 1 year ago

This PR adds a sampling schedule to the monitor canister. For each entry in the schedule, the monitor canister will collect 1_000 entries.

The current schedule is set as follows:

  1. Every 1 minute
  2. Every 3 minutes
  3. Every 5 minutes
  4. Every 10 minutes