Jetty 6.x server
Jetty 6.x server
Log Track Supported: Yes
Config Track Supported: No
Custom Properties Supported: None
Supported Control Actions: None
Supported Metrics:
| Name | Alias | Units | Category | Default On | Default Interval |
|---|---|---|---|---|---|
| Availability | Availability | percentage | AVAILABILITY | true | 5 min |
| Process Virtual Memory Size | ProcessVirtualMemorySize | B | UTILIZATION | false | 5 min |
| Process Resident Memory Size | ProcessResidentMemorySize | B | UTILIZATION | true | 5 min |
| Process Page Faults | ProcessPageFaults | none | UTILIZATION | false | 10 min |
| Process Page Faults per Minute | ProcessPageFaults1m | none | UTILIZATION | false | 10 min |
| Process Cpu System Time | ProcessCpuSystemTime | ms | UTILIZATION | false | 10 min |
| Process Cpu System Time per Minute | ProcessCpuSystemTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu User Time | ProcessCpuUserTime | ms | UTILIZATION | false | 10 min |
| Process Cpu User Time per Minute | ProcessCpuUserTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu Total Time | ProcessCpuTotalTime | ms | UTILIZATION | false | 10 min |
| Process Cpu Total Time per Minute | ProcessCpuTotalTime1m | ms | UTILIZATION | false | 10 min |
| Process Cpu Usage | ProcessCpuUsage | percentage | UTILIZATION | true | 5 min |
| Process Start Time | ProcessStartTime | epoch-millis | AVAILABILITY | false | 5 min |
| Process Open File Descriptors | ProcessOpenFileDescriptors | none | UTILIZATION | false | 5 min |
| Process Threads | ProcessThreads | none | UTILIZATION | false | 5 min |
| Loaded Class Count | LoadedClassCount | none | THROUGHPUT | false | 5 min |
| Total Loaded Class Count | TotalLoadedClassCount | none | THROUGHPUT | false | 5 min |
| Unloaded Class Count | UnloadedClassCount | none | THROUGHPUT | false | 5 min |
| Total Compilation Time | TotalCompilationTime | ms | THROUGHPUT | false | 10 min |
| Total Compilation Time per Minute | TotalCompilationTime1m | ms | THROUGHPUT | false | 10 min |
| Object Pending Finalization Count | ObjectPendingFinalizationCount | none | THROUGHPUT | false | 5 min |
| Collection Count | CollectionCount | none | THROUGHPUT | false | 10 min |
| Collection Count per Minute | CollectionCount1m | none | THROUGHPUT | false | 10 min |
| Collection Time | CollectionTime | none | THROUGHPUT | false | 10 min |
| Collection Time per Minute | CollectionTime1m | none | THROUGHPUT | false | 10 min |
| Collection Count | CollectionCount | none | THROUGHPUT | false | 10 min |
| Collection Count per Minute | CollectionCount1m | none | THROUGHPUT | false | 10 min |
| Collection Time | CollectionTime | none | THROUGHPUT | false | 10 min |
| Collection Time per Minute | CollectionTime1m | none | THROUGHPUT | false | 10 min |
| Thread Count | ThreadCount | none | UTILIZATION | false | 5 min |
| Daemon Thread Count | DaemonThreadCount | none | UTILIZATION | false | 5 min |
Configuration help:
Configure HQ for monitoring Jetty
1) Configure Jetty's JMX statistics collection follow the instructions on: Jetty JMX Stats configuration
2) Add this line to the top of the <jetty_home>/bin/jetty.sh file
JAVA_OPTIONS="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=6969 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false $JAVA_OPTIONS"
export JAVA_OPTIONS
General Log and Config Track Properties
- Enable Log Tracking - Check to enable log tracking.
- Track event log level - Only track events of level greater than or equal to this level. Order is: [Error, Warn, Info, Debug]
Mapping:- FATAL,ERROR -> Error
- WARN -> Warn
- INFO -> Info
- DEBUG -> Debug
- Log Pattern Match - Include messages that match the given regular expression. The given pattern can be a substring to look for in log messages or a regular expression. See: java.util.regex.Pattern.
- Log Pattern Exclude - Exclude messages that match the given regular expression.
- Log Files - Comma delimited list of log files to track. Relative files are resolved to ${installpath}.