Closed Dfinity-skaestle closed 7 months ago
Dear @Dfinity-skaestle,
In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA.
If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged.
— The DFINITY Foundation
Overview With query stats, developers gain insights into the use of query calls in their canister. This has previously been difficult, since no state can be persisted when executing query calls.
This example shows how to use the canister status to gain access to query statistics. It also shows how to use a timer to periodically query them and calculate rates for query metrics.