Create a document with details about the Jira Scheduler Stats

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Documentation - All
    • None
    • 2

      Issue summary

      As part of the solution from JRASERVER-62072 on Jira 9.11.0, a new Jira Stats was introduced, namely the Scheduler Stats.
      More about Jira stats on Jira stats logs.

      Below is a sample entry from the Scheduler Stats:

      2023-12-11 17:01:23,153-0300 Caesium-1-3 INFO ServiceRunner     [c.a.j.util.stats.JiraStats] [JIRA-STATS] [SchedulerStats] snapshot stats: duration=PT5M0.017S, statsOverhead=n/a, data={"_statsName":"SchedulerStats","_statsType":"snapshot","_time":"2023-12-11T20:01:23.152Z","_timestamp":1702324883152,"_duration":"PT5M0.017S","_invocations":745,"_statsOverhead":"n/a","jobFlow":{"takenFromQueue":124,"localBegin":50,"localStartedTooEarly":0,"localPreEnqueue":50,"localFailedSchedulingNextRun":0,"localPreLaunch":50,"localPostLaunch":50,"clusteredBegin":74,"clusteredSkipNoLongerExists":0,"clusteredSkipTooEarly":0,"clusteredSkipFailedToClaim":0,"clusteredPreEnqueue":74,"clusteredPreLaunch":74,"clusteredPostLaunch":74},"jobRunnerExecutions":{"successful":{"jobRunTimeMillis":{"count":124,"min":0,"max":2175,"sum":7319,"avg":59,"distributionCounter":{"100":113,"1000":9,"10000":2,"60000":0,"600000":0,"3600000":0,"36000000":0}},"jobIds":{"CompatibilityPluginScheduler.JobId.LEXO_RANK_SCHEDULER_JOB":5,"JiraPluginScheduler:LEXO_RANK_STATS_COLLECTOR_JOB":5,"LastAccessedTimeBatcherJob":5,"SettingsReloaderJob":5,"class com.atlassian.scheduler.core.util.JobRunnerRegistry:com.atlassian.cluster.monitoring.cluster-m... @2100337330":5,"com.atlassian.jira.cluster.ClusterTaskCleanupService":5,"com.atlassian.jira.cluster.service.ClusterStateCheckerJob":5,"com.atlassian.jira.internal.mail.services.MailProcessorJobRunner":5,"com.atlassian.jira.internal.mail.services.MailPullerJobRunner":5,"com.atlassian.jira.plugin.cluster.monitoring.internal.job.ApplicationStatusCollector":5}},"failed":{"jobRunTimeMillis":{"count":0,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{"100":0,"1000":0,"10000":0,"60000":0,"600000":0,"3600000":0,"36000000":0}},"jobIds":{},"reasons":{}}},"localRetryJob":{"scheduleCount":0,"scheduleReasons":{},"fatalSerializationErrorCount":0,"fatalSerializationErrors":{},"fatalSchedulingErrorCount":0,"fatalSchedulingErrors":{}},"clusterRecoveryJob":{"scheduledSuccessfully":{"count":0,"reasons":{}},"schedulingFailed":{"count":0,"reasons":{}},"completedSuccessfully":{"runNumber":{"count":0,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{"1":0,"2":0,"5":0}}}},"refreshClusterJobsDifference":{"count":1,"min":0,"max":0,"sum":0,"avg":0,"distributionCounter":{"-100":0,"-10":0,"-1":0,"0":1,"1":0,"10":0,"100":0}}}
      

      This specific stat doesn't have a KB article.

      Suggested solution

      To help configuring a monitoring solution based on this stats it would be helpful to have a KB article describing the Scheduler Stats, similar to what we already have to other stats.

            Assignee:
            Tomasz Prus (Inactive)
            Reporter:
            Thiago Masutti (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: