Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
lmuntaner committed Oct 15, 2024
1 parent 97d4071 commit c039d39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internet_identity/src/http/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn encode_metrics(w: &mut MetricsEncoder<Vec<u8>>) -> std::io::Result<()> {
#[cfg(target_arch = "wasm32")]
w.encode_gauge(
"internet_identity_heap_memory_bytes",
(core::arch::wasm32::memory_size::<0>() * WASM_PAGE_SIZE_IN_BYTES) as f64,
(core::arch::wasm32::memory_size::<0>() as u64 * WASM_PAGE_SIZE_IN_BYTES) as f64,
"Size of the heap memory allocated by this canister.",
)?;
w.encode_gauge(
Expand Down

0 comments on commit c039d39

Please sign in to comment.