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
- Download the JIRA Prometheus Exporter Jar File by clicking on “Get It Now”
- In JIRA, open the settings drop down and click Managed Apps.
- Click Managed Apps on the left.
- Click Upload App and upload the jar file you downloaded.
- 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
- Download the JIRA Prometheus Exporter PRO Jar File by clicking on “Get It Now”
- Fill out your information to get a license key. Save this key.
- In JIRA, open the settings drop down and click on Managed Apps.
- Click Managed Apps on the left.
- Click Upload App and upload the jar file you downloaded.
- Add the license key to the app.
- 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