Jira 統計ログ

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

はじめに

Jira has a number of statistics written to the primary Jira log file (atlassian-jira.log*). These are logs which contain aggregated information of what is happening in Jira, which is expensive to log for every event, but may be very useful when determining how crucial Jira modules (like: indexing, index propagation, node to node communication,  DB access, IO) are performing.  

By default Jira is logging stats every 5 minutes. These logs may have different formats but share the same concepts:

  • total stats - These are statistics gathered from the time the Jira instance was started up. Usually you want to check the last "total" statistics for a given feature to have a general overview of how things are performing
  • snapshot - These are the statistics gathered for every snapshot which normally covers a five-minute period (please see below how this time interval can be configured using a new property introduced in Jira 8.16). Usually when you find some values which need more investigation in "total" stats, you will try to find the "snapshot" were the interesting event happened. This will narrow down the search for the problematic event to a five-minute period.

Types of stats logs

Note that Jira stats are being added incrementally since JIRA 8.0The list below describes the latest set of available statistics.

It is also important to note that starting with JIRA 8.16 all statistic logs have a common prefix, which can be identified as [JIRA-STATS].

Stats prefix説明利用可能バージョンさらに読む
[LOCALQ] [VIA-INVALIDATION]Stats related to replicating messages from caches replicated via invalidation


  • LOCALQ since JIRA 7.9
  • VIA-INVALIDATION since JIRA 8.12
  • topN caches metric since JIRA 8.13.4


キャッシュ レプリケーションの監視

[LOCALQ] [VIA-COPY]Stats related to replicating messages from caches replicated via copy


  • LOCALQ since JIRA 7.9
  • VIA-COPY since JIRA 8.12
  • topN caches metric since JIRA 8.13.4


[DBR] [SENDER]Stats from the process generating DBR messages. This is just after we produced the document and before we put it into Lucene. And before it sends the message to LocalQ.

Jira 8.12

Jira Data Center でのドキュメントベースのレプリケーション


[DBR] [RECEIVER]Stats from the process receiving DBR messages from other nodes though the network. It will store those messages to Lucene right away.

Jira 8.12

[VERSIONING]Stats related to issue, comments and worklog versioning. Measures the impact of the extra DB calls for do the maintenance of the versions for the issue, comments and worklog.

Jira 8.10


[index-writer-stats]

Write operations for the indexer (aka Lucene). Placing the created Docs into the Lucene (disk).

Jira produces the documents in the different places and places them into the Queue, then single thread process Queue and the writing docs to the index (this will be conditional update).

Jira 8.10

[indexing-stats]Stats focusing on the cost of producing the CustomField values (aka FieldIndexers).

Jira 8.1

Indexing Stats - cost of indexing custom fields
[lucene-stats]

Measure the Lucene index flush (not related to commit), including Lucene buffer. During foreground indexing index flushes are only caused by Lucene buffer overflow. Opening new searchers requires the flush operation.

Jira 8.0

JIRA Indexing Performance and Lucene maxrambuffermb
[INDEX-REPLAY] [STATS]Node Index Replay is the process responsible for replaying index operation from other nodes.

Jira 8.10


[replication-stats]

Stats measuring the latency of replaying index operations from other nodes.

Jira 8.8


[plugin-transaction]Stats related to how plugin lifecycle events are triggering cache resets.

Jira 8.2

JRASERVER-64908 - 課題詳細を取得中... ステータス

[OFBIZ-PROPERTY-ENTRY-STORE-STATS]Stats related to accessing the common property store cache.

Jira 8.14

JRASERVER-70519 - 課題詳細を取得中... ステータス

[INDEX-FIXER]Stats related to the server component responsible for making sure the index is consistent.

Jira 8.12


[INDEXING-QUEUE]Stats about the state to the indexing queue. This is the part of Jira between the threads building issue (and comments, worklogs, ...) Lucene documents and adding/updating the local index with those documents.

JIRA 8.16 / JIRA 8.13.6

Jira Indexing Queue
[JIRA-RMI-AUTH]Stats related to the Jira Data Center cluster authentication for node-to-node cache replication RMI connection creation.

JIRA 8.17 / JIRA 8.13.8 / JIRA 8.5.16

Jira Data Center クラスター認証

[index-searcher-stats]Stats related to Lucene's index searchers (searching and creating searchers).

Jira 8.19


[UserSearchServiceStats]Stats related to find top mentionable & assignable searcher.

Jira 8.19.1

JIRA stats logs - top mentionable & assignable users stats

Mentionable & assignable users - tips & tricks

[LOGIN-STATS]

[LOGIN-STORE-STATS]

[GROUP-DAO-STATS]

Stats related to user log-in.

Jira 8.22.0

ユーザーログインの Jira Stats 記録

[INDEXING-LIMITS]

Stats related to safeguards in indexing issue-related entities.

JIRA 8.22.2 / 

JIRA 9.0.1 / 

Jira 9.1.0

Jira indexing-limits stats

Troubleshooting performance with Jira Stat

Please review the related KB article to check how stats-logs (metrics) can be used to troubleshoot different performance problems: Troubleshooting performance with JIRA Stats

Statistics Interval Configuration

The below new property was introduced in JIRA 8.16 and allows to change the time the statistics are taken and written to the Jira log files.

We strongly recommend to leave the stats frequency as per its default  shown below. Since Jira 8.16 the period can be configured via a system property and changed to: 15, 30 or 60 minutes.

-Dcom.atlassian.jira.stats.logging.interval=interval5min (default)
-Dcom.atlassian.jira.stats.logging.interval=interval15min
-Dcom.atlassian.jira.stats.logging.interval=interval30min
-Dcom.atlassian.jira.stats.logging.interval=interval60min

(warning) Note that this system property has to be set on every node and it requires a rolling restart of all nodes.



最終更新日 2022 年 4 月 20 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する

このセクションの項目

Powered by Confluence and Scroll Viewport.