Menu
Grafana Cloud

JIRA integration for Grafana Cloud

JIRA is a tool for planning, tracking, and releasing software. This integration focuses on showing overall health and utilization of a JIRA instance.

Use the walkthrough in Grafana Cloud to install the JIRA integration.

Requirements

This integration will only work for JIRA Server or JIRA Data Center instances. It will not work for JIRA Cloud. This is because the required Prometheus Exporter for JIRA cannot be installed on JIRA Cloud instances.

Pre-install configuration for the JIRA integration

In order for the integration to work, you must install the Prometheus Exporter for JIRA within your JIRA instance through the Atlassian Marketplace.

Installation Instructions for JIRA Server Instances

  1. Download the JIRA Prometheus Exporter Jar File by clicking on “Get It Now”
  2. In JIRA, open the settings drop down and click Managed Apps.
  3. Click Managed Apps on the left.
  4. Click Upload App and upload the jar file you downloaded.
  5. Add /plugins/servlet/prometheus/metrics to the url of your JIRA instance to ensure metrics are being populated.

Installation Instructions for JIRA Data Center Instances

  1. Download the JIRA Prometheus Exporter PRO Jar File by clicking on “Get It Now”
  2. Fill out your information to get a license key. Save this key.
  3. In JIRA, open the settings drop down and click on Managed Apps.
  4. Click Managed Apps on the left.
  5. Click Upload App and upload the jar file you downloaded.
  6. Add the license key to the app.
  7. Add /plugins/servlet/prometheus/metrics to the url of your JIRA instance to ensure metrics are being populated.

Post-install configuration for the JIRA integration

The following agent configuration defines a scrape job that pulls the metrics from a JIRA instance on localhost on the port defined in the example config above. If cAdvisor is running on a different host the address must be adjusted to match.

metrics:
  wal_directory: /tmp/wal
  configs:
    - name: integrations
      scrape_configs:
        - job_name: 'jira'
          scheme: http # Change to https if used
          metrics_path: '/plugins/servlet/prometheus/metrics'
          static_configs:
            - targets: ['localhost:8080'] # Change to JIRA's base URL
      remote_write:
        - url: http://cortex:9009/api/prom/push