0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-08 07:50:43 -05:00

⬇️ Downgrade prometheus client to 0.9.0.

Because it introduces some breaking changes.
This commit is contained in:
Andrey Antukh 2021-03-17 10:29:51 +01:00 committed by Andrés Moya
parent 1e25e543b3
commit 142086b2c3
5 changed files with 12 additions and 9 deletions

View file

@ -24,12 +24,15 @@
com.taoensso/nippy {:mvn/version "3.1.1"}
com.github.luben/zstd-jni {:mvn/version "1.4.9-1"}
io.prometheus/simpleclient {:mvn/version "0.10.0"}
io.prometheus/simpleclient_hotspot {:mvn/version "0.10.0"}
io.prometheus/simpleclient_jetty {:mvn/version "0.10.0"
;; NOTE: don't upgrade to latest version, breaking change is
;; introduced on 0.10.0 that suffixes counters with _total if they
;; are not already has this suffix.
io.prometheus/simpleclient {:mvn/version "0.9.0"}
io.prometheus/simpleclient_hotspot {:mvn/version "0.9.0"}
io.prometheus/simpleclient_jetty {:mvn/version "0.9.0"
:exclusions [org.eclipse.jetty/jetty-server
org.eclipse.jetty/jetty-servlet]}
io.prometheus/simpleclient_httpserver {:mvn/version "0.10.0"}
io.prometheus/simpleclient_httpserver {:mvn/version "0.9.0"}
selmer/selmer {:mvn/version "1.12.33"}
expound/expound {:mvn/version "0.8.9"}

View file

@ -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."}))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View file

@ -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})]

View file

@ -55,7 +55,7 @@
mtx-messages
(mtx/create
{:name "websocket_message_count"
{:name "websocket_message_total"
:registry (:registry metrics)
:labels ["op"]
:type :counter

View file

@ -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)]