<commit_before>![Logo](/docs/images/systemmonitor32.png) Monitoring plugin
=================

[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/monitoring.svg)](https://plugins.jenkins.io/monitoring)
[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/monitoring.svg?color=blue)](https://plugins.jenkins.io/monitoring)


[Monitoring plugin](https://plugins.jenkins.io/monitoring): Monitoring of the performance of Jenkins itself with [JavaMelody](https://github.com/javamelody/javamelody/wiki).

Open the [report](http://localhost:8080/monitoring) (or <http://yourhost/monitoring>) after installation.

Author : <NAME> (evernat at free.fr)

[License ASL](http://www.apache.org/licenses/LICENSE-2.0)

## Features summarized

* Charts of memory, cpu, system load average, http response times by day, week, month, year or custom period
* Statistics of http requests with mean response times, mean cpu times, mean response size by request and by day, week, month, year or custom period
* Errors and logs
* Current http requests
* Threads
* Heap histogram (instances and sizes by class)
* Http sessions
* Process list of OS
* MBeans
* Actions for GC, heap dump and invalidate session(s)
* Report in html or pdf
* In English, German, French, Portuguese, Italian, Czech, Ukrainian or Chinese
* Jenkins security
* For Jenkins slaves:
    * The [report](http://localhost:8080/monitoring/nodes) for the
        nodes is available at <http://yourhost/monitoring/nodes>
    * Charts aggregated for all nodes of memory, cpu, system load
        average, number of running builds, build queue length, build
        times by period
    * Detailed statistics of the build times and of the build steps by period
    * Threads, process list and MBeans for each nodes
    * Heap histogram aggregated for all nodes
* For each individual node (each node in <http://yourhost/computer>),
    reports and actions are available from the "Monitoring" page in the
    contextual menu or in the detail of the node:
    * Threads, process list, MBeans of that node only
    * Heap histogram of that node
    * Actions for GC, heap dump
* And more...

![Graphics](/docs/images/graphics.png)
![Statistics](/docs/images/statistics.png)
![System infos and threads](/docs/images/system_infos_and_threads.png)

[Online help of JavaMelody](https://github.com/javamelody/javamelody/wiki/resources/Online_help_of_the_monitoring.pdf)

Some [Monitoring scripts](https://github.com/jenkinsci/monitoring-plugin/blob/master/docs/MonitoringScripts.md) can be executed using the Jenkins Script Console.
The "Monitoring" plugin can be installed by point and click in the plugin manager of a Jenkins server, or it can be downloaded from <http://mirrors.jenkins-ci.org/plugins/monitoring/>.

You can contribute translations on [this website](https://poeditor.com/join/project/QIaCp4bThS).

## Release notes

#### Next release (master)

* added a graph in /monitoring/nodes of the sum of waiting durations in seconds of the builds in the build queue, next to the graph of the build queue length
    ([efa4d03](https://github.com/jenkinsci/monitoring-plugin/commit/efa4d0317122ed629190d7206a32a462a0228b5f))
* moved documentation from [wiki](https://wiki.jenkins.io/display/JENKINS/Monitoring) to [github](https://github.com/jenkinsci/monitoring-plugin/blob/master/README.md)

#### 1.79.0 (Jul 26, 2019)
<commit_msg>release 1.80.0<commit_after>![Logo](/docs/images/systemmonitor32.png) Monitoring plugin
=================

[![Jenkins Plugin](https://img.shields.io/jenkins/plugin/v/monitoring.svg)](https://plugins.jenkins.io/monitoring)
[![Jenkins Plugin Installs](https://img.shields.io/jenkins/plugin/i/monitoring.svg?color=blue)](https://plugins.jenkins.io/monitoring)


[Monitoring plugin](https://plugins.jenkins.io/monitoring): Monitoring of the performance of Jenkins itself with [JavaMelody](https://github.com/javamelody/javamelody/wiki).

Open the [report](http://localhost:8080/monitoring) (or <http://yourhost/monitoring>) after installation.

Author : <NAME> (evernat at free.fr)

[License ASL](http://www.apache.org/licenses/LICENSE-2.0)

## Features summarized

* Charts of memory, cpu, system load average, http response times by day, week, month, year or custom period
* Statistics of http requests with mean response times, mean cpu times, mean response size by request and by day, week, month, year or custom period
* Errors and logs
* Current http requests
* Threads
* Heap histogram (instances and sizes by class)
* Http sessions
* Process list of OS
* MBeans
* Actions for GC, heap dump and invalidate session(s)
* Report in html or pdf
* In English, German, French, Portuguese, Italian, Czech, Ukrainian or Chinese
* Jenkins security
* For Jenkins slaves:
    * The [report](http://localhost:8080/monitoring/nodes) for the
        nodes is available at <http://yourhost/monitoring/nodes>
    * Charts aggregated for all nodes of memory, cpu, system load
        average, number of running builds, build queue length, build
        times by period
    * Detailed statistics of the build times and of the build steps by period
    * Threads, process list and MBeans for each nodes
    * Heap histogram aggregated for all nodes
* For each individual node (each node in <http://yourhost/computer>),
    reports and actions are available from the "Monitoring" page in the
    contextual menu or in the detail of the node:
    * Threads, process list, MBeans of that node only
    * Heap histogram of that node
    * Actions for GC, heap dump
* And more...

![Graphics](/docs/images/graphics.png)
![Statistics](/docs/images/statistics.png)
![System infos and threads](/docs/images/system_infos_and_threads.png)

[Online help of JavaMelody](https://github.com/javamelody/javamelody/wiki/resources/Online_help_of_the_monitoring.pdf)

Some [Monitoring scripts](https://github.com/jenkinsci/monitoring-plugin/blob/master/docs/MonitoringScripts.md) can be executed using the Jenkins Script Console.
The "Monitoring" plugin can be installed by point and click in the plugin manager of a Jenkins server, or it can be downloaded from <http://mirrors.jenkins-ci.org/plugins/monitoring/>.

You can contribute translations on [this website](https://poeditor.com/join/project/QIaCp4bThS).

## Release notes

#### Next release (master)

#### 1.80.0 (Nov 3, 2019)

* After the [JavaMelody real case 1](RealCase1), the [real case 2](RealCase2) is an the investigation of a Java application with some very slow screens, with detailed explanation on monitoring metrics, statistics and found issues. And the [real case 3](RealCase3) on the investigation of why dozen of users are working extra-hours and of other issues. [#JavaMelodyRealCase](https://twitter.com/search?q=%23JavaMelodyRealCase)
* added a graph in /monitoring/nodes of the sum of waiting durations in seconds of the builds in the build queue, next to the graph of the build queue length
    ([efa4d03](https://github.com/jenkinsci/monitoring-plugin/commit/efa4d0317122ed629190d7206a32a462a0228b5f))
* moved documentation from [wiki](https://wiki.jenkins.io/display/JENKINS/Monitoring) to [github](https://github.com/jenkinsci/monitoring-plugin/blob/master/README.md)
* added new Prometheus metrics in .../monitoring?format=prometheus: used non-heap memory, used buffered memory, used physical memory, used swap space, loaded classes count (a704562).

#### 1.79.0 (Jul 26, 2019)

{'fraction_non_alphanumeric': 0.11039223615042458, 'fraction_numerical': 0.01819652244237768, 'mean_word_length': 4.703305149884704, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 25, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4951282', 'n_tokens_mistral': 2297, 'n_tokens_neox': 2119, 'n_words': 743}