The periodic
performance log file is a summary of each message performance from the start of
PMG or for the last period defined. The period is specified by the
pmg.perf.periodic.log.interval.milli.seconds property in the dcc.properties
file. The period is specified in milliseconds. If this property is not set in
the dcc.properties file, the default value of 3600000 (1 hour) is used.
For example, if the
period is set to 900000, which corresponds to 15 minutes, and the PMG starts at
2:03, the first log is printed at 2:18 and then at 2:33 and so on. The periodic
performance log files are output to the file "pmg-perf-periodic.csv", and are
stored in the directory
/rms/log/pmg. The periodic performance log file is in
csv format and begins with a header row followed by a performance summary for
each message.
An example of the
messages in the file for the period performance logs is shown below for 15
minute intervals:
2014-09-24T16:41:49.735Z,899,GetAllFRMPools,96,96,96,1,0,245,524,0,0
2014-09-24T16:41:49.736Z,899,GetAllFRMPoolTypes,113,118,108,2,0,424,1486,0,0
2014-09-24T16:41:49.737Z,899,GetAllFRMGroupTypes,447,767,272,3,0,642,8694,0,2
2014-09-24T16:41:49.737Z,899,GetAllFRMGroups,157,157,157,1,0,241,6914,0,2
2014-09-24T16:56:49.735Z,899,GetLiveData,145,145,145,1,0,606,283,0,0
2014-09-24T16:56:49.736Z,899,GetAllFRMPools,69,70,68,2,0,487,1047,0,0
2014-09-24T16:56:49.737Z,899,GetAllFRMPoolTypes,99,108,91,2,0,424,1486,0,0
2014-09-24T16:56:49.737Z,899,GetAllFRMGroupTypes,204,211,200,3,0,642,8694,0,2
2014-09-24T16:56:49.738Z,899,GetStoredData,259,271,248,2,0,448,35272,0,10
The headers for the
fields in the periodic performance summary file are described here:
- period end-the summary
period end timestamp in the ISO 8601 format. The timestamp is in the format
"YYYY-MM-DDThh:mm:ss.fffZ", where time is represented in milliseconds
-
summary period
sec-the time interval in milliseconds, for receiving the messages during
the summary period
-
msg name-the
message name received during the summary period
-
avg response time
ms-the average response time in milliseconds
-
max response time
ms-the maximum response time in milliseconds
-
min response time
ms-the minimum response time in milliseconds
-
num msgs-the
total number of messages received during the summary period
-
num errors-the
number of errors occurred during the summary period
To track the
performance of unknown messages, messages with XML parser errors and messages
that are not of XML content are also rolled up in the periodic performance
summary file.
Following are some of
the logging details for unknown messages:
- All unknown messages have
the message name as "Unknown".
- All message XMLs that fail
to parse have the message name as "XML Parse error".
- All messages that are not of
content type application/xml or text/xml have the message name as "Unknown
Content".
 Note |
The periodic
performance logs are maintained for five days on the Central node after which
they are removed from the Central node. Each periodic performance log file is
rotated after 12 am when the first log entry comes in or if the file size
exceeds 10 MB.
|