mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 16:46:11 +02:00
⬇️ Downgrade prometheus client to 0.9.0.
Because it introduces some breaking changes.
This commit is contained in:
parent
1e25e543b3
commit
142086b2c3
5 changed files with 12 additions and 9 deletions
|
@ -80,7 +80,7 @@
|
|||
#'next.jdbc/execute!]
|
||||
{:registry registry
|
||||
:type :counter
|
||||
:name "database_query_count"
|
||||
:name "database_query_total"
|
||||
:help "An absolute counter of database queries."}))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
(str (:max-batch-size cfg)))
|
||||
(let [input (batch-events cfg (::events-ch session))
|
||||
mcnt (mtx/create
|
||||
{:name "http_session_updater_count"
|
||||
{:name "http_session_update_total"
|
||||
:help "A counter of session update batch events."
|
||||
:registry (:registry metrics)
|
||||
:type :counter})]
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
mtx-messages
|
||||
(mtx/create
|
||||
{:name "websocket_message_count"
|
||||
{:name "websocket_message_total"
|
||||
:registry (:registry metrics)
|
||||
:labels ["op"]
|
||||
:type :counter
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
{:registry registry
|
||||
:type :counter
|
||||
:labels ["name"]
|
||||
:name "tasks_submit_counter"
|
||||
:help "An absolute counter of task submissions."
|
||||
:name "tasks_submit_total"
|
||||
:help "A counter of task submissions."
|
||||
:wrap (fn [rootf mobj]
|
||||
(let [mdata (meta rootf)
|
||||
origf (::original mdata rootf)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue