The Jeyzer Analyzer permits to generate JZR reports from the command line.
It takes a master profile and a JZR recording as inputs.
Command
To start the Jeyzer Analyzer execute the command jeyzer-analyzer.bat
or jeyzer-analyzer.sh
, located under the analyzer\bin
directory of your Jeyzer installation.
Prerequisites
These environment variables must be set to target the right profile :
JEYZER_TARGET_PROFILE
: the target master profileJEYZER_TARGET_NAME
: the application node name. Identifies the process instance.JEYZER_RECORD_DIRECTORY
: the Jeyzer snapshot recording directory to analyzeJEYZER_RECORD_PERIOD
: the recording period.
A good option is to create preset scripts (like for the Jeyzer demos).
Installation
Jeyzer Installer : Select the Jeyzer Analyzer Console component.
The Jeyzer Installer will guide you in the high level setup.
Check the quick_start.html
at the Jeyzer installation root : it contains useful paths.
Configuration
The principal parameters are set through environment variables defined in the
Parameters of interest are :
Variable | Description | Default value |
JEYZER_ANALYZER_TEAM_EMAIL_ENABLED | Indicates if the JZR report must be sent by email to the R&D team Email is configured within the master profile | false |
JEYZER_MONITOR_ANALYZER_STICKERS | The comma separated list of ambient stickers for the monitoring rules | code_quality, performance, security, environment, analysis |
JEYZER_TARGET_DESCRIPTION | The context description | Not available |
JEYZER_TARGET_ISSUER | The analysis source | Not available |
Jeyzer Analyzer configuration relies on :
- Analysis profile, part of the master profile
- JZR report
- Monitoring rules
Logging
Jeyzer Analyzer relies on the logback framework.
The analyzer-logback.xml
drives the console and file logging.
It is located in the analyzer/config/log
directory of your Jeyzer installation.
Logging is set to INFO by default, which is not invasive.
Logging settings can be changed at runtime (no need to restart).
Log file is generated under the recording directory which is by default :work/recordings/<application recording>/log
Outputs
Output locations are fully configurable.
The JZR report and related resources are generated by default in the work/recordings/<application recording>/analysis