DVCS Stats - HTTP
DVCS, JIRA-STATS, JIRA 9.8.0
Intro
DVCS-HTTP stats 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 5 minute period of time and total - measuring from instance start.
DVCS-HTTP is focused on monitoring HTTP traffic which can be divided to two streams : Inbound stream (request which DVCS accept and process) and Outbound stream (requests which DVCS generates and sent).
Logged statistics
Every node logs statistics that describe information about inbound and outbound traffic. There are two types of statistics: Snapshot and Total. More detailed information can be found here: Jira stats logs.
Each stats starts with meta-data about stats itself - name, type (total/snapshot), timestamp and etc...
In this stats we are monitoring following subgroups :
To be more convenient stats will be split to two tables - inbound and outbound.
*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.
Inbound subgroup:
Parameter | Description | Recommended value |
---|---|---|
legacyHookCount | This metric will provide information if legacy webhooks are still used by customer. | N/A |
hookCount | All webhooks count which are accepted. | N/A |
pushHookInMillis | All webhooks describing "push" type events. | N/A |
pullHookInMillis | All webhooks describing "pull" type events. | N/A |
hookTopNRepositories | Provide top 10 (by default) repositories which generates highest amount of webhooks. | N/A |
legacyHookTopNRepositories | Provide top 10 (by default) repositories which generates legacy webhooks. | N/A |
Outbound subgroup:
Parameter | Description | Recommended value |
---|---|---|
requestToGitInMillis | All requests count and distribution by time in milliseconds. | N/A |
errorRequestToGitInMillis | All requests count with error response codes. Example - rate limit exceed, repository not found, unauthorised requests. | 0 |
repositoryRequestToGitInMillis | All requests count and distribution by times in ms executed on repository level. | N/A |
branchRequestToGitInMillis | All requests count and distribution by times in ms executed on branch level. | N/A |
commitRequestToGitInMillis | All requests count and distribution by times in ms executed on commit level. | N/A |
prRequestToGitInMillis | All requests count and distribution by times in ms executed on pull request level. | N/A |
repositoriesResponseSize | Metric providing count of repositories fetched for synchronisation. | N/A |
branchesResponseSize | Metric providing count of branches fetched for synchronisation. | N/A |
topNRepositories | Provide top 10 repositories generating outbound traffic in descending order. | N/A |
topNErrors | Provide top 15 most common errors which appear in descending order | N/A |
responseStatus | Provide top 15 most common response statuses in descending order | N/A |
dvcsTypes | Provide information about outbound traffic generated by dvcs types (git providers). | N/A |