scrape_configs:
- job_name: ‘jira’
scheme: http
metrics_path: ‘/plugins/servlet/prometheus/metrics’
static_configs:
- targets: [‘INSERT_JIRA_IP_OR_DNS_NAME_HERE:8080’]
- job_name: ‘jira_scriptrunner_rest_endpoint’
scheme: http
metrics_path: ‘/rest/scriptrunner/latest/custom/getStaledIssues’
basic_auth:
username: ‘USERNAME’
password: ‘PASSWORD’
static_configs:
- targets: [‘INSERT_JIRA_IP_OR_DNS_NAME_HERE:8080’]