Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

🚗 You set the rental price
🔐 Secure bookings with verified renters
📍 Track your vehicle with GPS integration
💰 Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

Grafana Tutorials: Display Jenkins Build Status on Grafana using prometheus?


Step – 1: Install Grafana server

Step – 2: Install Jenkins Server

Step – 3: Install prometheus Server?

Jenkins Prometheus Plugin expose an endpoint (default /prometheus) with metrics where a Prometheus Server can scrape.

  • https://www.devopsschool.com/blog/install-and-configure-prometheus-server-and-node-exporter-in-rhel/

Step – 4: Install jenkins plugins “Prometheus metrics”

Step – 5: Restart jenkins

Step – 6: Review Prometheus config at http://192.168.1.9:8080/configure but do not change

Step – 7: Validate all the jenkins metrics at http://192.168.1.9:8080/prometheus

Step – 8: Configure Prometheus for scrapping http://192.168.1.9:8080/prometheus

  • Edit prometheus.yaml
  • add follwing stanza

scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped from thi
s config.
  - job_name: "prometheus"

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
      - targets: ["localhost:9090"]
  - job_name: jenkins
    metrics_path: '/prometheus'
    static_configs:
    - targets: ['192.168.1.9:8080']
Code language: PHP (php)

Step – 8: Validate prometheus.yml file

$ ./promtool check config prometheus.yml

Step – 9: Restart prometheus services

Step – 10: Validate prometheus jenkins target at http://192.168.1.2:9090/targets?search=

Step – 11: Wait for 1 mins.

Step – 12: Vaidate all jenkins metrics at http://192.168.1.2:9090/graph using search

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x