Skip to content

Commit

Permalink
fix: query stats: make members public (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dfinity-skaestle authored Jan 11, 2024
1 parent fbacb22 commit c01fc17
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/ic-cdk/src/api/management_canister/main/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,14 @@ pub struct DefiniteCanisterSettings {
CandidType, Clone, Debug, Deserialize, Eq, Hash, Ord, PartialEq, PartialOrd, Serialize,
)]
pub struct QueryStats {
num_calls_total: candid::Nat,
num_instructions_total: candid::Nat,
request_payload_bytes_total: candid::Nat,
response_payload_bytes_total: candid::Nat,
/// Total number of query calls.
pub num_calls_total: candid::Nat,
/// Total number of instructions executed by query calls.
pub num_instructions_total: candid::Nat,
/// Total number of payload bytes use for query call requests.
pub request_payload_bytes_total: candid::Nat,
/// Total number of payload bytes use for query call responses.
pub response_payload_bytes_total: candid::Nat,
}

/// Argument type of [canister_status](super::canister_status).
Expand Down

0 comments on commit c01fc17

Please sign in to comment.