<commit_before>= WildFly Monitor

image:https://travis-ci.org/rhq-project/wildfly-monitor.svg?branch=master["Build Status", link="https://travis-ci.org/rhq-project/wildfly-monitor"]

This is a module to be deployed into WildFlyAS and which then takes
measurements from the WildFly model and sends them to the RHQ-Metrics server

== Prerequisites

=== Wildfly 8.1.0

Get and install Wildfly 8.1.0: http://download.jboss.org/wildfly/8.1.0.Final/wildfly-8.1.0.Final.zip

It's currently been tested against WF 8.1.0 and the default server configuration (standalone-monitor.xml) is configured for WF 8.
But apart from that there should be no reason to not use it on WF 9.

Currently the location of the RHQ Metrics Server defaults to
http://localhost:8080 , which can be configured in `subsystem.xml` as shown below.

== Build & Install

Build the top level project:

----
$ mvn clean install
----

This will also create a wildfly-monitor-module.zip, that can be installed on Wildfly:

`unzip target/wildfly-monitor-module.zip -d $WILDFLY_HOME`

This will add an additional module that contains the monitor extension and subsystem:

`modules/system/layers/base/org/rhq/metrics/wildfly-monitor/`

== Package Contents

The following contents will be installed when you unpack the wildfly-monitor-module.zip:

`
 modules/system/layers/base/org/rhq/metrics/wildfly-monitor/main/module.xml (1)
 modules/system/layers/base/org/rhq/metrics/wildfly-monitor/main/*.jar (2)
 standalone/configuration/standalone-monitor.xml (3)
 domain/configuration/monitor-domain.xml (4)
 domain/configuration/monitor-host.xml (5)
`

. The module descriptor
. Required libraries to run the monitor on Wildfly
. An example configuration for standalone servers
. An example configuration for managed domains
. An example host configuration

## Server Configuration Profiles

The wildfly-monitor-module.zip server profiles for both standalone and domain mode that can be used to start a pre-configured Wildfly instance:

### Standalone Mode
<commit_msg>fix readme styles<commit_after>= WildFly Monitor

image:https://travis-ci.org/rhq-project/wildfly-monitor.svg?branch=master["Build Status", link="https://travis-ci.org/rhq-project/wildfly-monitor"]

This is a module to be deployed into WildFlyAS and which then takes
measurements from the WildFly model and sends them to the RHQ-Metrics server

== Prerequisites

=== Wildfly 8.1.0

Get and install Wildfly 8.1.0: http://download.jboss.org/wildfly/8.1.0.Final/wildfly-8.1.0.Final.zip

It's currently been tested against WF 8.1.0 and the default server configuration (standalone-monitor.xml) is configured for WF 8.
But apart from that there should be no reason to not use it on WF 9.

Currently the location of the RHQ Metrics Server defaults to
http://localhost:8080 , which can be configured in `subsystem.xml` as shown below.

== Build & Install

Build the top level project:

----
$ mvn clean install
----

This will also create a wildfly-monitor-module.zip, that can be installed on Wildfly:

`unzip target/wildfly-monitor-module.zip -d $WILDFLY_HOME`

This will add an additional module that contains the monitor extension and subsystem:

`modules/system/layers/base/org/rhq/metrics/wildfly-monitor/`

== Package Contents

The following contents will be installed when you unpack the wildfly-monitor-module.zip:

....
modules/system/layers/base/org/rhq/metrics/wildfly-monitor/main/module.xml (1)
modules/system/layers/base/org/rhq/metrics/wildfly-monitor/main/*.jar (2)
standalone/configuration/standalone-monitor.xml (3)
domain/configuration/monitor-domain.xml (4)
domain/configuration/monitor-host.xml (5)`
....

. The module descriptor
. Required libraries to run the monitor on Wildfly
. An example configuration for standalone servers
. An example configuration for managed domains
. An example host configuration

## Server Configuration Profiles

The wildfly-monitor-module.zip server profiles for both standalone and domain mode that can be used to start a pre-configured Wildfly instance:

### Standalone Mode

{'fraction_non_alphanumeric': 0.09322453016815034, 'fraction_numerical': 0.012858555885262116, 'mean_word_length': 4.407754010695188, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, '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': '7074229', 'n_tokens_mistral': 1227, 'n_tokens_neox': 1167, 'n_words': 420}