https://github.com/cuba-platform/cuba-jm
CUBA app component that brings JavaMelody monitoring functionality
https://github.com/cuba-platform/cuba-jm
cuba-component cuba-platform javamelody monitoring
Last synced: 7 months ago
JSON representation
CUBA app component that brings JavaMelody monitoring functionality
- Host: GitHub
- URL: https://github.com/cuba-platform/cuba-jm
- Owner: cuba-platform
- License: apache-2.0
- Created: 2017-12-26T12:46:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-18T10:40:05.000Z (over 4 years ago)
- Last Synced: 2024-04-15T02:04:35.483Z (about 1 year ago)
- Topics: cuba-component, cuba-platform, javamelody, monitoring
- Language: Java
- Homepage:
- Size: 236 KB
- Stars: 4
- Watchers: 23
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CUBA JavaMelody Monitoring Integration Add-On
[](http://www.apache.org/licenses/LICENSE-2.0)
[](https://travis-ci.org/cuba-platform/cuba-jm)## Overview
The add-on adds an ability to use JavaMelody monitoring in CUBA-based
applications.JavaMelody: monitoring of JavaEE applications
[[GitHub](https://github.com/javamelody/javamelody/wiki)].
## Installation
The add-on can be added to your project in one of the ways described below. Installation from the Marketplace is the simplest way. The last version of the add-on compatible with the used version of the platform will be installed.
Also, you can install the add-on by coordinates choosing the required version of the add-on from the table.In case you want to install the add-on by manual editing or by building from sources see the complete add-ons installation guide in [CUBA Platform documentation](https://doc.cuba-platform.com/manual-latest/manual.html#app_components_usage).
### From the Marketplace
1. Open your application in CUBA Studio. Check the latest version of CUBA Studio on the [CUBA Platform site](https://www.cuba-platform.com/download/previous-studio/).
2. Go to *CUBA -> Marketplace* in the main menu.
3. Find the *JavaMelody* add-on there.

4. Click *Install* and apply the changes.
The add-on corresponding to the used platform version will be installed.### By Coordinates
1. Open your application in CUBA Studio. Check the latest version of CUBA Studio on the [CUBA Platform site](https://www.cuba-platform.com/download/previous-studio/).
2. Go to *CUBA -> Marketplace* in the main menu.
3. Click the icon in the upper-right corner.
4. Paste the add-on coordinates in the corresponding field as follows:
`com.haulmont.addon.cubajm:cuba-jm-global:`
where `` is compatible with the used version of the CUBA platform.
| Platform Version| Add-on Version|
|:------------- |:------------- |
| 7.2.x | 0.7.1 |
| 7.1.0 | 0.6.0 |
| 7.0.0 | 0.5.1 |
| 6.10.0 | 0.4.0 |
| 6.9.0 | 0.3.1 |
| 6.8.1 | 0.2.0 |
| 6.8.0 | 0.1.0 |5. Click *Install* and apply the changes. The add-on will be installed to your project.
## Configuration
1. Configure monitoring URLs with the `cubajm.monitoringUrl` application property. Default values are `/core-jm/` and `/web-jm/` for middleware and web tiers respectively;
2. Configure monitoring dashboard authorization credentials with `cubajm.authorizedUserLogin` & `cubajm.authorizedUserPassword` application properties. The default values are `admin`, `admin`;All described here application properties can also be found in the `JavaMelodyConfig` configuration interface.
## Usage
When the add-on is installed and configured you can access to the monitoring dashboard by the URL: `http://:///`.
Where:
1. `` and `` are the location of a tier that interests us;
2. `` is the name of the context of the tier;
3. `` equals to a value that is used for the
`cubajm.monitoringUrl` application property.**Pay attention**: trailing slash should be present in the URL.
### Example URLs for default settings:
1. [http://localhost:8080/app/web-jm/](http://localhost:8080/app/web-jm/) - web client monitoring
2. [http://localhost:8080/app-core/core-jm/](http://localhost:8080/app-core/core-jm/) - middleware monitoring**Pay attention**: in case of SingleWAR deployment the single monitoring dashboard is used for both middleware and web tiers. It's available by the monitoring URL configured for the middleware block.