DVCS Stats - Message
Environment
Jira Data Center 9.8.0 and later
Intro
DVCS MESSAGE is statistic group, which inherit Jira-Stats behaviour and structure. It provides two logs in Jira log file (atlassian-jira.log) : snapshot measuring activity for 5min period of time and total - measuring from instance start.
DVCS MESSAGE is focused on monitoring internal event processing system. Each event is represented by message. Each message is sent to message queue, where stays until is consumed. While message waits to be consumed, it holds information about it status, which can be : PENDING, RUNNING, SLEEPING, DISCARDED or WAITING_FOR_RETRY.
Logged statistics
Each node logs statistics that describe the state message queue and most active repositories. There are two types of statistics: Snapshot and Total. More detailed information can be found here: Jira stats logs.
[DVCS-MESSAGE] Stats structure
Stats can be separated to two parts - metadata about stats itself and real statistic data.
Meta data about stats :
Statistic data provided by DVCS-MESSAGE :
In this stats we are monitoring following subgroups :
*It is hard to create standards for different stats
because it have dozens of dependencies:
DB type, Configuration, Hardware, OS, Organisation Size,
Repositories amount, Organisation amount, Commits,
Branches, HTTP traffic and many more.
Parameter | Description | Recommended value (if applicable) |
---|---|---|
messageProducedInMillis | Count of all produced messages and time to be produced and their distribution. | N/A Assumption → less than 100 ms |
messageConsumedInMillis | Count of all consumed messages and time to be consumed and their distribution. | N/A Assumption → less than 100 ms or less than messageProducedInMillis |
messageConsumedSuccessfullyInMillis | Count of all successfully consumed messages and time to be consumed and their distribution. | N/A |
messageConsumedWithErrorInMillis | Count of all not successfully consumed messages and time to be consumed and their distribution. | N/A |
dbMessageCount | All messages in Database. | 0 - no messages are waiting to be processed again, discarded or just pending. *If there are values in this stats group doesn't mean it is problem. Example : In case repository is disabled there will be messages in sleeping state. |
dbMessageCountByState | All messages in Database grouped by status. (Described statuses in Intro | All groups have value 0. |
dvcsTypesProducingMessages | Count of messages produced by each git provider. | |
topNRepositoriesProducingMessages | Presenting top 10 (by default) repositories with highest activity in descending order. It is visualised as "RepoName [OrganisationName]" |