Where we can find prometheus yaml file and where we need to edit ?

Bhargav Bhargav
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 14, 2019

I want configure prometheus exporter for jira to monitor in grafana

1 answer

1 vote
Rick Li
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 7, 2019

For the question where to find

  • Just FYI for starters, though I guess you have already found it. prometheus.yml is just in your install directory. Depends on where you install it. It can be /opt/prometheus/ or/etc/prometheus/
  • If you are using a docker install, it can put it anywhere. You need to mount it to docker container. 
docker run -p 9090:9090 -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml \
       prom/prometheus

 

 the question where you need to edit

  • The most important part is targets, you should edit it to point to your target server. metris_path should be edited, you can follow below setting If you are using Prometheus Exporter for Jira jira_prometheus_yml.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events