This tool simplifies and standardizes forensic analysis of MDEX Engine performance. The Request Log Analyzer reads one or more MDEX Engine logs and reports on the nature and performance of the queries recorded in those logs. This kind of analysis is called "forensic" because it reports on what actually happened in the past, instead of reporting on potential performance or capacity planning for the future.
There are two main applications for this script. First, it can and should be run manually in order to debug performance problems. Second, it can and should be run on a regular basis, either standalone or as part of a control script, in order to continually monitor performance and call out trends in Dgraph traffic load, latency, throughput, and application behavior. The default behavior of this script (without flags) is meant to be sufficient for daily or weekly reports, while the options available to the developer via flags are meant to give enough flexibility and power to perform serious debugging.