Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-73647

Time Series Metric Collection over HTTP/REST for Jira Mail Queue Observability

XMLWordPrintable

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      Jira Data Center does not have observability for mail queues running independently on different nodes. Monitoring and observability are not possible at all for the mail service job, it is not restarted in case of a failure and troubleshooting is very complicated in case of intermittent or node-specific problems.

      Suggested Solution:

      Implementing Prometheus compatible or similar HTTP/s and/or REST (JSON) endpoints to expose metric information on the nodes. Option to save the metrics in the Jira logs like performance metrics would be beneficial.

      Sample metrics for Mail Queue
      sent_emails_last5min
      error_emails_last5min
      sent_emails – Since the restart
      error_emails – Since the restart
      mail_queue_status - S/E/R Success Error Restart etc.

      Only available examples so far with limited information on mail queue:

      Current limited metrics provided by plug-in

      # HELP jira_mail_queue_gauge Mail Queue Gauge
      # TYPE jira_mail_queue_gauge gauge
      jira_mail_queue_gauge 0.0
      

      The described metrics for the Jira in this plug-in are essential for Jira observability and monitoring and future containerization requirements.

      Workaround

      none

              Unassigned Unassigned
              c55b673763fb Alper Firengiz
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: