mirror of
https://github.com/status-im/codimd.git
synced 2025-01-24 07:29:23 +00:00
09eb8556db
1. **/metrics/router** : exporting node.js/express Prometheus metrics by [prometheus-api-metrics](https://www.npmjs.com/package/prometheus-api-metrics) 2. **/metrics/codimd** : exporting codimd realtime status (/status) as Prometheus metrics Signed-off-by: tarlety <tarlety@gmail.com>
12 lines
539 B
Plaintext
12 lines
539 B
Plaintext
online_notes <%- onlineNotes %>
|
|
online_users <%- onlineUsers %>
|
|
distinct_online_users <%- distinctOnlineUsers %>
|
|
notes_count <%- notesCount %>
|
|
registered_users <%- registeredUsers %>
|
|
online_registered_users <%- onlineRegisteredUsers %>
|
|
distinct_online_registered_users <%- distinctOnlineRegisteredUsers %>
|
|
is_connection_busy <%- isConnectionBusy ? 1 : 0 %>
|
|
connection_socket_queue_length <%- connectionSocketQueueLength %>
|
|
is_disconnect_busy <%- isDisconnectBusy ? 1: 0 %>
|
|
disconnect_socket_queue_length <%- disconnectSocketQueueLength %>
|