RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.54k stars 10.57k forks source link

[IMPROVE] Hourly rocketchat_users metrics refresh rate #24433

Open matthias4217 opened 2 years ago

matthias4217 commented 2 years ago

Description:

The Prometheus metrics for rocketchat_users_* (rocketchat_users_active, rocketchat_users_active, rocketchat_users_away, rocketchat_users_non_active, rocketchat_users_offline, rocketchat_users_online and rocketchat_users_total) seem to be refreshed only once per hour. This may also be the case for the data displayed in the rocketchat administration panel.

Steps to reproduce:

Setup a Prometheus monitoring instance with Rocketchat

Expected behavior:

Other metrics, such as rocketchat_ddp_connected_users have a much faster refresh rate, which can be very useful. I would expect rocketchat_users_* to be refreshed in a similar way.

Actual behavior:

rocketchat_users_* is refreshed once per hour.

Server Setup Information:

ankar84 commented 2 years ago

Closely related to https://github.com/RocketChat/Rocket.Chat/issues/24223