|
Measures reported by CouchDBLogsTest
The CouchDB logs are a vast source of information related to errors and warnings that a CouchDB server encounters. Administrators use these log files not only to spot problem conditions, but also to troubleshoot them. By periodically scanning the CouchDB error log for errors/warnings, the CouchDBLogsTest promptly notifies administrators as soon as a new error/ warning error is logged in the file. Detailed diagnostics of the test clearly indicate what error it is and when it occurred, so as to aid troubleshooting efforts.
As messages keep getting logged in the log files, these log files grow large in size. If log file growth is left unchecked, it can consume all available space in the database. Administrators can effectively tracklog file growth and initiate measures to control it using the CouchDBLogsTest. The test reports the current size of the log files and their growth rate, and proactively alerts administrators if the rate of growth is abnormal.
Outputs of the test : One set of results for the target Apache CouchDB Server.
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| totalMessages |
Indicates the total number of messages in the log file. |
Number |
|
| alertCount |
Indicates the number the alert messages in the log file. |
Number |
|
| criticalCount |
Indicates the number of critical messages in the log file. |
Number |
Ideally, the value of this measure should be 0.
If a non-zero value is reported, you can use the detailed diagnosis of this measure to know what error occurred and when. |
| debugCount |
Indicates the number of debug messages in the log file. |
Number |
|
| emergencyCount |
Indicates the number of emergency messages in the log file. |
Number |
Ideally, the value of this measure should be 0.
If a non-zero value is reported, you can use the detailed diagnosis of this measure to know what error occurred and when. |
| infoCount |
Indicates the number of info messages in the log file. |
Number |
|
| errorCount |
Indicates the number of error messages in the log file. |
Number |
Ideally, the value of this measure should be 0.
If a non-zero value is reported, you can use the detailed diagnosis of this measure to know what error occurred and when. |
| noticeCount |
Indicates the number of notice messages in the log file. |
Number |
|
| warningCount |
Indicates the number of warning messages in the log file. |
Number |
Ideally, the value of this measure should be 0.
If a non-zero value is reported, you can use the detailed diagnosis of this measure to know what error occurred and when. |
| file_sizeMB |
Indicates the current size of the log file. |
MB |
|
| growth_Rate |
Indicates the rate at which the log file is growing. |
MB/second |
A high value for this measure or a consistent increase in its value indicates that the Apache CouchDB log is rapidly growing and may end up occupying too much space on the volume. |
|