mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-09 00:43:13 +00:00
Update codex/utils/statsummary.nim
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Ben Bierens <39762930+benbierens@users.noreply.github.com>
This commit is contained in:
parent
fa78e7ce9c
commit
d70af86d2a
@ -12,21 +12,9 @@ when defined(metrics):
|
||||
return
|
||||
|
||||
let timestamp = st.now()
|
||||
output(
|
||||
name = st.name & "_min",
|
||||
value = st.min,
|
||||
timestamp = timestamp
|
||||
)
|
||||
output(
|
||||
name = st.name & "_max",
|
||||
value = st.max,
|
||||
timestamp = timestamp
|
||||
)
|
||||
output(
|
||||
name = st.name & "_ravg",
|
||||
value = st.ravg,
|
||||
timestamp = timestamp
|
||||
)
|
||||
output(name = st.name & "_min", value = st.min, timestamp = timestamp)
|
||||
output(name = st.name & "_max", value = st.max, timestamp = timestamp)
|
||||
output(name = st.name & "_ravg", value = st.ravg, timestamp = timestamp)
|
||||
|
||||
proc declareStatSummary*(name: string, help: string = ""): StatSummary =
|
||||
when defined(metrics):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user