21
Monitoring your Jenkins Deployment almtoolbox.com Tamir Gefen ALMtoolbox CEO David Cohen Product Manager

How to Monitor Performance of your Jenkins Deployment

Embed Size (px)

Citation preview

Page 1: How to Monitor Performance of your Jenkins Deployment

Monitoring your Jenkins Deployment

almtoolbox.comTamir GefenALMtoolbox CEO

David CohenProduct Manager

Page 2: How to Monitor Performance of your Jenkins Deployment

2

Selected Customers

Page 3: How to Monitor Performance of your Jenkins Deployment

Agenda

Why monitoring?

The monitoring challenges

Which components you should monitor on Jenkins

What metrics you should be tracking on Jenkins

Introducing ALM Vitality

Q&A

Page 4: How to Monitor Performance of your Jenkins Deployment

Monitoring: Why?

Mission: deliver faster and get

better quality

Page 5: How to Monitor Performance of your Jenkins Deployment

Monitoring: Why?

Verify 100% working system

Gain better control over the system

Identify problems when they small

Identify resources bottlenecks

Get root cause reasons

Single source of truth

The base for making decisions

DevOps best practices…

Page 6: How to Monitor Performance of your Jenkins Deployment

The Monitoring Challenges

1. Defining what components and metrics to monitor

2. Lack of time or knowledge (or both…)

3. End-user interface (UI)

4. Scalable system

5. Customizable and flexible system

6. Consolidate both IT and application data

Page 7: How to Monitor Performance of your Jenkins Deployment

Jenkins Components

Physical \ virtual hosts

Masters \ slaves

Queues, executors, jobs

IT resources (Memory, CPU, network, storage etc.)

Web application

JAVA (JVM)

etc…

Page 8: How to Monitor Performance of your Jenkins Deployment

Metrics and KPIs

Application: queues, executors, jobs

IT resources (memory, CPU, storage etc.)

Page 9: How to Monitor Performance of your Jenkins Deployment

Introducing ALM Vitality

Page 10: How to Monitor Performance of your Jenkins Deployment

Components and Metrics to Track

1. Stuck jobs and dependencies

2. Jenkins web application 

3. Java virtual machine

Application Side:

Jenkins Logo CC-BY-SA 3.0 Made by Jenkins Project http://jenkins-ci.org

Page 11: How to Monitor Performance of your Jenkins Deployment

Settings Application

Page 12: How to Monitor Performance of your Jenkins Deployment

Application Side:

Stuck Jobs Notification

Page 13: How to Monitor Performance of your Jenkins Deployment

Email Notifications

Page 14: How to Monitor Performance of your Jenkins Deployment

Components and Metrics to Track (2)

4. Host alive

5. Jenkins service \ process

6. Port is listening

7. Storage capacity

IT Resources:

Page 15: How to Monitor Performance of your Jenkins Deployment

ALM Vitality v1.2

Download :[email protected]

Page 16: How to Monitor Performance of your Jenkins Deployment

Components and Metrics to Track (3)

8. Masters and slaves connectivity

9. Amount of online executors  

10.Queue is too long

11. Extended display of job dependencies

Application Side:

Page 17: How to Monitor Performance of your Jenkins Deployment

Components and Metrics to Track (4)

12. Lack of memory

13. Lack of CPU

IT Resources:

Page 18: How to Monitor Performance of your Jenkins Deployment

Summary

Defining what components and metrics to monitor

Lack of time or knowledge (or both…)

End-user interface

Scalable system

Customizable and flexible system

Merge both IT and application data

Page 19: How to Monitor Performance of your Jenkins Deployment

Questions?

Page 21: How to Monitor Performance of your Jenkins Deployment

ClearCase VOBs