mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05:00
📎 Add bigger window for quantiles on metrics.
This commit is contained in:
parent
a81d20a2d1
commit
f8ccd0b120
1 changed files with 2 additions and 1 deletions
|
@ -155,11 +155,12 @@
|
|||
:dec (.. ^Gauge instance (labels labels) (dec)))))))
|
||||
|
||||
(defn make-summary
|
||||
[{:keys [name help registry reg labels] :as props}]
|
||||
[{:keys [name help registry reg labels max-age] :or {max-age 3600} :as props}]
|
||||
(let [registry (or registry reg)
|
||||
instance (doto (Summary/build)
|
||||
(.name name)
|
||||
(.help help)
|
||||
(.maxAgeSeconds max-age)
|
||||
(.quantile 0.75 0.02)
|
||||
(.quantile 0.99 0.001))
|
||||
_ (when (seq labels)
|
||||
|
|
Loading…
Reference in a new issue