Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find prometheus exporter for jira

akinadeyemo1
Contributor
April 21, 2020

Hi, I wanted to install plugin for prometheus exporter for Jira and Confluence but realised that I could not find it in "Manage Apps".

Could you please assist, I need to have it installed to monitor the metrics our Jira and confluence applications.

 

We run Jira 8.5.1 and Confluence 7.3.3

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2020
akinadeyemo1
Contributor
April 21, 2020

Thanks for your response but I meant I could not find it within the applications because I want to have it installed. Would you know how to install it when downloaded. I have got no instruction about this.

Thanks for helping out.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2020

Download the jar files for Prometheus for Jira and Prometheus for Confluence.

Then for Jira 

1. Go to cog wheel -> Manage apps:

Screenshot 2020-04-21 at 19.29.30.png2. Make sure that Manage apps is chosen in the vertical menu:

Screenshot 2020-04-21 at 19.30.27.png3. Push the upload app button:

Screenshot 2020-04-21 at 19.31.01.png4. Choose the jar for Prometheus for Jira and push the upload button

For Confluence read this instruction:

1. Go to cog wheel -> Manage apps:

Screenshot 2020-04-21 at 19.51.35.png

2. Make sure that the Manage apps vertical menu is chosen and use the upload app button to upload the Prometheus for Confluence jar file:

Screenshot 2020-04-21 at 19.54.10.png

Like akinadeyemo1 likes this
akinadeyemo1
Contributor
April 21, 2020

Thanks very much for your quick response. I have been able to successfully load the plugins into Jira and Confluence.

I will go ahead with further configurations and let you know how it goes, hopefully things will work out fine.

Thanks a million!!!.

 

Akin

akinadeyemo1
Contributor
April 21, 2020

Hi Alexey,

Please I have got one more issue, I have configured my prometheus.yml file but my prometheus service would not start. I have gone to the prometheus exporter GUI to find out the location of the metrics by clicking on Prometheus exporter for

jira->configure->exposed metrics are here->and then have the location of the metrics.

My configuration below

- job_name: 'jira'
scheme: https # change to http if don't you have https
metrics_path: 'https://jira.domain.server.bitcom/plugins/servlet/prometheus/metrics'
 static_configs:
 - targets: ['IP_Address:8081'] # Jira host and port you serve

 

I restarted prometheus service but service never started.

 

'Usually the jira url is always accessed through 

https://jira.domain.server.bitcom not through the IP_address:8081

as indicated above.

Before adding the job name above I was able to start prometheus without any issue but including the details to scrape jira metrics would not allow the service to start.

 

Can you advise please of proper configuration.

 

Thanks for your help.

 

AA

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2020

Hello @akinadeyemo1 ,

It would be better, if you created a separate question for your new question, in this case users with the same question would find the answer easier.

Answering your question:

metric_path should be like this:

metrics_path: '/plugins/servlet/prometheus/metrics'

You do not have to include the host and the port information in the metrics_path.

The target parameter you can provide 'IP_Address:8081' or just 'jira.domain.server.bitcom' 

Like Deenesh Sampath likes this
akinadeyemo1
Contributor
April 22, 2020

Thanks a lot, that answers my question. I will take to your advice next time to create a new topic. I had to do this just to call your prompt attention. Thanks for always helping.

I have done the solution you suggested but prometheus service still not starting. I am thinking I have to install nginx to enable me to use https to access the web page behind proxy instead of http which I have been using before.

 

Thanks for your help.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2020

You need to go to Prometheus -> Targets and have a look what the problem is. If your prometheus do not start then have a look at the error, why it is not started

Like akinadeyemo1 likes this
akinadeyemo1
Contributor
April 22, 2020

Thanks will do

Suggest an answer

Log in or Sign up to answer